Changeset 146 for branches/mk/cheesecake
- Timestamp:
- 08/19/06 15:54:56 (4 years ago)
- Files:
-
- branches/mk/cheesecake/cheesecake_index.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/mk/cheesecake/cheesecake_index.py
r145 r146 1278 1278 msg += "\nDetailed info available in log file %s" % self.logfile 1279 1279 1280 raise CheesecakeError( msg)1280 raise CheesecakeError("Error: " + msg) 1281 1281 1282 1282 def cleanup(self, remove_log_file=True): … … 1356 1356 from distutils.errors import DistutilsError 1357 1357 except ImportError, e: 1358 msg = " Error:setuptools is not installed and is required for downloading a package by name\n"1358 msg = "setuptools is not installed and is required for downloading a package by name\n" 1359 1359 msg += "You can download and process a package by its full URL via the -u or --url option\n" 1360 1360 msg += "Example: python cheesecake.py --url=http://www.mems-exchange.org/software/durus/Durus-3.1.tar.gz" … … 1427 1427 if not status: 1428 1428 drop_setuptools_info(captured_stdout, output) 1429 self.raise_exception(" Error:setuptools returned an error: %s\n" % str(output).splitlines()[0])1429 self.raise_exception("setuptools returned an error: %s\n" % str(output).splitlines()[0]) 1430 1430 1431 1431 # If fetch returned nothing, package wasn't found. 1432 1432 if output is None: 1433 1433 drop_setuptools_info(captured_stdout) 1434 self.raise_exception(" Error:Could not find distribution for " + self.name)1434 self.raise_exception("Could not find distribution for " + self.name) 1435 1435 1436 1436 # Defaults.
