• R/O
  • SSH

execsql: Commit

Default repository for execsql.py


Commit MetaInfo

Révisiond268a44ae7a36aaf7cb1eb9b1d7085f4e34da872 (tree)
l'heure2016-07-19 12:18:59
AuteurDreas Nielsen <dreas.nielsen@gmai...>
CommiterDreas Nielsen

Message de Log

Corrected breakage on ODF export of text with newline or CR.

Change Summary

Modification

diff -r 8ef83a214416 -r d268a44ae7a3 execsql/execsql.py
--- a/execsql/execsql.py Sat Jul 02 10:49:22 2016 -0700
+++ b/execsql/execsql.py Mon Jul 18 20:18:59 2016 -0700
@@ -27,8 +27,8 @@
2727 #
2828 # ===============================================================================
2929
30-__version__ = "1.7.2.1"
31-__vdate = "2016-07-02"
30+__version__ = "1.7.2.2"
31+__vdate = "2016-07-18"
3232
3333 import os
3434 import os.path
@@ -813,6 +813,7 @@
813813 #tc = odf.table.TableCell(valuetype="time", value=datetime.datetime(1899,12,30, item.hour, item.minute, item.second, item.microsecond, item.tzinfo))
814814 elif isinstance(item, basestring):
815815 #tc = odf.table.TableCell(stringvalue=item)
816+ item = item.replace(u'\n', u' ').replace(u'\r', u' ')
816817 tc = odf.table.TableCell(valuetype="string", stringvalue=item)
817818 #tc.addElement(odf.text.P(text=unicode(item)))
818819 else:
diff -r 8ef83a214416 -r d268a44ae7a3 setup.py
--- a/setup.py Sat Jul 02 10:49:22 2016 -0700
+++ b/setup.py Mon Jul 18 20:18:59 2016 -0700
@@ -1,7 +1,7 @@
11 from distutils.core import setup
22
33 setup(name='execsql',
4- version='1.7.2.1',
4+ version='1.7.2.2',
55 description="Multi-DBMS SQL script processor. Runs a SQL script against a PostgreSQL, MS-Access, SQLite, MS-SQL-Server, MySQL, MariaDB, or Firebird database, or an ODBC DSN, with metacommands to import and export data, copy data between databases, conditionally execute SQL and metacommands, and dynamically alter SQL and metacommands with substitution variables.",
66 author='Dreas Nielsen',
77 author_email='dreas.nielsen@gmail.com',
Afficher sur ancien navigateur de dépôt.