Your ROOT_URL in app.ini is https://git.hpc.odu.edu/ but you are visiting https://git.wahab.hpc.odu.edu/wirawan0/wpylib/commit/2daca4af6e162dfbbe68d82032125ae76cdc21ca You should set ROOT_URL correctly, otherwise the web may not work correctly.

* tee_output: Allow None to be given in the `files' argument, which stands

for a null file.
master
Wirawan Purwanto 12 years ago
parent 80961ed2bd
commit 2daca4af6e
  1. 4
      file/tee.py

@ -30,7 +30,9 @@ class tee_output(object):
auto_close = []
mode = opts.get("mode", "w")
for f in files:
if isinstance(f, basestring):
if f == None:
pass
elif isinstance(f, basestring):
F = open(f, mode=mode)
fd.append(F)
auto_close.append(True)

Loading…
Cancel
Save