summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'g_cran/cran_read.py')
-rw-r--r--g_cran/cran_read.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/g_cran/cran_read.py b/g_cran/cran_read.py
index c243a7f..1505806 100644
--- a/g_cran/cran_read.py
+++ b/g_cran/cran_read.py
@@ -1,4 +1,4 @@
-import re, os, tarfile, rfc822
+import re, os
from ebuild import *
from filetricks import *
from settings import *
@@ -194,6 +194,7 @@ def read_packages(package_filename,local_repository):
#find a package in this repository... we really should cache this
#into some sqlite database once
def find_package(repo_location,package_name):
+ import rfc822
package_file=open(os.path.join(repo_location,REPO_MYDIR,'DESCRIPTION',package_name))
repository_file=open(os.path.join(repo_location,REPO_MYDIR,'remote_uri'),'r')