Changeset 103
- Timestamp:
- 07/23/06 08:40:44 (2 years ago)
- Files:
-
- branches/mk/cheesecake/cheesecake_index.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/mk/cheesecake/cheesecake_index.py
r102 r103 956 956 957 957 def compute(self, files_list, package_dir): 958 self.value = 0959 960 # Try to run the pylint script961 if not command_successful("pylint --version"):962 self.details = "pylint not properly installed"963 return self.value964 965 958 # Exclude __init__.py files from score as they cause pylint 966 959 # to fail with ImportError "Unable to find module for %s in %s". … … 1003 996 1004 997 def decide_before_download(self, cheesecake): 998 # Try to run the pylint script 999 if not command_successful("pylint --version"): 1000 cheesecake.log.debug("pylint not properly installed, omitting pylint index.") 1001 return False 1002 1005 1003 return not cheesecake.lite 1006 1004
