Changeset 249
- Timestamp:
- 25-05-07 15:08:06 (6 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
moap/test/test_bug_bugzilla.py (modified) (1 diff)
-
moap/test/test_commands_doap.py (modified) (1 diff)
-
moap/vcs/darcs.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r248 r249 1 2007-05-25 Thomas Vander Stichele <thomas at apestaart dot org> 2 3 * moap/test/test_bug_bugzilla.py: 4 * moap/test/test_commands_doap.py: 5 Fix for when RDF is not installed. 6 * moap/vcs/darcs.py: 7 Fix some pychecker warnings. 8 1 9 2007-05-25 Thomas Vander Stichele <thomas at apestaart dot org> 2 10 -
trunk/moap/test/test_bug_bugzilla.py
r247 r249 41 41 import RDF 42 42 except ImportError: 43 TestGst .skip = "No rdf module, skipping"43 TestGstCsv.skip = "No rdf module, skipping" -
trunk/moap/test/test_commands_doap.py
r239 r249 78 78 def tearDown(self): 79 79 os.chdir(self._cwd) 80 81 try: 82 import RDF 83 except ImportError: 84 TestDoapMach.skip = "No rdf module, skipping" 85 TestDoapUnspecified.skip = "No rdf module, skipping" -
trunk/moap/vcs/darcs.py
r185 r249 49 49 self.debug('%d versioned files' % len(versioned)) 50 50 51 all = []51 allFiles = [] 52 52 53 def walker(all , dirname, fnames):53 def walker(allFiles, dirname, fnames): 54 54 if not dirname.startswith(self.path): 55 55 fnames = [] … … 65 65 # darcs doesn't list directories as part of manifest 66 66 if not os.path.isdir(os.path.join(dirname, fname)): 67 all .append(os.path.join(reldirname, fname))67 allFiles.append(os.path.join(reldirname, fname)) 68 68 69 os.path.walk(self.path, walker, all )70 self.debug('%d total files' % len(all ))69 os.path.walk(self.path, walker, allFiles) 70 self.debug('%d total files' % len(allFiles)) 71 71 72 72 boringPath = os.path.join(self.path, '.darcs-boring') … … 75 75 boringRegExps = open(boringPath).readlines() 76 76 77 unversioned = [n for n in all if n not in versioned]77 unversioned = [n for n in allFiles if n not in versioned] 78 78 self.debug('%d unversioned files' % len(unversioned)) 79 79
Note: See TracChangeset
for help on using the changeset viewer.
