Skip to content

Commit

Permalink
0.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeauchesne committed Oct 14, 2018
1 parent 8363fbe commit e656e63
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions campbot/dump.py
@@ -1,3 +1,5 @@
#coding: utf-8

from __future__ import print_function

import sqlite3
Expand Down Expand Up @@ -498,11 +500,11 @@ def _search(pattern, lang=None):
false_title_bold = r"(\n|^)#+[^\n]*\*"

Dump().complete()
# _search(r"\b[Ee]tapes?\b", "fr")
_search(r"[dD][ue] (la|là|parking|sommet|col|refuge|relais) (redescendre|remonter|suivre|traverser|tourner|se diriger|prendre)", "fr")

# _search(r"((\n|^) {0,3}[LR]#.*)\n( {0,3}#)")

with open("contributors.txt", "w") as f:
for d in Dump().sql_file("campbot/sql/contrib_count.sql"):
f.write("|".join(map(str, d)) + "\n")
print(*d)
# with open("contributors.txt", "w") as f:
# for d in Dump().sql_file("campbot/sql/contrib_count.sql"):
# f.write("|".join(map(str, d)) + "\n")
# print(*d)
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -6,7 +6,7 @@

setup(
name='campbot',
version="0.5.4",
version="0.5.5",
packages=find_packages(),
author="Charles de Beauchesne",
author_email="charles.de.beauchesne@gmail.com",
Expand Down

0 comments on commit e656e63

Please sign in to comment.