Merge pull request #3 from TheClimateCorporation/fix-get-header
fix get_header, which was doing the opposite of what it claimed
This commit is contained in:
commit
a30e610525
|
@ -141,7 +141,7 @@ class Dpkg(object):
|
|||
|
||||
def get_header(self, header):
|
||||
""" case-independent query for a control message header value """
|
||||
return self.headers.get(header.lower(), '')
|
||||
return self.message.get(header)
|
||||
|
||||
def compare_version_with(self, version_str):
|
||||
"""Compare my version to an arbitrary version"""
|
||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from distutils.core import setup
|
|||
setup(
|
||||
name='pydpkg',
|
||||
packages=['pydpkg'], # this must be the same as the name above
|
||||
version='1.1',
|
||||
version='1.1.1',
|
||||
description='A python library for parsing debian package control headers and comparing version strings',
|
||||
author='Nathan J. Mehl',
|
||||
author_email='n@climate.com',
|
||||
|
|
Loading…
Reference in New Issue