aboutsummaryrefslogtreecommitdiff
path: root/grs
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-07-09 11:28:49 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-07-09 11:28:49 -0400
commit2077c0fb889f144efad47ee7060932b47873b7c8 (patch)
treea9f3e8dbad09b4879583fd8002ae521c01ad1176 /grs
parentgrs/Rotator.py: consolidate common rotation code. (diff)
downloadgrss-2077c0fb889f144efad47ee7060932b47873b7c8.tar.gz
grss-2077c0fb889f144efad47ee7060932b47873b7c8.tar.bz2
grss-2077c0fb889f144efad47ee7060932b47873b7c8.zip
grs/__init__.py: import Rotator.
Diffstat (limited to 'grs')
-rw-r--r--grs/Log.py2
-rw-r--r--grs/PivotChroot.py1
-rw-r--r--grs/Rotator.py2
-rw-r--r--grs/Seed.py2
-rw-r--r--grs/__init__.py1
5 files changed, 7 insertions, 1 deletions
diff --git a/grs/Log.py b/grs/Log.py
index 81ac022..201eeb9 100644
--- a/grs/Log.py
+++ b/grs/Log.py
@@ -5,7 +5,9 @@ import glob
import os
import re
import shutil
+
from grs.Constants import CONST
+from grs.Rotator import Rotator
class Log(Rotator):
diff --git a/grs/PivotChroot.py b/grs/PivotChroot.py
index 8ec0fc6..ff0fb69 100644
--- a/grs/PivotChroot.py
+++ b/grs/PivotChroot.py
@@ -7,6 +7,7 @@ import shutil
from grs.Constants import CONST
from grs.MountDirectories import MountDirectories
+from grs.Rotator import Rotator
class PivotChroot(Rotator):
diff --git a/grs/Rotator.py b/grs/Rotator.py
index fb76274..d82c9fd 100644
--- a/grs/Rotator.py
+++ b/grs/Rotator.py
@@ -1,4 +1,4 @@
-i#!/usr/bin/env python
+#!/usr/bin/env python
import glob
import re
diff --git a/grs/Seed.py b/grs/Seed.py
index 493a32a..aad5d20 100644
--- a/grs/Seed.py
+++ b/grs/Seed.py
@@ -5,8 +5,10 @@ import os
import re
import shutil
import urllib.request
+
from grs.Constants import CONST
from grs.Execute import Execute
+from grs.Rotator import Rotator
class Seed(Rotator):
diff --git a/grs/__init__.py b/grs/__init__.py
index 383e5f2..10831e9 100644
--- a/grs/__init__.py
+++ b/grs/__init__.py
@@ -10,6 +10,7 @@ from grs.Kernel import Kernel
from grs.MountDirectories import MountDirectories
from grs.PivotChroot import PivotChroot
from grs.Populate import Populate
+from grs.Rotator import Rotator
from grs.RunScript import RunScript
from grs.Synchronize import Synchronize
from grs.Seed import Seed