summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2012-02-12 12:30:04 +0100
committerFlorian Bruhin <me@the-compiler.org>2012-02-12 12:30:04 +0100
commitbf16fa29e343c753b19eb77f59e678be3551ecd1 (patch)
treecdf306af6118b829e6514e90892aa86d0d79b39e
parentebc4ac70b483119be0a045df57b8616859bc2d8c (diff)
downloadwebopac-bf16fa29e343c753b19eb77f59e678be3551ecd1.tar.gz
webopac-bf16fa29e343c753b19eb77f59e678be3551ecd1.zip
fuck the filehandling, doesnt work
-rw-r--r--webopac.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/webopac.py b/webopac.py
index 4eeabd9..4f4c41a 100644
--- a/webopac.py
+++ b/webopac.py
@@ -64,10 +64,6 @@ def init():
initlog(options)
return (options, args)
-def writefile(infile, path='/home/florian/webopac.xml')
- with open(path, 'w') as outfile:
- outfile.write(infile.read()
-
def main():
(options, args) = init()
f = get_webopac_xml(args[0], baseurl=options.baseurl)