entropy.tools: effectively move compressTarBz2 to compress_tar_bz2
This commit is contained in:
@@ -1937,7 +1937,7 @@ def spliturl(url):
|
||||
import urlparse
|
||||
return urlparse.urlsplit(url)
|
||||
|
||||
def compressTarBz2(storepath, pathtocompress):
|
||||
def compress_tar_bz2(storepath, pathtocompress):
|
||||
cmd = "cd \""+pathtocompress+"\" && tar cjf \""+storepath+"\" " + \
|
||||
". &> /dev/null"
|
||||
return subprocess.call(cmd, shell = True)
|
||||
|
||||
Reference in New Issue
Block a user