[Uludag-commits] r12293 - trunk/pisi/pisi
svn-uludag at uludag.org.tr
svn-uludag at uludag.org.tr
8 Şub 2007 Per 00:28:40 EET
Author: caglar
Date: Thu Feb 8 00:28:40 2007
New Revision: 12293
Modified:
trunk/pisi/pisi/delta.py
Log:
ktorrent --> Min: ktorrent-14-13.delta.pisi Max: ktorrent-2.1_rc1-13-13.pisi
Creating delta PiSi package between ktorrent-14-13.delta.pisi ktorrent-2.1_rc1-13-13.pisi
Traceback (most recent call last):
File "/var/www/localhost/htdocs/delta/createdelta.py", line 47, in ?
create_delta_package(old_pkg, new_pkg)
File "/usr/lib/pardus/pisi/delta.py", line 82, in create_delta_package
os.unlink(util.join_path(ctx.config.tmp_dir(), ctx.const.install_tar_lzma))
OSError: [Errno 2] No such file or directory: '/var/pisi/install.tar.lzma'
Modified: trunk/pisi/pisi/delta.py
=================================================================
--- trunk/pisi/pisi/delta.py (original)
+++ trunk/pisi/pisi/delta.py Thu Feb 8 00:28:40 2007
@@ -79,7 +79,10 @@
deltapkg.close()
- os.unlink(util.join_path(ctx.config.tmp_dir(), ctx.const.install_tar_lzma))
+ tmp_file = util.join_path(ctx.config.tmp_dir(), ctx.const.install_tar_lzma)
+ if os.path.exists(tmp_file):
+ os.unlink(tmp_file)
+
ctx.build_leftover = None
os.chdir(c)
Uludag-commits mesaj listesiyle ilgili
daha fazla bilgi