Author: David Schneider <david.schnei...@picle.org> Branch: Changeset: r54335:83dbfcb6f927 Date: 2012-04-13 16:16 +0200 http://bitbucket.org/pypy/pypy/changeset/83dbfcb6f927/
Log: (cfbolz, bivab): simplify diff --git a/pypy/translator/driver.py b/pypy/translator/driver.py --- a/pypy/translator/driver.py +++ b/pypy/translator/driver.py @@ -115,12 +115,10 @@ backend, ts = self.get_backend_and_type_system() for task in self.tasks: explicit_task = task - parts = task.split('_') - if len(parts) == 1: - if task in ('annotate',): - expose_task(task) + if task == 'annotate': + expose_task(task) else: - task, postfix = parts + task, postfix = task.split('_') if task in ('rtype', 'backendopt', 'llinterpret', 'pyjitpl'): if ts: _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit