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

Unified Diff: sitescripts/urlfixer/bin/forceDomains.py

Issue 29345343: Noissue - Fixed misplaced module docstrings (Closed)
Patch Set: Created May 30, 2016, 11:01 a.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/urlfixer/bin/topDomains.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/urlfixer/bin/forceDomains.py
===================================================================
--- a/sitescripts/urlfixer/bin/forceDomains.py
+++ b/sitescripts/urlfixer/bin/forceDomains.py
@@ -13,17 +13,17 @@
# You should have received a copy of the GNU General Public License
# along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
+"""
+This script adds domains supplied on the command line to the "correct domains"
+list permanently. This is useful for less popular domains that are commonly
+affected by false positives.
+"""
+
import sys
import os
import MySQLdb
from sitescripts.utils import get_config, setupStderr
-'''
-This script adds domains supplied on the command line to the "correct domains"
-list permanently. This is useful for less popular domains that are commonly
-affected by false positives.
-'''
-
def forceDomains(domains):
db = _get_db()
« no previous file with comments | « no previous file | sitescripts/urlfixer/bin/topDomains.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld