Forráskód Böngészése

pythonlib: sync minor comments and white space with trunk (no difference in lib/python/script between trunk and 70 for https://trac.osgeo.org/grass/changeset/62790)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@62791 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 10 éve
szülő
commit
b3b18b571c
2 módosított fájl, 4 hozzáadás és 1 törlés
  1. 2 0
      lib/python/script/core.py
  2. 2 1
      lib/python/script/db.py

+ 2 - 0
lib/python/script/core.py

@@ -884,6 +884,8 @@ def compare_key_value_text_files(filename_a, filename_b, sep=":",
                 return False
     return True
 
+# interface to g.gisenv
+
 
 def gisenv():
     """Returns the output from running g.gisenv (with no arguments), as a

+ 2 - 1
lib/python/script/db.py

@@ -89,9 +89,10 @@ def db_table_exist(table, **args):
         ok = False
     finally:
         nuldev.close()
-    
+
     return ok
 
+
 def db_connection(force=False):
     """Return the current database connection parameters
     (interface to `db.connect -g`). Example: