Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DpkgSourceControl chokes if debian/control has DOS newlines #1

Open
jait opened this issue Mar 26, 2010 · 1 comment
Open

DpkgSourceControl chokes if debian/control has DOS newlines #1

jait opened this issue Mar 26, 2010 · 1 comment

Comments

@jait
Copy link

jait commented Mar 26, 2010

If debian/control has DOS newlines (\r\n), DpkgSourceControl fails to parse it:

    control.load(f)
  File "/usr/lib/python2.5/site-packages/minideblib/DpkgControl.py", line 128, in load
    self.source = self._load_one( f )
  File "/usr/lib/python2.5/site-packages/minideblib/DpkgControl.py", line 107, in _load_one
    p.load( f )
  File "/usr/lib/python2.5/site-packages/minideblib/DpkgControl.py", line 66, in load
    key, value = string.split( line, ":", 1 )
ValueError: need more than 1 value to unpack
@jait
Copy link
Author

jait commented Mar 26, 2010

patch sent to author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant