debian/lib/python/debian_linux/debian.py: Add directory to read_changelog.

svn path=/dists/trunk/linux-2.6/; revision=5971
This commit is contained in:
Bastian Blank 2006-02-25 22:41:56 +00:00
parent 6b3a307f9c
commit df6c7fe849
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import itertools, re, utils
import itertools, os.path, re, utils
def read_changelog():
def read_changelog(dir = ''):
r = re.compile(r"""
^
(
@ -22,7 +22,7 @@ def read_changelog():
)
)
""", re.VERBOSE)
f = file("debian/changelog")
f = file(os.path.join(dir, "debian/changelog"))
entries = []
act_upstream = None
while True: