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:
parent
6b3a307f9c
commit
df6c7fe849
|
@ -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"""
|
r = re.compile(r"""
|
||||||
^
|
^
|
||||||
(
|
(
|
||||||
|
@ -22,7 +22,7 @@ def read_changelog():
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
""", re.VERBOSE)
|
""", re.VERBOSE)
|
||||||
f = file("debian/changelog")
|
f = file(os.path.join(dir, "debian/changelog"))
|
||||||
entries = []
|
entries = []
|
||||||
act_upstream = None
|
act_upstream = None
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in New Issue