diff options
author | wiktor w brodlo <wiktor@brodlo.net> | 2011-08-21 01:30:40 +0000 |
---|---|---|
committer | wiktor w brodlo <wiktor@brodlo.net> | 2011-08-21 01:30:40 +0000 |
commit | 66b0be2bc30fa2adf9cea4e2e01b4ed95b215dd1 (patch) | |
tree | efa172085b4df696d84c4c12f58b5fce4bb6474f | |
parent | gentoo/__init__.py: try webrsync harder (diff) | |
download | anaconda-66b0be2bc30fa2adf9cea4e2e01b4ed95b215dd1.tar.gz anaconda-66b0be2bc30fa2adf9cea4e2e01b4ed95b215dd1.tar.bz2 anaconda-66b0be2bc30fa2adf9cea4e2e01b4ed95b215dd1.zip |
gentoo/__init__.py: os.path_exists -> os.path.exists
-rw-r--r-- | gentoo/__init__.py | 2 |
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 |