-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code for moving data files #578
base: master
Are you sure you want to change the base?
Changes from 39 commits
202f771
500ee98
f87e7cf
6549c49
01faff1
7f8d509
e73504f
8b39b24
55a20b4
c287021
8d60758
fafa4e6
47a9341
296b69f
1b0749d
03071f4
abcbfdc
61ac7dc
ad8c4cd
8e3d1d2
68c83bb
6624e28
0ec94b7
d63d9b2
ef05dfb
e456a73
18300f1
4c31bd6
9a1035f
fbcbe73
c321880
81da1e6
ab9e0a7
ce2c5db
268cb6f
f7cea4a
c07c266
0b008ba
e83a925
1880fff
56c2aa7
77d5bac
7487220
b703238
2f10438
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,12 +19,13 @@ | |
See here for usage examples: | ||
https://github.com/google/personfinder/wiki/DeveloperFaq | ||
""" | ||
import sys | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure exactly what this is for (?), but it shouldn't be necessary to modify There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @nworden sys.path was present since directory named handlers and utils were having config.py in it and it was supposed to be imported. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you can remove the |
||
|
||
from google.appengine.ext import db | ||
import UserDict, model, random, simplejson | ||
import logging | ||
import datetime | ||
import utils | ||
#import utils | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you may have accidentally commented this import out. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @nworden have uncommented it in this commit |
||
from datetime import timedelta | ||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -695,6 +695,10 @@ msgstr "Vergelyk hierdie rekords" | |
msgid "Contact information" | ||
msgstr "Kontakinligting" | ||
|
||
#, python-format | ||
msgid "Content purported to be compressed with %s but failed to decompress." | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure exactly why, but it looks like messages from files in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Even am trying to understand how messages are getting added to django.po files. Neither any of regular expression in my code is appending so. What exactly is the ask here ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please undo the changes you made to these files, we can't pull them into master. If you committed just the django.po file changes by themselves in a particular commit, it might be as easy as running |
||
msgstr "" | ||
|
||
msgid "Copy and paste the following HTML code to put this tool on your site" | ||
msgstr "" | ||
"Kopieer en plak die volgende HTML-kode om hierdie nutsding op jou werf te" | ||
|
@@ -1278,6 +1282,9 @@ msgstr "Rede waarom notas gedeaktiveer word:" | |
msgid "Records with names and addresses matching \"%(query)s\"" | ||
msgstr "Rekords met name en adresse wat pas by \"%(query)s\"" | ||
|
||
msgid "Redirected but the response is missing a Location: header." | ||
msgstr "" | ||
|
||
msgid "Remove" | ||
msgstr "Verwyder" | ||
|
||
|
@@ -1418,6 +1425,9 @@ msgstr "Die skrywer het notas oor hierdie rekord gedeaktiveer." | |
msgid "The author has disabled status updates on this record." | ||
msgstr "Die skrywer het statusopdaterings oor hierdie rekord gedeaktiveer." | ||
|
||
msgid "The challenge doesn't contain a server nonce, or this one is empty." | ||
msgstr "" | ||
|
||
#, python-format | ||
msgid "The note for %(full_name)s has been added" | ||
msgstr "Die nota vir %(full_name)s is bygevoeg" | ||
|
@@ -1565,6 +1575,18 @@ msgstr "URL van oorspronklike rekord" | |
msgid "Unspecified" | ||
msgstr "Ongespesifiseer" | ||
|
||
#, python-format | ||
msgid "Unsupported value for algorithm: %s." | ||
msgstr "" | ||
|
||
#, python-format | ||
msgid "Unsupported value for pw-algorithm: %s." | ||
msgstr "" | ||
|
||
#, python-format | ||
msgid "Unsupported value for qop: %s." | ||
msgstr "" | ||
|
||
msgid "Update an existing key" | ||
msgstr "Dateer 'n bestaande sleutel op" | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you intend to include all these changes related to const.py in this PR (the title says it's just for moving the data files)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nworden Initially in PR #450 ( closed ) I moved files related to handlers and utils into respective directories. This PR actually reverts them to app/ and copies only contents related to app/data/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The diffs I'm looking at are your current PR compared to our master branch, and there are a lot of changes unrelated to the data files. In particular, in many places it changes imports of
const
fromimport const
tofrom utils import const
(along with changes to sys.path and the django.po files).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nworden It was actually the part of handlers which were supposed to be moved from app directory. Now since handlers are kept under app/ we can keep const.py here itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nworden I have reverted that change to import const