diff --git a/esky/__init__.py b/esky/__init__.py index 0a5772e..18157d2 100644 --- a/esky/__init__.py +++ b/esky/__init__.py @@ -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. diff --git a/esky/bdist_esky/pypy_libpython.py b/esky/bdist_esky/pypy_libpython.py index 1449141..8714a6f 100644 --- a/esky/bdist_esky/pypy_libpython.py +++ b/esky/bdist_esky/pypy_libpython.py @@ -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 diff --git a/esky/bdist_esky/pypy_winres.py b/esky/bdist_esky/pypy_winres.py index 6b799d5..76e9f1d 100644 --- a/esky/bdist_esky/pypy_winres.py +++ b/esky/bdist_esky/pypy_winres.py @@ -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 @@ -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. @@ -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