Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/__init__.py

Issue 29993614: Issue 2267 - Unify form handling by reusing form_handler() (Closed) Base URL: https://hg.adblockplus.org/sitescripts/
Patch Set: Created Jan. 30, 2019, 11:43 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sitescripts/reports/tests/test_updateReport.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/__init__.py
===================================================================
--- a/sitescripts/__init__.py
+++ b/sitescripts/__init__.py
@@ -18,6 +18,8 @@
# However, everybody potentially running these scripts in a terminal is working
# on them and should be aware of all warnings.
import sys
+import pymysql
Vasily Kuznetsov 2019/01/31 17:34:29 I don't think that it's a good idea to make any us
rhowell 2019/02/02 05:45:22 Good point. I am able to move this to sitescripts/
if sys.stderr.isatty():
import warnings
warnings.simplefilter('default')
+pymysql.install_as_MySQLdb()
rhowell 2019/01/30 23:47:35 updateReport.py uses some modules from sitescripts
« no previous file with comments | « no previous file | sitescripts/reports/tests/test_updateReport.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld