summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-03-06 16:37:36 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-03-06 16:37:36 -0600
commit8c9ff0c97d0802fadc96fe9eacaef7eaa2db5ad2 (patch)
tree781a9df3e9f7b697fbd6540a461a32055a719525
parent6c2d629b46ef80d4d75b99b3ccc7eb9fa3352e27 (diff)
* Using os.path.join for joining path instead of str + str to avoid errors
-rw-r--r--pato2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pato2.py b/pato2.py
index 21dde16..936e97a 100644
--- a/pato2.py
+++ b/pato2.py
@@ -137,7 +137,7 @@ def link(repo_,arch_,file_):
printf(cmd_ + a)
def add_free_repo(verbose_=verbose):
- cmd_=home + "/usr/bin/sync-free"
+ cmd_=os.path.join(home,"/usr/bin/sync-free")
printf(cmd_)
a=commands.getoutput(cmd_)
if verbose_: printf(a)