[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] libvob/lava bgfilegen.py
From: |
Asko Soukka |
Subject: |
[Gzz-commits] libvob/lava bgfilegen.py |
Date: |
Sun, 04 May 2003 08:47:01 -0400 |
CVSROOT: /cvsroot/libvob
Module name: libvob
Changes by: Asko Soukka <address@hidden> 03/05/04 08:47:01
Modified files:
lava : bgfilegen.py
Log message:
update
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/lava/bgfilegen.py.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
Patches:
Index: libvob/lava/bgfilegen.py
diff -u libvob/lava/bgfilegen.py:1.9 libvob/lava/bgfilegen.py:1.10
--- libvob/lava/bgfilegen.py:1.9 Sun May 4 08:20:11 2003
+++ libvob/lava/bgfilegen.py Sun May 4 08:47:01 2003
@@ -54,26 +54,23 @@
try: sys.argv.remove('--jpeg'); jpeg = 1
except ValueError: jpeg = 0
+notify = None
+
print "ARGV:",sys.argv
-print "DBG:",dbg.short,dbg.long,dbg.all
+print "DBG:",dbg.short,dbg.long+['notify='],dbg.all
opts, args = getopt.getopt(sys.argv[1:],
dbg.short,
- dbg.long)
+ dbg.long+['notify='])
for o,a in opts:
print "Opt: ",o,a
+ if o == '--notify':
+ notify == a
if o in dbg.all:
dbg.option(o,a)
passmask = [1,1,1,1]
basedir = './' # must be ended by backslash
-# catching feature parameters from the command line
-try: sys.argv.remove('--texture'); texture = 1
-except ValueError: texture = 0
-
-# catching feature parameters from the command line
-try: sys.argv.remove('--texture'); texture = 1
-except ValueError: texture = 0
def listdir(path, extensions):
"""
@@ -144,6 +141,9 @@
long(seed.split('.')[0]),
jpeg)
os.system('rm '+basedir+seed)
+ if notify:
+ os.system(notify + ' ' + seed.split('.')[0])
+
else:
print time.strftime('%y/%m/%d %H:%M:%S'), \
"No requests, sleeping..."
- [Gzz-commits] libvob/lava bgfilegen.py, Asko Soukka, 2003/05/04
- [Gzz-commits] libvob/lava bgfilegen.py, Asko Soukka, 2003/05/04
- [Gzz-commits] libvob/lava bgfilegen.py,
Asko Soukka <=
- [Gzz-commits] libvob/lava bgfilegen.py, Asko Soukka, 2003/05/04
- [Gzz-commits] libvob/lava bgfilegen.py, Asko Soukka, 2003/05/04
- [Gzz-commits] libvob/lava bgfilegen.py, Asko Soukka, 2003/05/04
- [Gzz-commits] libvob/lava bgfilegen.py, Asko Soukka, 2003/05/06
- [Gzz-commits] libvob/lava bgfilegen.py, Asko Soukka, 2003/05/06
- [Gzz-commits] libvob/lava bgfilegen.py, Asko Soukka, 2003/05/06
- [Gzz-commits] libvob/lava bgfilegen.py, Asko Soukka, 2003/05/07
- [Gzz-commits] libvob/lava bgfilegen.py, Asko Soukka, 2003/05/07
- [Gzz-commits] libvob/lava bgfilegen.py, Asko Soukka, 2003/05/07