From 66b0be2bc30fa2adf9cea4e2e01b4ed95b215dd1 Mon Sep 17 00:00:00 2001 From: wiktor w brodlo Date: Sun, 21 Aug 2011 01:30:40 +0000 Subject: gentoo/__init__.py: os.path_exists -> os.path.exists --- gentoo/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-65-gdbad