diff test_data/getan_test_data.py @ 450:45b7b83efaed

Prepares for release 2.2.
author Magnus Schieder <mschieder@intevation.de>
date Fri, 26 Jan 2018 13:15:34 +0100
parents 7125e67d5acb
children ab3c63877862
line wrap: on
line diff
--- a/test_data/getan_test_data.py	Mon Jan 22 08:14:34 2018 +0100
+++ b/test_data/getan_test_data.py	Fri Jan 26 13:15:34 2018 +0100
@@ -1,15 +1,18 @@
 #!/usr/bin/env python3
-#
-# Author: Magnus Schieder <magnus.schieder@intevation.de>
-# (c) 2018 Intevation GmbH
-#
+
 # Program to create test data for getan (getan_test_data.db).
-# Please delete existing getan_test_data.db.
-# Open getan with getan_test_data.db: getan /path/getan_test_data.db
-#
-# This is Free Software licensed under the terms of GPLv3 or later.
-# For details see LICENSE coming with the source of 'getan'.
-#
+
+"""
+ Author: Magnus Schieder <magnus.schieder@intevation.de>
+ (c) 2018 Intevation GmbH
+
+ Please delete existing getan_test_data.db.
+ Execute getan_test_data.py to get the test database getan_test_data.db.
+ Open getan with getan_test_data.db: getan /path/getan_test_data.db
+
+ This is Free Software licensed under the terms of GPLv3 or later.
+ For details see LICENSE coming with the source of 'getan'.
+"""
 
 
 import sqlite3
@@ -68,6 +71,7 @@
 
     conn.commit()
     conn.close()
+    print("getan_test_data.db was created.")
 
 if __name__ == '__main__':
     main()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)