diff options
author | Sean Finney <seanius@seanius.net> | 2009-12-02 20:42:01 +0100 |
---|---|---|
committer | Sean Finney <seanius@seanius.net> | 2009-12-02 20:42:01 +0100 |
commit | fb972e3fea45080c1cc84da097e8ebb3e6f20712 (patch) | |
tree | a1f411189e1ec7c5acb45bcbc412f3f53bd84bbf | |
parent | e5fd3dd111d34276aa705f8eac09494cda178c98 (diff) | |
download | patch-tracker-fb972e3fea45080c1cc84da097e8ebb3e6f20712.tar.gz |
store the patches in Quilt30Series without the dir name
-rw-r--r-- | patchtracker/Patch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patchtracker/Patch.py b/patchtracker/Patch.py index e19ad8c..e987c0a 100644 --- a/patchtracker/Patch.py +++ b/patchtracker/Patch.py @@ -146,10 +146,10 @@ class Quilt30PatchSeries (GenericPatchSeries): series_fh = self.tarfh.extractfile("debian/patches/debian.series") except KeyError: series_fh = self.tarfh.extractfile("debian/patches/series") - self.names = ["debian/patches/"+fn.strip() for fn in series_fh.readlines()] + self.names = [fn.strip() for fn in series_fh.readlines()] # XXX to lazy eval this might be better for name in self.names: - self.patches[name] = Patch(self.tarfh.extractfile(name)) + self.patches[name] = Patch(self.tarfh.extractfile("debian/patches/"+name)) if __name__ == "__main__": print "Patch.py testing" |