changeset 454:a4f04440f045 2.2

Improves coding style and phrasing.
author Bernhard Reiter <bernhard@intevation.de>
date Fri, 26 Jan 2018 17:28:33 +0100
parents ceb5909b106e
children 669766ad5477
files CHANGES TODO test_data/getan_test_data.py
diffstat 3 files changed, 15 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES	Fri Jan 26 17:23:01 2018 +0100
+++ b/CHANGES	Fri Jan 26 17:28:33 2018 +0100
@@ -1,9 +1,9 @@
 2.2 2018-01-26
 
  * The problem with unwanted multi moves and deletions is solved.
-   The multi-selection is deleted when switching from the entrie list to
-   project list. This avoids errors when moving or erasing.
-   More information can be found in /getan/doc/old_issues.txt -20180117
+   The multi-selection is deleted when switching from the entry-list to
+   project-list. This avoids errors when moving or erasing.
+   More information can be found in ./doc/old_issues.txt -20180117
    Patch by Magnus Schieder
 
  * Improves 'move' operation to work in the current entry, if there is no
--- a/TODO	Fri Jan 26 17:23:01 2018 +0100
+++ b/TODO	Fri Jan 26 17:28:33 2018 +0100
@@ -16,8 +16,8 @@
     Observation: ent1 and ent2 are not highlighted anymore.
 
   20180126 Magnus Schieder
-	The selection is deleted when switching to the projects.
-	So ent1 and ent2 should not highlighted anymore.
+    The selection is deleted when switching to the projects.
+    So ent1 and ent2 should not highlighted anymore.
 
 20180118 BER There should be an indication which entries are shown
     when being in the right pane. When you use tab to go to the entries,
--- a/test_data/getan_test_data.py	Fri Jan 26 17:23:01 2018 +0100
+++ b/test_data/getan_test_data.py	Fri Jan 26 17:28:33 2018 +0100
@@ -1,20 +1,16 @@
 #!/usr/bin/env python3
-
-# Program to create test data for getan (getan_test_data.db).
-
-"""
- Author: Magnus Schieder <magnus.schieder@intevation.de>
- (c) 2018 Intevation GmbH
+""" Create test data for getan (getan_test_data.db).
 
- 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
+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'.
+(c) 2018 Intevation GmbH
+Author: Magnus Schieder <magnus.schieder@intevation.de>
+
+This is Free Software licensed under the terms of GPLv3 or later.
+For details see LICENSE coming with the source of 'getan'.
 """
-
-
 import sqlite3
 
 
@@ -73,5 +69,6 @@
     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)