[Getan-commits] [PATCH 2 of 2] Improves coding style and phrasing

Wald Commits scm-commit at wald.intevation.org
Fri Jan 26 17:28:37 CET 2018


# HG changeset patch
# User Bernhard Reiter <bernhard at intevation.de>
# Date 1516984113 -3600
# Node ID a4f04440f045cfcf53577cc214ba81dc115b7737
# Parent  ceb5909b106e4f44aa5b5c728906d144b9bcdc68
Improves coding style and phrasing.

diff -r ceb5909b106e -r a4f04440f045 CHANGES
--- 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
diff -r ceb5909b106e -r a4f04440f045 TODO
--- 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,
diff -r ceb5909b106e -r a4f04440f045 test_data/getan_test_data.py
--- 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
+""" Create test data for getan (getan_test_data.db).
 
-# Program to 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
 
+(c) 2018 Intevation GmbH
+Author: Magnus Schieder <magnus.schieder at intevation.de>
+
+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 at 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
 
 
@@ -73,5 +69,6 @@
     conn.close()
     print("getan_test_data.db was created.")
 
+
 if __name__ == '__main__':
     main()


More information about the Getan-commits mailing list