[cig-commits] commit: mq check: need a path to the status file iff the series file exists
Mercurial
hg at geodynamics.org
Mon Nov 24 11:27:02 PST 2008
changeset: 40:34704814569f
user: Robin Farine <robin.farine at terminus.org>
date: Fri Dec 22 22:05:58 2006 +0100
files: forest.py
description:
mq check: need a path to the status file iff the series file exists
diff -r 62227d7f2d23 -r 34704814569f forest.py
--- a/forest.py Fri Dec 22 22:01:50 2006 +0100
+++ b/forest.py Fri Dec 22 22:05:58 2006 +0100
@@ -93,9 +93,8 @@ def mq_patches_applied(rpath):
path = os.path.join(rpath, e)
if os.path.isdir(path):
series = os.path.join(path, "series")
- status = os.path.join(path, "status")
if os.path.isfile(series):
- s = os.stat(status)
+ s = os.stat(os.path.join(path, "status"))
if s.st_size > 0:
return True
return False
More information about the CIG-COMMITS
mailing list