summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2014-05-29 10:51:08 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-06-16 19:48:20 +0200
commitc7edd7b68c98d105f02a5977a0ff7c2a3081f2c9 (patch)
tree1421ca295425d4cd06d797e257225f67c8cd29c6 /ipapython
parentc011bccf45ee46c41e6606e391362938271de75a (diff)
downloadfreeipa-c7edd7b68c98d105f02a5977a0ff7c2a3081f2c9.tar.gz
freeipa-c7edd7b68c98d105f02a5977a0ff7c2a3081f2c9.tar.xz
freeipa-c7edd7b68c98d105f02a5977a0ff7c2a3081f2c9.zip
ipaplatform: Remove redundant imports of ipaservices
Also fixes few incorrect imports. https://fedorahosted.org/freeipa/ticket/4052 Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipapython')
-rw-r--r--ipapython/sysrestore.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ipapython/sysrestore.py b/ipapython/sysrestore.py
index b5f47bd1e..7d5aabdff 100644
--- a/ipapython/sysrestore.py
+++ b/ipapython/sysrestore.py
@@ -32,8 +32,7 @@ import random
import string
from ipapython import ipautil
-from ipapython import services as ipaservices
-from ipaplatform import tasks
+from ipaplatform.tasks import tasks
SYSRESTORE_PATH = "/tmp"
SYSRESTORE_INDEXFILE = "sysrestore.index"