fix indentation / tab pbs
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 22 Jan 2010 11:18:13 +0100
changeset 4328 b8112afb213c
parent 4327 e397b921c40f
child 4329 815e08c53548
fix indentation / tab pbs
schemas/_regproc_bss.postgres.sql
--- a/schemas/_regproc_bss.postgres.sql	Fri Jan 22 10:43:12 2010 +0100
+++ b/schemas/_regproc_bss.postgres.sql	Fri Jan 22 11:18:13 2010 +0100
@@ -10,12 +10,12 @@
     fpath = args[0]
     if fpath:
         try:
-	    data = file(fpath, 'rb').read()
-	    #/* XXX due to plpython bug we have to replace some characters... */
+            data = file(fpath, 'rb').read()
+            #/* XXX due to plpython bug we have to replace some characters... */
             return data.replace("\\", r"\134").replace("\000", r"\000").replace("'", r"\047") #'
         except Exception, ex:
-	    plpy.warning('failed to get content for %s: %s', fpath, ex)
-     return None
+            plpy.warning('failed to get content for %s: %s', fpath, ex)
+    return None
 $$ LANGUAGE plpythonu
 /* WITH(ISCACHABLE) XXX does postgres handle caching of large data nicely */
 ;;