summaryrefslogtreecommitdiff
path: root/doc/examples/gui-inst.py
diff options
context:
space:
mode:
authorBen Finney <ben@benfinney.id.au>2008-05-16 18:04:01 +1000
committerBen Finney <ben@benfinney.id.au>2008-05-16 18:04:01 +1000
commit0d12af28d4de2745f8831abf0224ceabec693b76 (patch)
tree01f46a2739eebc6676fc70a6ba93a69121e1bea6 /doc/examples/gui-inst.py
parentad7bc46acd80451de21ce58450edb0f4367a5c79 (diff)
downloadpython-apt-0d12af28d4de2745f8831abf0224ceabec693b76.tar.gz
Fix spaces adjacent to commas and operators, to conform with PEP 8.
Diffstat (limited to 'doc/examples/gui-inst.py')
-rwxr-xr-xdoc/examples/gui-inst.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/examples/gui-inst.py b/doc/examples/gui-inst.py
index edaec455..61db63f8 100755
--- a/doc/examples/gui-inst.py
+++ b/doc/examples/gui-inst.py
@@ -32,7 +32,7 @@ class GuiFetchProgress(gtk.Window, FetchProgress):
self.label.show()
self.vbox.pack_start(self.progress)
self.vbox.pack_start(self.label)
- self.resize(300,100)
+ self.resize(300, 100)
def start(self):
print "start"
@@ -64,15 +64,15 @@ class TermInstallProgress(InstallProgress, gtk.Window):
self.term.show()
# check for the child
self.reaper = vte.reaper_get()
- self.reaper.connect("child-exited",self.child_exited)
+ self.reaper.connect("child-exited", self.child_exited)
self.finished = False
box.pack_start(self.term)
self.progressbar = gtk.ProgressBar()
self.progressbar.show()
box.pack_start(self.progressbar)
- def child_exited(self,term, pid, status):
- print "child_exited: %s %s %s %s" % (self,term,pid,status)
+ def child_exited(self, term, pid, status):
+ print "child_exited: %s %s %s %s" % (self, term, pid, status)
self.apt_status = posix.WEXITSTATUS(status)
self.finished = True