Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-01-07 17:25:36 (GMT)
committer Tomeu Vizoso <tomeu@sugarlabs.org>2009-01-07 17:25:36 (GMT)
commit7780df611d55513de63af06724b42b10b4ceaa51 (patch)
tree4650a0114164a3f907e6f02954c63605c05c2ddc /src
parent964166edd86aca5665d6db2f46c76d41cbd60e1f (diff)
Remove one os.path.join() for perf reasons
Diffstat (limited to 'src')
-rw-r--r--src/jarabe/journal/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jarabe/journal/model.py b/src/jarabe/journal/model.py
index d9e4cf1..831bd0e 100644
--- a/src/jarabe/journal/model.py
+++ b/src/jarabe/journal/model.py
@@ -226,7 +226,7 @@ class InplaceResultSet(BaseResultSet):
def _get_all_files(self, dir_path):
files = []
for entry in os.listdir(dir_path):
- full_path = os.path.join(dir_path, entry)
+ full_path = dir_path + '/' + entry
stat = os.stat(full_path)
if S_IFMT(stat.st_mode) == S_IFDIR: