aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ventoo/main.py')
-rw-r--r--src/ventoo/main.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ventoo/main.py b/src/ventoo/main.py
index badf447..e0e060d 100644
--- a/src/ventoo/main.py
+++ b/src/ventoo/main.py
@@ -179,7 +179,7 @@ class MainWindow(gtk.Window):
augeas_utils.makeDiffTree(self.a, augeas_utils.getDiffRoot())
diffFiles = [self.currentConfigFilePath, augeas_utils.getDiffLocation(self.a, self.currentConfigFilePath)]
if not osp.isfile(diffFiles[1]):
- print "Could not find a diff file...were changes made?"
+ print("Could not find a diff file...were changes made?")
else:
origFile = open(diffFiles[0])
origList = file.readlines(origFile)
@@ -332,7 +332,7 @@ class MainWindow(gtk.Window):
p = osp.join(augeasFileRoot, child.tag)
if have+numNeeded > 1:
p = p + '[' + str(i) + ']'
- print 'added ' + p + ' to augeas'
+ print('added ' + p + ' to augeas')
self.a.set(p, '')
toAddtoHave += 1
have += toAddtoHave
@@ -402,13 +402,13 @@ if __name__ == '__main__':
if len(sys.argv) > 1:
sandboxDir = sys.argv[1]
if not osp.isdir(sandboxDir):
- print sandboxDir + " is not a directory."
+ print(sandboxDir + " is not a directory.")
sys.exit(0)
- print 'Starting augeas...'
+ print('Starting augeas...')
#None could be a 'loadpath'
a = augeas.Augeas(sandboxDir, None, augeas.Augeas.SAVE_NEWFILE)
- print 'Creating window...'
+ print('Creating window...')
if sandboxDir == '/':
pass