2 commits - liveusb/creator.py liveusb-creator.spec setup.py

Luke Macken lmacken at fedoraproject.org
Tue Dec 1 20:58:13 UTC 2009


 liveusb-creator.spec |    5 ++++-
 liveusb/creator.py   |    5 ++++-
 setup.py             |    4 ++--
 3 files changed, 10 insertions(+), 4 deletions(-)

New commits:
commit ca18fb5b8fdf320a0a2d2b791d1215a34dacdc93
Author: Luke Macken <lmacken at redhat.com>
Date:   Tue Dec 1 15:57:29 2009 -0500

    Make our remove_liveos method more robust (#542136)

diff --git a/liveusb/creator.py b/liveusb/creator.py
index 1994296..524d8ca 100755
--- a/liveusb/creator.py
+++ b/liveusb/creator.py
@@ -310,7 +310,10 @@ class LiveUSBCreator(object):
                 # Python for Windows is unable to delete read-only files,
                 if os.path.isdir(path):
                     for f in os.listdir(path):
-                        os.chmod(os.path.join(path, f), 0777)
+                        try:
+                            os.chmod(os.path.join(path, f), 0777)
+                        except OSError, e:
+                            self.log.debug("Unable to delete %s: %s" % (f, str(e)))
                 try:
                     shutil.rmtree(path)
                 except OSError, e:


commit 74c690387d2b7ad62a73ba443b86aeff22e728f6
Author: Luke Macken <lmacken at redhat.com>
Date:   Tue Dec 1 15:09:09 2009 -0500

    v3.9

diff --git a/liveusb-creator.spec b/liveusb-creator.spec
index 34f7db5..22976db 100644
--- a/liveusb-creator.spec
+++ b/liveusb-creator.spec
@@ -1,7 +1,7 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:           liveusb-creator
-Version:        3.8.9
+Version:        3.9
 Release:        1%{?dist}
 Summary:        A liveusb creator
 
@@ -68,6 +68,9 @@ rm -rf %{buildroot}
 %config(noreplace) %{_sysconfdir}/security/console.apps/%{name}
 
 %changelog
+* Tue Dec 01 2009 Luke Macken <lmacken at redhat.com> - 3.9-1
+- 3.9 release
+
 * Tue Dec 01 2009 Luke Macken <lmacken at redhat.com> - 3.8.9-1
 - 3.8.9, fixes bug #540255
 
diff --git a/setup.py b/setup.py
index e839459..4c260f7 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ if sys.platform == 'win32':
 
     setup(
         name = 'liveusb-creator',
-        version = '3.8.9',
+        version = '3.9',
         packages = ['liveusb', 'liveusb/urlgrabber'],
         scripts = ['liveusb-creator'], 
         license = 'GNU General Public License (GPL)',
@@ -55,7 +55,7 @@ if sys.platform == 'win32':
 else:
     setup(
         name = 'liveusb-creator',
-        version = '3.8.9',
+        version = '3.9',
         packages = ['liveusb'],
         scripts = ['liveusb-creator'],
         license = 'GNU General Public License (GPL)',




More information about the liveusb-creator mailing list