Commit 8bd128eb authored by echel0n's avatar echel0n
Browse files

Release v9.4.30

parent 90fdbb12
# Changelog
- * 965a9ab - 2018-11-11: Pre-Release v9.4.30.dev1
- * 1589213 - 2018-11-11: Release v9.4.30
- * 90fdbb1 - 2018-11-11: Pre-Release v9.4.30.dev1
- * 007df0a - 2018-11-11: Refactored get, all, and get_many database functions.
- * f87d6ad - 2018-11-11: Release v9.4.29
- * 7d0812a - 2018-11-11: Pre-Release v9.4.29.dev2
......
......@@ -344,8 +344,9 @@ class srDatabase(object):
log.debug('Failed deleting corrupted: {}'.format(traceback.format_exc()))
def all(self, *args, **kwargs):
with_doc = kwargs.pop('with_doc', True)
for data in self.db.all(*args, **kwargs):
if kwargs.pop('with_doc', True):
if with_doc:
try:
doc = self.db.get('id', data['_id'])
yield doc
......@@ -357,8 +358,9 @@ class srDatabase(object):
yield data
def get_many(self, *args, **kwargs):
with_doc = kwargs.pop('with_doc', True)
for data in self.db.get_many(*args, **kwargs):
if kwargs.pop('with_doc', True):
if with_doc:
try:
doc = self.db.get('id', data['_id'])
yield doc
......@@ -371,7 +373,7 @@ class srDatabase(object):
def get(self, *args, **kwargs):
try:
x = self.db.get(with_doc=kwargs.pop('with_doc', True), *args, **kwargs)
x = self.db.get(with_doc=kwargs.get('with_doc', True), *args, **kwargs)
return x.get('doc', x)
except (RecordDeleted, RecordNotFound):
pass
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-11 21:25-0800\n"
"PO-Revision-Date: 2018-11-12 05:26\n"
"POT-Creation-Date: 2018-11-11 23:24-0800\n"
"PO-Revision-Date: 2018-11-12 07:25\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Arabic\n"
"MIME-Version: 1.0\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-11 21:25-0800\n"
"PO-Revision-Date: 2018-11-12 05:26\n"
"POT-Creation-Date: 2018-11-11 23:24-0800\n"
"PO-Revision-Date: 2018-11-12 07:25\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Catalan\n"
"MIME-Version: 1.0\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-11 21:25-0800\n"
"PO-Revision-Date: 2018-11-12 05:26\n"
"POT-Creation-Date: 2018-11-11 23:24-0800\n"
"PO-Revision-Date: 2018-11-12 07:25\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Czech\n"
"MIME-Version: 1.0\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-11 21:25-0800\n"
"PO-Revision-Date: 2018-11-12 05:26\n"
"POT-Creation-Date: 2018-11-11 23:24-0800\n"
"PO-Revision-Date: 2018-11-12 07:25\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Danish\n"
"MIME-Version: 1.0\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-11 21:25-0800\n"
"PO-Revision-Date: 2018-11-12 05:26\n"
"POT-Creation-Date: 2018-11-11 23:24-0800\n"
"PO-Revision-Date: 2018-11-12 07:25\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: German\n"
"MIME-Version: 1.0\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-11 21:25-0800\n"
"PO-Revision-Date: 2018-11-12 05:26\n"
"POT-Creation-Date: 2018-11-11 23:24-0800\n"
"PO-Revision-Date: 2018-11-12 07:25\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Greek\n"
"MIME-Version: 1.0\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-11 21:25-0800\n"
"PO-Revision-Date: 2018-11-12 05:27\n"
"POT-Creation-Date: 2018-11-11 23:24-0800\n"
"PO-Revision-Date: 2018-11-12 07:26\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: English\n"
"MIME-Version: 1.0\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-11 21:25-0800\n"
"PO-Revision-Date: 2018-11-12 05:26\n"
"POT-Creation-Date: 2018-11-11 23:24-0800\n"
"PO-Revision-Date: 2018-11-12 07:25\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Spanish\n"
"MIME-Version: 1.0\n"
......
......@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: sickragetv\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2018-11-11 21:25-0800\n"
"PO-Revision-Date: 2018-11-12 05:26\n"
"POT-Creation-Date: 2018-11-11 23:24-0800\n"
"PO-Revision-Date: 2018-11-12 07:25\n"
"Last-Translator: echel0n <[email protected]>\n"
"Language-Team: Finnish\n"
"MIME-Version: 1.0\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment