diff options
author | Auke Booij (tulcod) <auke@tulcod.com> | 2010-08-05 22:42:41 +0200 |
---|---|---|
committer | Auke Booij (tulcod) <auke@tulcod.com> | 2010-08-05 22:42:41 +0200 |
commit | f7f675d2c88614b2f0b7dd2c8623b821f0c2b2e8 (patch) | |
tree | 37c1b8641fe5b6f3cf4c7b4d63fa6553e4e653af /g_cran | |
parent | Also accept package version for the 'package' action (diff) | |
download | g-cran-f7f675d2c88614b2f0b7dd2c8623b821f0c2b2e8.tar.gz g-cran-f7f675d2c88614b2f0b7dd2c8623b821f0c2b2e8.tar.bz2 g-cran-f7f675d2c88614b2f0b7dd2c8623b821f0c2b2e8.zip |
Tiny performance enhancments
Diffstat (limited to 'g_cran')
-rw-r--r-- | g_cran/g_cran.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g_cran/g_cran.py b/g_cran/g_cran.py index 3a7b3dc..836a3ce 100644 --- a/g_cran/g_cran.py +++ b/g_cran/g_cran.py @@ -1,7 +1,6 @@ #!/usr/bin/python -import getopt, sys, os, string +import sys, os from ebuild import * -import phases from cran_read import * from filetricks import * from settings import * @@ -70,6 +69,7 @@ def list_packages(repo_location): #list package details, in PMS's format def action_package(repo_location,package_name): + import phases defined_phases=[] package=find_package(repo_location,package_name[package_name.find('/')+1:]) #output data |