diff options
author | Florian Bruhin <me@the-compiler.org> | 2012-02-12 12:30:04 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2012-02-12 12:30:04 +0100 |
commit | bf16fa29e343c753b19eb77f59e678be3551ecd1 (patch) | |
tree | cdf306af6118b829e6514e90892aa86d0d79b39e | |
parent | ebc4ac70b483119be0a045df57b8616859bc2d8c (diff) | |
download | webopac-bf16fa29e343c753b19eb77f59e678be3551ecd1.tar.gz webopac-bf16fa29e343c753b19eb77f59e678be3551ecd1.zip |
fuck the filehandling, doesnt work
-rw-r--r-- | webopac.py | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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) |