diff options
Diffstat (limited to 'Demo')
-rwxr-xr-x | Demo/pdist/cvslib.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Demo/pdist/cvslib.py b/Demo/pdist/cvslib.py index cf305c9..c72cd6b 100755 --- a/Demo/pdist/cvslib.py +++ b/Demo/pdist/cvslib.py @@ -289,10 +289,10 @@ class CVS: os.rename(file, bfile) def ignored(self, file): - if os.path.isdir(file): return 1 + if os.path.isdir(file): return True for pat in self.IgnoreList: - if fnmatch.fnmatch(file, pat): return 1 - return 0 + if fnmatch.fnmatch(file, pat): return True + return Falso # hexify and unhexify are useful to print MD5 checksums in hex format |