diff options
author | Necoro <> | 2007-11-13 22:18:41 +0000 |
---|---|---|
committer | Necoro <> | 2007-11-13 22:18:41 +0000 |
commit | 7019c5dfa800871a431d9ee254ad09b95274bc4c (patch) | |
tree | 423073f174a9af9cb325b9060c0b09b0c28bb08e /portato.py | |
parent | 69122abc3e2156e3b3a9a82f4ab5b0b68f694aad (diff) | |
download | portato-7019c5dfa800871a431d9ee254ad09b95274bc4c.tar.gz portato-7019c5dfa800871a431d9ee254ad09b95274bc4c.tar.bz2 portato-7019c5dfa800871a431d9ee254ad09b95274bc4c.zip |
r546@Devoty: necoro | 2007-11-13 19:08:28 +0100
Added log tab
r547@Devoty: necoro | 2007-11-13 23:10:39 +0100
added ebuild and changelog tab
r548@Devoty: necoro | 2007-11-13 23:14:17 +0100
removed EbuildWindow and '--ebuild' option
r549@Devoty: necoro | 2007-11-13 23:17:51 +0100
small change
Diffstat (limited to 'portato.py')
-rwxr-xr-x | portato.py | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -49,9 +49,6 @@ def main (): parser.add_option("-f", "--frontend", action = "store", choices = FRONTENDS, default = STD_FRONTEND, dest = "frontend", help = _("the frontend to use - possible values are: %s [default: %%default]") % get_frontend_list()) - parser.add_option("-e", "--ebuild", action = "store", dest = "ebuild", - help = _("opens the ebuild viewer instead of launching Portato")) - parser.add_option("--shm", action = "store", nargs = 3, type="long", dest = "shm", help = SUPPRESS_HELP) @@ -78,14 +75,12 @@ def main (): options.frontend = arg try: - exec ("from portato.gui.%s import run, show_ebuild" % options.frontend) + exec ("from portato.gui.%s import run" % options.frontend) except ImportError, e: print _("'%(frontend)s' should be installed, but cannot be imported. This is definitely a bug. (%(error)s)") % {"frontend": options.frontend, "error": e[0]} sys.exit(1) - if options.ebuild: # show ebuild - show_ebuild(options.ebuild) - elif options.validate: # validate a plugin + if options.validate: # validate a plugin from lxml import etree try: etree.XMLSchema(file = XSD_LOCATION).assertValid(etree.parse(options.validate)) |