Package: git-buildpackage Version: 0.6.8 Severity: normal File: /usr/bin/git-import-dsc
Hi, I ran into a problem while trying to import miscfiles. The maintainer (and the changelog signature line) contains a comma: Thomas Bushnell, BSG <[email protected]> and this is not parsed correctly. >>> import email >>> email.Utils.parseaddr('Thomas Bushnell, BSG <[email protected]>') ('', 'Thomas') >>> email.Utils.parseaddr('"Thomas Bushnell, BSG" <[email protected]>') ('Thomas Bushnell, BSG', '[email protected]') >>> email.Utils.parseaddr('(Thomas Bushnell, BSG) [email protected]') ('Thomas Bushnell, BSG', '[email protected]') >>> email.Utils.parseaddr('Thomas Bushnell#COMMA# BSG <[email protected]>') ('Thomas Bushnell#COMMA# BSG', '[email protected]') I'm not sure if email.Utils is really to be blamed for this since an unquoted comma usually separates recipients, although returning an address <Thomas> looks very weird. I'd probably substitute/unsubstitute this locally: return self._unquote_comma(email.Utils.parseaddr(self._quote_comma(self._cp['Maintainer']))[0]) At least the unquoted comma seems to be a valid char in the Maintainer field in debian/control, not sure about Uploaders. Andreas -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

