liveusb-creator.spec | 5 ++++- liveusb/creator.py | 4 ++-- setup.py | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-)
New commits: commit 58382411e2ebfbb905feaf7ce27e140b919651ed Author: Luke Macken lmacken@redhat.com Date: Sat Jun 27 19:13:25 2009 -0400
3.7.1
diff --git a/liveusb-creator.spec b/liveusb-creator.spec index 656d9b9..58b7315 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.7 +Version: 3.7.1 Release: 1%{?dist} Summary: A liveusb creator
@@ -68,6 +68,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/%{name}
%changelog +* Sat Jun 27 2009 Luke Macken lmacken@redhat.com - 3.7.1-1 +- 3.7.1 + * Wed Jun 24 2009 Luke Macken lmacken@redhat.com - 3.7 - Latest upstream bugfix release
diff --git a/setup.py b/setup.py index 6c89351..3d30fce 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ if sys.platform == 'win32':
setup( name = 'liveusb-creator', - version = '3.7', + version = '3.7.1', 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.7', + version = '3.7.1', packages = ['liveusb'], scripts = ['liveusb-creator'], license = 'GNU General Public License (GPL)',
commit f942578af4fedbdad27f209574c267ecac379c42 Author: Luke Macken lmacken@redhat.com Date: Sat Jun 27 19:11:58 2009 -0400
Prepend '.' to our tools path in Windows, to avoid being interpreted as a UNC path
Thanks to klaas langhout for the tip https://fedorahosted.org/pipermail/liveusb-creator/2009-June/000203.html
diff --git a/liveusb/creator.py b/liveusb/creator.py index 7fdd31d..ff7747e 100755 --- a/liveusb/creator.py +++ b/liveusb/creator.py @@ -861,7 +861,7 @@ class WindowsLiveUSBCreator(LiveUSBCreator): import win32process if isinstance(cmd, basestring): cmd = cmd.split() - tool = os.path.join('tools', '%s.exe' % cmd[0]) + tool = os.path.join('.', 'tools', '%s.exe' % cmd[0]) if not os.path.exists(tool): raise LiveUSBError(_("Cannot find") + ' %s. ' % (cmd[0]) + _("Make sure to extract the entire "
commit a5c9e5fbce04ff8a1a10cec64752ab99f3ac8dad Author: Luke Macken lmacken@redhat.com Date: Fri Jun 26 14:53:51 2009 -0400
Revert "Specify the absolute path of our tools as well"
This reverts commit e854136da8e277d6b2d7198120f3aadaa4c3b667.
diff --git a/liveusb/creator.py b/liveusb/creator.py index a1a0a68..7fdd31d 100755 --- a/liveusb/creator.py +++ b/liveusb/creator.py @@ -861,7 +861,7 @@ class WindowsLiveUSBCreator(LiveUSBCreator): import win32process if isinstance(cmd, basestring): cmd = cmd.split() - tool = os.path.abspath(os.path.join('tools', '%s.exe' % cmd[0])) + tool = os.path.join('tools', '%s.exe' % cmd[0]) if not os.path.exists(tool): raise LiveUSBError(_("Cannot find") + ' %s. ' % (cmd[0]) + _("Make sure to extract the entire "
commit e854136da8e277d6b2d7198120f3aadaa4c3b667 Author: Luke Macken lmacken@redhat.com Date: Thu Jun 25 21:52:07 2009 -0400
Specify the absolute path of our tools as well
diff --git a/liveusb/creator.py b/liveusb/creator.py index 7fdd31d..a1a0a68 100755 --- a/liveusb/creator.py +++ b/liveusb/creator.py @@ -861,7 +861,7 @@ class WindowsLiveUSBCreator(LiveUSBCreator): import win32process if isinstance(cmd, basestring): cmd = cmd.split() - tool = os.path.join('tools', '%s.exe' % cmd[0]) + tool = os.path.abspath(os.path.join('tools', '%s.exe' % cmd[0])) if not os.path.exists(tool): raise LiveUSBError(_("Cannot find") + ' %s. ' % (cmd[0]) + _("Make sure to extract the entire "
commit 5dd363579f87deebadc1c87c5b03d7dacc373929 Author: Luke Macken lmacken@redhat.com Date: Thu Jun 25 21:42:36 2009 -0400
Ensure we reference the absolute path to the ISO.
diff --git a/liveusb/creator.py b/liveusb/creator.py index 5de326e..7fdd31d 100755 --- a/liveusb/creator.py +++ b/liveusb/creator.py @@ -337,7 +337,7 @@ class LiveUSBCreator(object):
def set_iso(self, iso): """ Select the given ISO """ - self.iso = self._to_unicode(iso) + self.iso = os.path.abspath(self._to_unicode(iso)) self.isosize = os.stat(self.iso)[ST_SIZE]
def _to_unicode(self, obj, encoding='utf-8'):
liveusb-creator@lists.stg.fedorahosted.org