aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-08-21 01:30:40 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-08-21 01:30:40 +0000
commit66b0be2bc30fa2adf9cea4e2e01b4ed95b215dd1 (patch)
treeefa172085b4df696d84c4c12f58b5fce4bb6474f
parentgentoo/__init__.py: try webrsync harder (diff)
downloadanaconda-66b0be2bc30fa2adf9cea4e2e01b4ed95b215dd1.tar.gz
anaconda-66b0be2bc30fa2adf9cea4e2e01b4ed95b215dd1.tar.bz2
anaconda-66b0be2bc30fa2adf9cea4e2e01b4ed95b215dd1.zip
gentoo/__init__.py: os.path_exists -> os.path.exists
-rw-r--r--gentoo/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoo/__init__.py b/gentoo/__init__.py
index 603aa82..a82125e 100644
--- a/gentoo/__init__.py
+++ b/gentoo/__init__.py
@@ -32,7 +32,7 @@ class Portage:
# Syncs the Portage tree and updates Portage if an update is available
def sync(self):
self.term.run_command("chroot "+self.root+" emerge --sync")
- if not os.path_exists(self.root+"/usr/portage/metadata/timestamp"):
+ if not os.path.exists(self.root+"/usr/portage/metadata/timestamp"):
self.term.run_command("chroot "+self.root+" emerge-webrsync")
if self.term.get_child_exit_status() != 0:
return False