Package: createrepo
Version: 0.4.11-1
Severity: important

The --split option is broken:

$ mkdir empty/
$ createrepo --split empty/
Traceback (most recent call last):
  File "/usr/share/createrepo/genpkgmetadata.py", line 713, in <module>
    main(sys.argv[1:])
  File "/usr/share/createrepo/genpkgmetadata.py", line 629, in main
    mdgen.doPkgMetadata(directories)
  File "/usr/share/createrepo/genpkgmetadata.py", line 375, in doPkgMetadata
    self.cmds['baseurl'] = self._getFragmentUrl(self.cmds['baseurl'], mediano)
  File "/usr/share/createrepo/genpkgmetadata.py", line 336, in _getFragmentUrl
    urlparse.uses_fragment.append('media')
AttributeError: 'module' object has no attribute 'uses_fragment'


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages createrepo depends on:
ii  python               2.7.3-1
ii  python-libxml2       2.8.0+dfsg1-4
ii  python-rpm           4.10.0-4
ii  python-sqlitecachec  1.1.2-1+b2
ii  python-support       1.0.15
ii  rpm                  4.10.0-4

--
Jakub Wilk


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to