mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 12:28:08 +01:00
2to3 transformation
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user