diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-05-25 19:33:52 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-05-25 19:33:52 (GMT) |
commit | 9eaa51edbb14c2d2b96ad722b7240f4d23a626c9 (patch) | |
tree | bf963a5fa45ea0274550f0d774b8c2e50810064c /src | |
parent | e7a32c97c91af7ddd5477948bc7f928e74ca12cf (diff) |
Drop the useless clean command.
Diffstat (limited to 'src')
-rw-r--r-- | src/sugar/activity/bundlebuilder.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/sugar/activity/bundlebuilder.py b/src/sugar/activity/bundlebuilder.py index 91c603c..9619ef1 100644 --- a/src/sugar/activity/bundlebuilder.py +++ b/src/sugar/activity/bundlebuilder.py @@ -108,11 +108,6 @@ def _extract_bundle(source_file, dest_dir): outfile.flush() outfile.close() -def _delete_backups(arg, dirname, names): - for name in names: - if name.endswith('~') or name.endswith('pyc'): - os.remove(os.path.join(dirname, name)) - def cmd_help(config, options, args): print 'Usage: \n\ setup.py dev - setup for development \n\ @@ -121,7 +116,6 @@ setup.py install [dirname] - install the bundle \n\ setup.py uninstall [dirname] - uninstall the bundle \n\ setup.py genpot - generate the gettext pot file \n\ setup.py genl10n - generate localization files \n\ -setup.py clean - clean the directory \n\ setup.py release - do a new release of the bundle \n\ setup.py help - print this message \n\ ' @@ -337,9 +331,6 @@ def cmd_release(config, options, args): print 'Done.' -def cmd_clean(config, options, args): - os.path.walk('.', _delete_backups, None) - def start(bundle_name, manifest='MANIFEST'): parser = OptionParser() (options, args) = parser.parse_args() |