From 15eb6949cebc959ca2db231cd206816a17589b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ram=C3=B3n=20M=2E=20G=C3=B3mez?= Date: Mon, 18 Jun 2018 20:47:35 +0200 Subject: [PATCH] #750: Using PEP 8 Style Guide for Python in new module; implementing basic {{{getconfig}}} operation. --- oglive/build-packages.sh | 11 ----------- src/opengnsys/operations.py | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100755 oglive/build-packages.sh diff --git a/oglive/build-packages.sh b/oglive/build-packages.sh deleted file mode 100755 index 4d5eb8d..0000000 --- a/oglive/build-packages.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -cd $(dirname "$0") -top=`pwd` - -[ -r ../src/VERSION ] && VERSION="$(cat ../src/VERSION)" || VERSION="1.1.0" -RELEASE="1" - -# Debian based -dpkg-buildpackage -b -d - diff --git a/src/opengnsys/operations.py b/src/opengnsys/operations.py index 4bba806..2798cb1 100644 --- a/src/opengnsys/operations.py +++ b/src/opengnsys/operations.py @@ -49,7 +49,7 @@ else: if os.path.exists('/scripts/oginit'): from .oglive.operations import * # @UnusedWildImport os_type = 'ogLive' - os_version = get_oglive_version().replace(',', '') + os_version = get_oglive_version() else: from .linux.operations import * # @UnusedWildImport os_type = 'Linux'