summaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
authorAlvaro Neira Ayuso <aneira@soleta.eu>2019-12-13 11:47:31 +0100
committerAlvaro Neira Ayuso <alvaroneay@gmail.com>2020-01-19 19:50:44 +0100
commit7548870a923db820380d352f65ff2e05de2ef65d (patch)
tree1cf97dfb60f51c1510f7b0591f561f4930b9c162 /main.py
parent4ad2759e55f3038cd4680d213c8b59bb135d98b4 (diff)
Port program to Python 3
Python 2.7 will be deprecated in January of 2020. So, we need to have the program with a supported api.
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index 66b451f..c021219 100644
--- a/main.py
+++ b/main.py
@@ -4,7 +4,7 @@ from src.ogConfig import *
def main():
ogconfig = ogConfig()
if (not ogconfig.parserFile('cfg/ogagent.cfg')):
- print 'Error: Parsing configuration file'
+ print ('Error: Parsing configuration file')
return 0
ip = ogconfig.getValueSection('opengnsys', 'ip')