75 os.remove(ATFN) 76 checkfile = '/tmp/.autotimeredit' 77 f = os.open(checkfile, os.O_WRONLY | os.O_CREAT)
88 tarFiles += "%s " % arg 89 lines = os.popen("tar cvf %s %s" % (ATFN, tarFiles)).readlines() 90 os.remove(checkfile)
112 check_tar = False 113 lines = os.popen('tar -tf %s' % ATFN).readlines() 114 for line in lines:
119 if check_tar: 120 lines = os.popen('tar xvf %s -C /' % ATFN).readlines() 121
127 autotimer.readXml() 128 except Exception: 129 # TODO: proper error handling
186 if password is None: 187 password = "" 188
281 variant = "oscam" 282 for file in ["/tmp/.ncam/ncam.version", "/tmp/.oscam/oscam.version"]: 283 if fileExists(file): # nosec
281 variant = "oscam" 282 for file in ["/tmp/.ncam/ncam.version", "/tmp/.oscam/oscam.version"]: 283 if fileExists(file): # nosec
174 debug("[[[ convertRating(%s) age=%s country=%s ]]]" % (val, age, country), "EPGEvent") 175 except Exception as err: 176 pass
92 try: 93 for line in open("/tmp/opkg.tmp", 'r'): 94 if line.startswith('Package:'):
216 try: 217 data = open("/tmp/opkg.tmp", 'r').read() 218 self.request.write(six.ensure_binary(data))
46 return serviceref.getPath() 47 except: 48 pass
241 }) 242 except Exception: 243 pass
330 try: 331 result = eval(require) 332 result = bool(result.value and str(result.value).lower() not in ("0", "disable", "false", "no", "off"))
341 try: 342 if not bool(eval(conditional)): 343 return False
71 72 self.filepath = "/tmp/screenshot." + fileformat 73 self.container = eConsoleAppContainer()
82 dest = rsa_pub1024(src[:128], mod) 83 hash = hashlib.sha1(dest[1:107]) 84 if len(src) == 202:
110 args = args.replace('__', urlparam) 111 except Exception: 112 pass
216 args = args.replace('__', urlparam) 217 except Exception: 218 pass
95 filename = timer.Filename 96 except Exception: 97 pass
100 nextactivation = timer.next_activation 101 except Exception: 102 pass
427 ''') 428 if VFFSL(SL,"iface.ip",True) != "0.0.0.0": # generated from line 165, col 7 429 write(u'''\t\t\t\t\t\t\t<tr>
531 ''') 532 if VFFSL(SL,"iface.ip",True) != "0.0.0.0": # generated from line 250, col 7 533 write(u'''\t\t\t\t\t\t\t\t\t<div class="row clearfix">
2345 return {'configs': resultcfgs} 2346 except Exception: 2347 # TODO show exception
2359 comp_config.OpenWebif.webcache.moviedb.save() 2360 except Exception: 2361 pass
2389 comp_config.OpenWebif.webcache.smallremote.save() 2390 except Exception: 2391 pass
2395 comp_config.OpenWebif.webcache.theme.save() 2396 except Exception: 2397 pass