1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 12:28:08 +01:00

2to3 transformation

This commit is contained in:
Guido Maria Serra
2019-08-12 17:00:19 +02:00
parent 49523ed2bd
commit 681beb13b1
27 changed files with 541 additions and 543 deletions

View File

@@ -25,16 +25,16 @@ HAS_NOTIFY = True
try:
import pynotify
if not pynotify.init("Wicd"):
print 'Could not initalize pynotify'
print('Could not initalize pynotify')
HAS_NOTIFY = False
except ImportError:
print "Importing pynotify failed, notifications disabled."
print("Importing pynotify failed, notifications disabled.")
HAS_NOTIFY = False
print "Has notifications support", HAS_NOTIFY
print("Has notifications support", HAS_NOTIFY)
if wpath.no_use_notifications:
print 'Notifications disabled during setup.py configure'
print('Notifications disabled during setup.py configure')
def can_use_notify():