Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar

This commit is contained in:
Simon McVittie 2007-05-08 17:07:44 +01:00
commit 0d1b2bef13
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ def create_activity_id():
found = False
activities = pservice.get_activities()
for act in activities:
if act_id == act.get_id():
if act_id == act.props.id:
found = True
break
if not found:

View File

@ -92,7 +92,7 @@ class ChunkedGlibHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
if self._file:
self._srcid = gobject.io_add_watch(self.wfile, gobject.IO_OUT | gobject.IO_ERR, self._send_next_chunk)
else:
f.close()
self._file.close()
self._cleanup()
def _send_next_chunk(self, source, condition):