summaryrefslogtreecommitdiff
path: root/morphlib/sourcemanager.py
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-01-23 12:26:27 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-01-23 12:26:27 +0000
commit9d59ed4d78747902cd141f743a6aeabd9e531dc8 (patch)
tree79287b9b317673d97ade5cb0ba9bf8b7c9ee261d /morphlib/sourcemanager.py
parent74b41621814fb02576755aedd87350c833b8228e (diff)
downloadmorph-9d59ed4d78747902cd141f743a6aeabd9e531dc8.tar.gz
Bump copyright years, get rid of long lines and unused imports.
Diffstat (limited to 'morphlib/sourcemanager.py')
-rw-r--r--morphlib/sourcemanager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/sourcemanager.py b/morphlib/sourcemanager.py
index d30f08ed..c25f7331 100644
--- a/morphlib/sourcemanager.py
+++ b/morphlib/sourcemanager.py
@@ -20,7 +20,6 @@ import urllib2
import string
import morphlib
-from morphlib.git import Treeish
gitscheme=["git",]
@@ -149,7 +148,8 @@ class SourceManager(object):
if success:
# create the treeish; cache it to avoid loading it twice
- treeish = Treeish(gitcache, repo, ref, self.msg)
+ treeish = morphlib.git.Treeish(gitcache, repo, ref,
+ self.msg)
self.cached_treeishes[(repo, ref)] = treeish
else:
raise SourceNotFound(repo,ref)