[meld/VersionControlRework: 30/123] vc._vc: listdir always takes a path



commit 89a2ed318d1015191aed2677d960c38f34e2be22
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Mar 22 09:28:07 2015 +1000

    vc._vc: listdir always takes a path

 meld/vc/_vc.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meld/vc/_vc.py b/meld/vc/_vc.py
index 8c8a7c3..4f5f071 100644
--- a/meld/vc/_vc.py
+++ b/meld/vc/_vc.py
@@ -208,7 +208,7 @@ class Vc(object):
         """
         self._update_tree_state_cache(path)
 
-    def listdir(self, path="."):
+    def listdir(self, path):
         try:
             entries = sorted(e for e in os.listdir(path) if e != self.VC_DIR)
         except OSError:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]