[gnome-music/wip/merge: 14/343] correct syntax error
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 14/343] correct syntax error
- Date: Thu, 25 Jul 2013 11:14:41 +0000 (UTC)
commit 796a20f02c0a3df891236d5dbaef6d2486397812
Author: Shivani Poddar <shivani poddar92 gmail com>
Date: Sat Jul 13 12:30:51 2013 +0530
correct syntax error
shivani shivani:~/gnome-music-python/gnome-music$ python3 application.py
File "application.py", line 19
if(!self._window):
^
SyntaxError: invalid syntax
gnome-music/application.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-music/application.py b/gnome-music/application.py
index 8854f2c..b506529 100644
--- a/gnome-music/application.py
+++ b/gnome-music/application.py
@@ -16,7 +16,7 @@ class Application(Gtk.Application):
Gtk.Application.startup(self)
def do_activate(self):
- if(!self._window):
+ if(self._window == null):
self._window = Window(self)
self._window.present()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]