summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2016-11-02 10:06:52 +0000
committerDaniel Firth <dan.firth@codethink.co.uk>2016-11-15 12:56:14 +0000
commitdb24440cb2a1dc0f1c6f7521eb586ff249a02990 (patch)
tree26849f0945b3fac9ba3a94d0c89e04930f0fede2
parent68de1876b1dce7a10065d700716221bec9cf9e3a (diff)
downloadybd-db24440cb2a1dc0f1c6f7521eb586ff249a02990.tar.gz
repos.py, cache.py, utils.py: Do not import app
-rw-r--r--ybd/cache.py2
-rw-r--r--ybd/repos.py2
-rw-r--r--ybd/utils.py1
3 files changed, 2 insertions, 3 deletions
diff --git a/ybd/cache.py b/ybd/cache.py
index c37d790..6d355a5 100644
--- a/ybd/cache.py
+++ b/ybd/cache.py
@@ -22,7 +22,7 @@ import os
import shutil
from subprocess import call
-from ybd import app, utils
+from ybd import utils
from ybd.repos import get_repo_url, get_tree
import tempfile
import yaml
diff --git a/ybd/repos.py b/ybd/repos.py
index 746a451..0222612 100644
--- a/ybd/repos.py
+++ b/ybd/repos.py
@@ -22,7 +22,7 @@ import string
from subprocess import call, check_output
import sys
import requests
-from ybd import app, utils
+from ybd import utils
import tempfile
diff --git a/ybd/utils.py b/ybd/utils.py
index c2d339d..fa5b96e 100644
--- a/ybd/utils.py
+++ b/ybd/utils.py
@@ -23,7 +23,6 @@ import stat
from fs.osfs import OSFS
from fs.multifs import MultiFS
import calendar
-from ybd import app
# The magic number for timestamps: 2011-11-11 11:11:11
default_magic_timestamp = calendar.timegm([2011, 11, 11, 11, 11, 11])