- Timestamp:
- 10/03/06 17:00:53 (7 years ago)
- Files:
-
- trunk/cheesecake/cheesecake_index.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cheesecake/cheesecake_index.py
r150 r152 1048 1048 1049 1049 def compute(self, files_list, package_dir): 1050 # See if pylint script location is set via environment variable 1051 pylint_location = os.environ.get("PYLINT", "pylint") 1052 1050 1053 # Maximum length of arguments (not very precise). 1051 1054 max_arguments_length = 65536 … … 1075 1078 self.cheesecake.log.debug("Running pylint on files: %s." % filenames) 1076 1079 1077 rc, output = run_cmd(" pylint %s --persistent=n %s" % (filenames, self.pylint_args))1080 rc, output = run_cmd("%s %s --persistent=n %s" % (pylint_location, filenames, self.pylint_args)) 1078 1081 if rc: 1079 1082 self.cheesecake.log.debug("encountered an error (%d):\n***\n%s\n***\n" % (rc, output))
