summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-10-10 15:59:52 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-10-10 15:59:52 -1000
commit0b5dcb360226b08b152a0950684ad3959118ebb8 (patch)
treeb6fec698f2147f4769a5f55f6d44d07eb02a4029 /network.py
parentaf464d0b83e839160e54b8cea4631c8106eb2570 (diff)
downloadanaconda-0b5dcb360226b08b152a0950684ad3959118ebb8.tar.gz
anaconda-0b5dcb360226b08b152a0950684ad3959118ebb8.tar.xz
anaconda-0b5dcb360226b08b152a0950684ad3959118ebb8.zip
Import shutil and fix typos in network.py.
Diffstat (limited to 'network.py')
-rw-r--r--network.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/network.py b/network.py
index 9eed7aa7b..778798929 100644
--- a/network.py
+++ b/network.py
@@ -24,6 +24,7 @@
#
import string
+import shutil
import isys
import iutil
import socket
@@ -561,7 +562,7 @@ class Network:
shutil.move(newkey, destkey)
# /etc/sysconfig/network
- newnetwork = "%/network" % (tmpdest,)
+ newnetwork = "%s/network" % (tmpdest,)
destnetwork = "%s/etc/sysconfig/network" % (instPath,)
f = open(newnetwork, "w")