summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrdiff-backup/misc/myrm9
1 files changed, 4 insertions, 5 deletions
diff --git a/rdiff-backup/misc/myrm b/rdiff-backup/misc/myrm
index 443c795..ddcf5bb 100755
--- a/rdiff-backup/misc/myrm
+++ b/rdiff-backup/misc/myrm
@@ -1,11 +1,10 @@
#!/usr/bin/python
import sys, os
-
-curdir = os.getcwd()
-os.chdir("../src")
-execfile("selection.py")
-os.chdir(curdir)
+sys.path.insert(0, "../src")
+from rpath import *
+from connection import *
+import Globals
lc = Globals.local_connection