Changeset 82
- Timestamp:
- 07/07/06 16:11:05 (2 years ago)
- Files:
-
- branches/mk/cheesecake/cheesecake_index.py (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/mk/cheesecake/cheesecake_index.py
r81 r82 885 885 return self.value 886 886 887 def decide_before_download(self, cheesecake): 888 return not cheesecake.lite 889 887 890 class IndexCodeKwalitee(Index): 888 891 name = "CODE KWALITEE" … … 968 971 969 972 def __init__(self, name="", url="", path="", sandbox=None, config=None, 970 logfile=None, verbose=False, quiet=False, static_only=False): 973 logfile=None, verbose=False, quiet=False, static_only=False, 974 lite=False): 971 975 """Initialize critical variables, download and unpack package, 972 976 walk package tree. … … 994 998 self.quiet = quiet 995 999 self.static_only = static_only 1000 self.lite = lite 996 1001 997 1002 self.sandbox_pkg_file = "" … … 1410 1415 default=None, 1411 1416 help="directory with custom configuration (default=~/.cheesecake)") 1417 parser.add_option("--lite", action="store_true", dest="lite", 1418 default=False, help="don't run time-consuming tests (default=False)") 1412 1419 parser.add_option("-l", "--logfile", dest="logfile", 1413 1420 default=None, … … 1446 1453 quiet = options.quiet 1447 1454 static_only = options.static 1455 lite = options.lite 1448 1456 1449 1457 if not name and not url and not path: … … 1454 1462 c = Cheesecake(name=name, url=url, path=path, sandbox=sandbox, 1455 1463 config=config, logfile=logfile, verbose=verbose, 1456 quiet=quiet, static_only=static_only )1464 quiet=quiet, static_only=static_only, lite=lite) 1457 1465 c.compute_cheesecake_index() 1458 1466 c.cleanup()
