diff options
| author | antarus <antarus@gentoo.org> | 2007-04-01 05:13:21 +0000 |
|---|---|---|
| committer | antarus <antarus@gentoo.org> | 2007-04-01 05:13:21 +0000 |
| commit | 9a327677f6984ca6e2ec73846e10549fd81595e2 (patch) | |
| tree | c6209b99a2e616cc9091185ab99df1cf5701b035 /trunk/src/dep-clean | |
| parent | ed8b48359ddb4b2723433cb732b59811bd921cc0 (diff) | |
| download | gentoolkit-9a327677f6984ca6e2ec73846e10549fd81595e2.tar.gz | |
Add support for new-style imports while keeping support for old imports as a fallback
svn path=/; revision=382
Diffstat (limited to 'trunk/src/dep-clean')
| -rw-r--r-- | trunk/src/dep-clean/dep-clean | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/trunk/src/dep-clean/dep-clean b/trunk/src/dep-clean/dep-clean index b64edb9..2f2bde0 100644 --- a/trunk/src/dep-clean/dep-clean +++ b/trunk/src/dep-clean/dep-clean @@ -7,7 +7,10 @@ import sys import gentoolkit -from output import * +try: + from portage.output import * +except ImportError: + from output import * __author__ = "Karl Trygve Kalleberg, Brandon Low, Jerry Haltom" __email__ = "karltk@gentoo.org, lostlogic@gentoo.org, ssrit@larvalstage" |
