Mercurial > p > roundup > code
comparison roundup/actions.py @ 5071:a7541077cf12
Remove 'import *' statement from actions.py
There are various 'import *' statements scattered through the code which
are generally not a good thing. These should be fairly safe changes, but
I'll commit them one file at a time to make it easier to track down
issues with a bisect if they crop up later.
| author | John Kristensen <john@jerrykan.com> |
|---|---|
| date | Fri, 10 Jun 2016 17:01:29 +1000 |
| parents | 13b3155869e0 |
| children | ed02a1e0aa5d |
comparison
equal
deleted
inserted
replaced
| 5070:04e48cfc91da | 5071:a7541077cf12 |
|---|---|
| 2 # Copyright (C) 2009 Stefan Seefeld | 2 # Copyright (C) 2009 Stefan Seefeld |
| 3 # All rights reserved. | 3 # All rights reserved. |
| 4 # For license terms see the file COPYING.txt. | 4 # For license terms see the file COPYING.txt. |
| 5 # | 5 # |
| 6 | 6 |
| 7 from roundup.exceptions import * | 7 from roundup.exceptions import Unauthorised |
| 8 from roundup import hyperdb | 8 from roundup import hyperdb |
| 9 from roundup.i18n import _ | 9 from roundup.i18n import _ |
| 10 | 10 |
| 11 class Action: | 11 class Action: |
| 12 def __init__(self, db, translator): | 12 def __init__(self, db, translator): |
