diff options
author | Alvaro Neira Ayuso <aneira@soleta.eu> | 2019-12-13 11:47:31 +0100 |
---|---|---|
committer | Alvaro Neira Ayuso <alvaroneay@gmail.com> | 2020-01-19 19:50:44 +0100 |
commit | 7548870a923db820380d352f65ff2e05de2ef65d (patch) | |
tree | 1cf97dfb60f51c1510f7b0591f561f4930b9c162 /main.py | |
parent | 4ad2759e55f3038cd4680d213c8b59bb135d98b4 (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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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')
|