Skip to content

Commit

Permalink
remove duplicate {status:"done"} message in auto_update
Browse files Browse the repository at this point in the history
  • Loading branch information
rfk committed May 25, 2011
1 parent 875bb38 commit fd9c572
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion esky/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,6 @@ def auto_update(self,callback=None):
self.cleanup_at_exit()
if got_root:
self.drop_root()
callback({"status":"done"})

def _do_auto_update(self,version,callback):
"""Actual sequence of operations for auto-update.
Expand Down
2 changes: 1 addition & 1 deletion esky/bdist_esky/pypy_libpython.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
esky.bdist_esky.pypy_libpython: load python DLL into pypy bootstrap exe
esky.bdist_esky.pypy_libpython: load python DLL into pypy bootstrap exe
This module provides the class "libpython", an RPython-compatible class for
Expand Down
4 changes: 3 additions & 1 deletion esky/bdist_esky/pypy_winres.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
esky.bdist_esky.pypy_winres: access win32 exe resources in rpython
esky.bdist_esky.pypy_winres: access win32 exe resources in rpython
This module provides some functions for accessing win32 exe resources from
Expand All @@ -24,6 +24,7 @@
k32_LockResource = rwin32.winexternal("LockResource",[rwin32.HANDLE],rffi.CCHARP)
k32_FreeLibrary = rwin32.winexternal("FreeLibrary",[rwin32.HANDLE],rwin32.BOOL)


def load_resource(filename,resname,resid,reslang):
"""Load the named resource from the given file.
Expand Down Expand Up @@ -51,6 +52,7 @@ def load_resource(filename,resname,resid,reslang):
if not k32_FreeLibrary(l_handle):
raise WindowsError(rwin32.GetLastError(),"FreeLibrary failed")


def load_resource_pystr(py,filename,resname,resid,reslang):
"""Load the named resource from the given file as a python-level string
Expand Down

0 comments on commit fd9c572

Please sign in to comment.