diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/src/jottalib/cli.py b/src/jottalib/cli.py index <HASH>..<HASH> 100644 --- a/src/jottalib/cli.py +++ b/src/jottalib/cli.py @@ -435,6 +435,7 @@ def mkdir(argv=None): argv = sys.argv[1:] parser = argparse.ArgumentParser(description='Create a new folder in Jottacloud.') parser.add_argument('...
Make sure arguments to cli commands are properly decoded
py
diff --git a/{{cookiecutter.repo_name}}/config/settings/production.py b/{{cookiecutter.repo_name}}/config/settings/production.py index <HASH>..<HASH> 100644 --- a/{{cookiecutter.repo_name}}/config/settings/production.py +++ b/{{cookiecutter.repo_name}}/config/settings/production.py @@ -119,7 +119,11 @@ AWS_HEADERS = { ...
Make sure that STATIC_URL != MEDIA_URL
py
diff --git a/pstats_print2list/pstats_print2list.py b/pstats_print2list/pstats_print2list.py index <HASH>..<HASH> 100755 --- a/pstats_print2list/pstats_print2list.py +++ b/pstats_print2list/pstats_print2list.py @@ -95,7 +95,7 @@ def get_pstats_print2list(fnames, filter_fnames=None, exclude_fnames=None, stream.seek...
[FIX] pstats_print2list: Fix regex to support ncalls without '/'
py
diff --git a/notification/models.py b/notification/models.py index <HASH>..<HASH> 100644 --- a/notification/models.py +++ b/notification/models.py @@ -24,6 +24,10 @@ class LanguageStoreNotAvailable(Exception): pass +def create_notice_type(label, display, description, **kwargs): + NoticeType.create(label, di...
added the create_notice_type wrapper in models In the docs it is advised to use create_notice_type to create a new NoticeType object. But this function was absent. Although it is possible to create a new NoticeType using the 'create' function of the class, this addition makes the code follow the docs and compatible wi...
py
diff --git a/benchbuild/environments/adapters/buildah.py b/benchbuild/environments/adapters/buildah.py index <HASH>..<HASH> 100644 --- a/benchbuild/environments/adapters/buildah.py +++ b/benchbuild/environments/adapters/buildah.py @@ -104,7 +104,7 @@ def set_entry_point( def set_command(container: model.Container,...
buildah: command -> cmd
py
diff --git a/icekit/admin.py b/icekit/admin.py index <HASH>..<HASH> 100644 --- a/icekit/admin.py +++ b/icekit/admin.py @@ -75,7 +75,7 @@ class ChildModelPluginPolymorphicParentModelAdmin(PolymorphicParentModelAdmin): plugins = self.child_model_plugin_class.get_plugins() if plugins: labels...
use title case for listing polymorphic plugins, to avoid unnecessary verbose_name spec.
py
diff --git a/glue/ldbd.py b/glue/ldbd.py index <HASH>..<HASH> 100644 --- a/glue/ldbd.py +++ b/glue/ldbd.py @@ -74,6 +74,8 @@ class LIGOMetadataDatabase: self.database = database self.uniqueids = {} conn = mxdb.Connect(database) + def __len__(self): + return len(self.args) curs = conn.cursor() ...
added __len__ method to execptions
py
diff --git a/bigquery/client.py b/bigquery/client.py index <HASH>..<HASH> 100644 --- a/bigquery/client.py +++ b/bigquery/client.py @@ -541,7 +541,7 @@ class BigQueryClient(object): The name of the table to create schema : dict The table schema - expiration_time : float, optiona...
expiration_time changed to int/double
py
diff --git a/c7n/metrics.py b/c7n/metrics.py index <HASH>..<HASH> 100644 --- a/c7n/metrics.py +++ b/c7n/metrics.py @@ -52,7 +52,7 @@ class MetricsFilter(Filter): """ schema = type_schema( - 'metric', + 'metrics', namespace={'type': 'string'}, name={'type': 'string'}, ...
fix unify metrics vs metric in schema and filter reg <I>e<I>e (#<I>)
py
diff --git a/kit.py b/kit.py index <HASH>..<HASH> 100644 --- a/kit.py +++ b/kit.py @@ -500,6 +500,9 @@ class INI(): self.config.read(self.filepath) return self.config._sections + def get_options(self, section): + return list(self.dictionary[section].keys()) + def has_option(self, ...
ini.get_options - INI class has new get_options method
py
diff --git a/stanfordnlp/server/client.py b/stanfordnlp/server/client.py index <HASH>..<HASH> 100644 --- a/stanfordnlp/server/client.py +++ b/stanfordnlp/server/client.py @@ -375,7 +375,7 @@ class CoreNLPClient(RobustService): if properties_key.lower() in CoreNLPClient.PIPELINE_LANGUAGES: ...
make copy of cached properties for request, fix bug
py
diff --git a/shapefile.py b/shapefile.py index <HASH>..<HASH> 100644 --- a/shapefile.py +++ b/shapefile.py @@ -15,6 +15,7 @@ import sys import time import array import tempfile +import itertools # # Constants for shape types @@ -552,6 +553,13 @@ class Reader: return [_ShapeRecord(shape=rec[0], re...
Added `Reader.iterShapeRecords` to help work with larger files
py
diff --git a/puppet/bootstrap.py b/puppet/bootstrap.py index <HASH>..<HASH> 100644 --- a/puppet/bootstrap.py +++ b/puppet/bootstrap.py @@ -174,17 +174,19 @@ def main(): distro, release = get_release_name() print('Distro %s, release %s' % (distro, release)) - # Add repository - add_puppet_repository() ...
Not trying to install puppet if it's already there
py
diff --git a/minio/post_policy.py b/minio/post_policy.py index <HASH>..<HASH> 100644 --- a/minio/post_policy.py +++ b/minio/post_policy.py @@ -77,10 +77,10 @@ class PostPolicy(object): return_str = return_str + policies_str return_str = return_str + '}' - return return_str + return...
Return _marshal_json as bytes
py
diff --git a/query.py b/query.py index <HASH>..<HASH> 100644 --- a/query.py +++ b/query.py @@ -239,6 +239,9 @@ class Query(object): def values(self): return list(self.itervalues()) + def iterallitems(self): + return iter(self._pairs) + def allitems(self): return self._pai...
input.Get seems to work with the same-ish interface.
py
diff --git a/articles/models.py b/articles/models.py index <HASH>..<HASH> 100644 --- a/articles/models.py +++ b/articles/models.py @@ -248,7 +248,7 @@ class Attachment(models.Model): filetype = models.CharField(max_length=4, editable=False) def save(self): - self.filetype = self.file.name.split("....
Fixed an issue where uploading an attachment would cause an error due to file not being a recognized name in the class. Probably just forgot to switch when it was refactored at some point.
py
diff --git a/tests/test_session.py b/tests/test_session.py index <HASH>..<HASH> 100644 --- a/tests/test_session.py +++ b/tests/test_session.py @@ -365,6 +365,7 @@ class TestRPCSession: server.port) as client: with pytest.raises(RPCError) as e: await client.sen...
Add a sleep to avoid intermittent failures
py
diff --git a/renku/core/models/provenance/activity.py b/renku/core/models/provenance/activity.py index <HASH>..<HASH> 100644 --- a/renku/core/models/provenance/activity.py +++ b/renku/core/models/provenance/activity.py @@ -17,6 +17,7 @@ # limitations under the License. """Represent an execution of a Plan.""" from da...
fix activity annotation (#<I>)
py
diff --git a/phy/cluster/manual/gui.py b/phy/cluster/manual/gui.py index <HASH>..<HASH> 100644 --- a/phy/cluster/manual/gui.py +++ b/phy/cluster/manual/gui.py @@ -359,6 +359,13 @@ class ClusterManualGUI(BaseGUI): # actions. This allows for better before/after comparisons. if up.added: sel...
Fixed cluster selection in wizard after group change.
py
diff --git a/restclients/sws/v5/graderoster.py b/restclients/sws/v5/graderoster.py index <HASH>..<HASH> 100644 --- a/restclients/sws/v5/graderoster.py +++ b/restclients/sws/v5/graderoster.py @@ -20,6 +20,7 @@ def get_graderoster(section, instructor): instructor=instructor).graderoster_label() ...
adds a keep-alive header for graderoster requests
py
diff --git a/internetarchive/internetarchive.py b/internetarchive/internetarchive.py index <HASH>..<HASH> 100755 --- a/internetarchive/internetarchive.py +++ b/internetarchive/internetarchive.py @@ -60,7 +60,7 @@ class Item(object): #_________________________________________________________________________________...
If file-level metadata is not available for an item, return an empty iterator rather than KeyError in item.files(). Added external_identifier attribute to the File class.
py
diff --git a/odl/space/npy_tensors.py b/odl/space/npy_tensors.py index <HASH>..<HASH> 100644 --- a/odl/space/npy_tensors.py +++ b/odl/space/npy_tensors.py @@ -1856,7 +1856,10 @@ def _lincomb_impl(a, x1, b, x2, out): _lincomb_impl(a + b, x1, 0, x1, out) elif out is x1 and out is x2: # All the vect...
BUG: Fix bug with zero-assignment with nans, see #<I>
py
diff --git a/tests/jenkins.py b/tests/jenkins.py index <HASH>..<HASH> 100644 --- a/tests/jenkins.py +++ b/tests/jenkins.py @@ -90,6 +90,9 @@ def run(platform, provider, commit, clean): # Anything else, raise the exception raise + # Flush any remaining stdout output + sys.stdout.flush()...
Flush test-suite output before running the cleanup code.
py
diff --git a/schema/brain/binary/__init__.py b/schema/brain/binary/__init__.py index <HASH>..<HASH> 100644 --- a/schema/brain/binary/__init__.py +++ b/schema/brain/binary/__init__.py @@ -3,4 +3,3 @@ Helpers to move binary files in and out of Brain.Files """ from .data import * -from .filesystem import start_filesys...
remove fs from init to not thorw fuse error if not installed
py
diff --git a/pylon/ac_pf.py b/pylon/ac_pf.py index <HASH>..<HASH> 100644 --- a/pylon/ac_pf.py +++ b/pylon/ac_pf.py @@ -153,7 +153,7 @@ class _ACPF(object): elapsed = time() - t0 - if converged: + if converged and self.verbose: logger.info("AC power flow converged in %.3fs" % elap...
Logging convergence failure as an error.
py
diff --git a/raiden/transfer/state.py b/raiden/transfer/state.py index <HASH>..<HASH> 100644 --- a/raiden/transfer/state.py +++ b/raiden/transfer/state.py @@ -325,6 +325,9 @@ class NettingChannelEndState(State): if self.address == NULL_ADDRESS_BYTES: raise ValueError("address cannot be null.") +...
Added two sanity checks for the NettingChannelEndState
py
diff --git a/transmogrify/images2gif.py b/transmogrify/images2gif.py index <HASH>..<HASH> 100644 --- a/transmogrify/images2gif.py +++ b/transmogrify/images2gif.py @@ -575,7 +575,12 @@ def write_gif(filename, images, duration=0.1, repeat=True, dither=False, images = gif_writer.convert_images_to_pil(images, dither, ...
Allow buffers in the image2gif
py
diff --git a/mambustruct.py b/mambustruct.py index <HASH>..<HASH> 100644 --- a/mambustruct.py +++ b/mambustruct.py @@ -177,17 +177,21 @@ class MambuStruct(object): else: resp = urlopen(self.__urlfunc(self.entid, *args, **kwargs)) self.rc.add(datetime.now()) + ...
Change where on mambustruct the json is loaded. Since sometimes a ValueError is throwed, and we assume that's a problem of communication with Mambu, we now read the json inside the try/except block where we also contact Mambu, so we treat both problems as the same one.
py
diff --git a/bootstrap_datepicker/widgets.py b/bootstrap_datepicker/widgets.py index <HASH>..<HASH> 100644 --- a/bootstrap_datepicker/widgets.py +++ b/bootstrap_datepicker/widgets.py @@ -110,9 +110,10 @@ class DatePicker(DateTimeInput): def render(self, name, value, attrs=None): if value is None: ...
Update widgets.py Moved added attrs to a separate dict.
py
diff --git a/openquake/commonlib/tests/calculators/event_loss_test.py b/openquake/commonlib/tests/calculators/event_loss_test.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/tests/calculators/event_loss_test.py +++ b/openquake/commonlib/tests/calculators/event_loss_test.py @@ -1,3 +1,4 @@ +import unittest fro...
Skipped the EventLossTestCase
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages setup( name='django-earthdistance', - version='1.1.2', + version='1.1.3', install_requires=[ 'django>=1.8'], url='https://github.com/jne...
new release <I> (#<I>)
py
diff --git a/src/toil/test/sort/sortTest.py b/src/toil/test/sort/sortTest.py index <HASH>..<HASH> 100755 --- a/src/toil/test/sort/sortTest.py +++ b/src/toil/test/sort/sortTest.py @@ -189,6 +189,7 @@ class SortTest(ToilTest, MesosTestSupport, ParasolTestSupport): self._toilSort(jobStore=self._getTestJobStorePat...
Disabling Parasol-based sort tests again as it is still hanging from time to time
py
diff --git a/screensaver/screensaver.py b/screensaver/screensaver.py index <HASH>..<HASH> 100755 --- a/screensaver/screensaver.py +++ b/screensaver/screensaver.py @@ -341,7 +341,7 @@ if __name__ == "__main__": elif args.larson: loop.create_task(larsonScanner()) else: - loop.create_task(randomRainbowTransforms()...
screensaver use improved rainbow transforms
py
diff --git a/quilt/tools/main.py b/quilt/tools/main.py index <HASH>..<HASH> 100644 --- a/quilt/tools/main.py +++ b/quilt/tools/main.py @@ -42,7 +42,7 @@ def main(): build_p = subparsers.add_parser("build") build_p.add_argument("package", type=str, help=HANDLE) - build_p.add_argument("path", nargs="?", ty...
Make path required in `quilt build` (#<I>) Currently, without a path, it builds an empty package. This doesn't seem useful or intuitive. (It's still possible to build an empty package by using the Python API directly, though.)
py
diff --git a/tests/resources.py b/tests/resources.py index <HASH>..<HASH> 100644 --- a/tests/resources.py +++ b/tests/resources.py @@ -116,7 +116,7 @@ class BaseCal(object): # Numpy default for allclose comparison rtol = 1e-6 - atol = 0 + atol = 1e-5 # To be defined by instrument refstr = ...
Revise tests to better use tolerances (#<I>)
py
diff --git a/src/Exscript/FuncJob.py b/src/Exscript/FuncJob.py index <HASH>..<HASH> 100644 --- a/src/Exscript/FuncJob.py +++ b/src/Exscript/FuncJob.py @@ -46,4 +46,4 @@ class FuncJob(Action): local_data['transport'].set_on_data_received_cb(None) raise local_data['transport'].set_on_da...
No longer require useless True return value from Action objects.
py
diff --git a/ingredients_http/router.py b/ingredients_http/router.py index <HASH>..<HASH> 100644 --- a/ingredients_http/router.py +++ b/ingredients_http/router.py @@ -34,10 +34,14 @@ class Router(object): self.logger.debug( "Registering route " + complete_uri + " with action " + action.__name__ + ...
add on_register to router so we can trigger off it
py
diff --git a/pandas/tseries/offsets.py b/pandas/tseries/offsets.py index <HASH>..<HASH> 100644 --- a/pandas/tseries/offsets.py +++ b/pandas/tseries/offsets.py @@ -363,7 +363,7 @@ class MonthEnd(DateOffset, CacheableOffset): """DateOffset of one month end""" def apply(self, other): - other = datetime(...
Included timezone information when applying month-end offset to ensure timezone information is preserved on index unions.
py
diff --git a/mock/tests/testhelpers.py b/mock/tests/testhelpers.py index <HASH>..<HASH> 100644 --- a/mock/tests/testhelpers.py +++ b/mock/tests/testhelpers.py @@ -977,6 +977,8 @@ class SpecSignatureTest(unittest.TestCase): check_data_descriptor(foo.desc) + @unittest.skipIf('PyPy' in sys.version and sys....
Deferring fixing this into <URL>
py
diff --git a/blockstack/lib/operations/preorder.py b/blockstack/lib/operations/preorder.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/operations/preorder.py +++ b/blockstack/lib/operations/preorder.py @@ -251,7 +251,7 @@ def parse(bin_payload, block_height): Record format when burning STACKs (STACKS Phase 1)...
docs: big-endian token representation
py
diff --git a/fundamentals/mysql/tests/test_database.py b/fundamentals/mysql/tests/test_database.py index <HASH>..<HASH> 100644 --- a/fundamentals/mysql/tests/test_database.py +++ b/fundamentals/mysql/tests/test_database.py @@ -43,20 +43,21 @@ if not os.path.exists(pathToOutputDir): dbSettings = settings["database sett...
commenting out remote test after corona jump box
py
diff --git a/manage.py b/manage.py index <HASH>..<HASH> 100644 --- a/manage.py +++ b/manage.py @@ -11,5 +11,5 @@ if __name__ == "__main__": "Couldn't import Django. Are you sure it's installed and " "available on your PYTHONPATH environment variable? Did you " "forget to activate ...
Fix - Typo in manage.py It was'nt affecting the code when launched with coverage run so it went unnoticed.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -54,8 +54,8 @@ setup( packages = [ 'pyxmpp2', 'pyxmpp2.mainloop', - 'pyxmpp2.jabber', - 'pyxmpp2.jabberd', +# 'pyxmpp2.jabber', +# 'pyxmpp2.jabberd', 'pyxmpp2.sasl', ...
Do not build/distribute jabber and jabberd subp. pyxmpp2.jabber and pyxmpp2.jabberd are still legacy PyXMPP code not rewritten for PyXMPP2.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ with open('README.rst', 'r') as f: extras_require = { 'serial': ['pyserial~=3.0'], 'neovi': ['python-ics>=2.12'], - 'usb_can_analyzer': ['crccheck>=0.6','pyserial>=3.0'] + 'seeedstudio': ['...
update option name in setup.py to seeedstudio.
py
diff --git a/hooks/url.py b/hooks/url.py index <HASH>..<HASH> 100755 --- a/hooks/url.py +++ b/hooks/url.py @@ -19,7 +19,7 @@ from helpers.hook import Hook import re -@Hook(types=['pubmsg', 'action'], args=[]) +@Hook(types=['pubmsg', 'action'], args=['config']) def handle(send, msg, args): """ Get titles for ...
because some chans have more than one bot.
py
diff --git a/puzzle/plugins/gemini_plugin.py b/puzzle/plugins/gemini_plugin.py index <HASH>..<HASH> 100644 --- a/puzzle/plugins/gemini_plugin.py +++ b/puzzle/plugins/gemini_plugin.py @@ -221,7 +221,7 @@ class GeminiPlugin(Plugin): def variants(self, case_id, skip=0, count=30, gene_list=None, - ...
Added cadd filter to gemini plugin
py
diff --git a/datajoint/erd.py b/datajoint/erd.py index <HASH>..<HASH> 100644 --- a/datajoint/erd.py +++ b/datajoint/erd.py @@ -185,7 +185,7 @@ class RelGraph(DiGraph): of tables :return: a subgraph with specified nodes """ - nodes = [n for n in self.nodes() if self.node[n].get('label')...
Fix bug in the erd restrict by tables
py
diff --git a/tarbell/app.py b/tarbell/app.py index <HASH>..<HASH> 100644 --- a/tarbell/app.py +++ b/tarbell/app.py @@ -277,19 +277,7 @@ class TarbellSite: except AttributeError: project.S3_BUCKETS = {} - try: - project.EXCLUDES - except AttributeError: - proje...
Ensure a project gets the default set of excludes
py
diff --git a/baron/space_grouper.py b/baron/space_grouper.py index <HASH>..<HASH> 100644 --- a/baron/space_grouper.py +++ b/baron/space_grouper.py @@ -1,5 +1,9 @@ from utils import FlexibleIterator +PRIORITY_ORDER = ( + "IMPORT", +) + BOTH = ( "AS", "IMPORT", @@ -17,6 +21,15 @@ GROUP_SPACE_AFTER = BOTH...
[enh] handle priority of operators
py
diff --git a/baselines/common/atari_wrappers.py b/baselines/common/atari_wrappers.py index <HASH>..<HASH> 100644 --- a/baselines/common/atari_wrappers.py +++ b/baselines/common/atari_wrappers.py @@ -221,7 +221,7 @@ class LazyFrames(object): return len(self._force()) def __getitem__(self, i): - re...
Fix indexing LazyFrames (#<I>) Indexing LazyFrames with index i should return the single channel frame
py
diff --git a/sklearn2pmml/decoration/__init__.py b/sklearn2pmml/decoration/__init__.py index <HASH>..<HASH> 100644 --- a/sklearn2pmml/decoration/__init__.py +++ b/sklearn2pmml/decoration/__init__.py @@ -241,7 +241,7 @@ class ContinuousDomain(Domain): mask = self._positive_outlier_mask(X, where) X[mask] = self.h...
Refactored 'Domain' class hierarchy
py
diff --git a/salt/returners/local_cache.py b/salt/returners/local_cache.py index <HASH>..<HASH> 100644 --- a/salt/returners/local_cache.py +++ b/salt/returners/local_cache.py @@ -33,8 +33,6 @@ def _job_dir(): Return root of the jobs cache directory ''' return os.path.join(__opts__['cachedir'], - ...
Remove new path naming, tests pass now :)
py
diff --git a/vlcp/service/sdn/l2switch.py b/vlcp/service/sdn/l2switch.py index <HASH>..<HASH> 100644 --- a/vlcp/service/sdn/l2switch.py +++ b/vlcp/service/sdn/l2switch.py @@ -403,7 +403,7 @@ class L2Switch(FlowBase): self._flowupdaters[conn] = new_updater new_updater.start() if self.l...
bug fix: nxlearning -> nxlearn
py
diff --git a/test/integration/test_buildtasks_api.py b/test/integration/test_buildtasks_api.py index <HASH>..<HASH> 100644 --- a/test/integration/test_buildtasks_api.py +++ b/test/integration/test_buildtasks_api.py @@ -7,7 +7,7 @@ tasks_api = BuildtasksApi(utils.get_api_client()) def test_build_task_completed_no_t...
make sure tests use a valid build status
py
diff --git a/piprot/test/test_piprot.py b/piprot/test/test_piprot.py index <HASH>..<HASH> 100644 --- a/piprot/test/test_piprot.py +++ b/piprot/test/test_piprot.py @@ -10,7 +10,8 @@ class TestRequirementsParser(unittest.TestCase): pass def test_requirement_exact(self): - d = main([open('piprot/tes...
Fixed failing test using outdated pytz reqs
py
diff --git a/contracts/tests/test_uraiden.py b/contracts/tests/test_uraiden.py index <HASH>..<HASH> 100644 --- a/contracts/tests/test_uraiden.py +++ b/contracts/tests/test_uraiden.py @@ -47,7 +47,7 @@ def test_uraiden_init( with pytest.raises(TypeError): get_uraiden_contract([token.address, -2]) with...
Fix test for challenge_period
py
diff --git a/examples/swiss_roll.py b/examples/swiss_roll.py index <HASH>..<HASH> 100644 --- a/examples/swiss_roll.py +++ b/examples/swiss_roll.py @@ -5,7 +5,7 @@ from mpl_toolkits.mplot3d import Axes3D from sklearn.metrics import pairwise_distances from time import time -from graphs.generators.swiss_roll import sw...
Fixing import path [ci skip]
py
diff --git a/atlassian/rest_client.py b/atlassian/rest_client.py index <HASH>..<HASH> 100644 --- a/atlassian/rest_client.py +++ b/atlassian/rest_client.py @@ -76,7 +76,7 @@ class AtlassianRestAPI(object): return '/'.join([self.api_root, self.api_version, resource]) @staticmethod - def url_joiner(url,...
Fix error with the confluence page history cleaning
py
diff --git a/gitenberg/metadata/pandata.py b/gitenberg/metadata/pandata.py index <HASH>..<HASH> 100644 --- a/gitenberg/metadata/pandata.py +++ b/gitenberg/metadata/pandata.py @@ -39,7 +39,7 @@ PANDATA_AGENTFIELDS = [ 'illustrators', ] PANDATA_LISTFIELDS = PANDATA_AGENTFIELDS + [ - 'subjects', 'covers', + ...
forgot to add edition_list to listfields
py
diff --git a/safe/utilities/settings.py b/safe/utilities/settings.py index <HASH>..<HASH> 100644 --- a/safe/utilities/settings.py +++ b/safe/utilities/settings.py @@ -3,6 +3,7 @@ import json import logging +from collections import OrderedDict from qgis.PyQt.QtCore import QSettings @@ -16,6 +17,28 @@ __email__ ...
Convert OrderedDicts to plain dictionaries for storage in QSettings In QGIS <I>/Qt 5 OrderedDicts cannot be stored in QSettings
py
diff --git a/nodeconductor/server/settings_ini.py b/nodeconductor/server/settings_ini.py index <HASH>..<HASH> 100644 --- a/nodeconductor/server/settings_ini.py +++ b/nodeconductor/server/settings_ini.py @@ -431,5 +431,3 @@ CELERYBEAT_SCHEDULE = { 'args': ('yearly',) }, } - -CELERY_TIMEZONE = 'UTC'
Use Django configured timezone for the beat
py
diff --git a/lib/python/dxpy/bindings/dxfile_functions.py b/lib/python/dxpy/bindings/dxfile_functions.py index <HASH>..<HASH> 100644 --- a/lib/python/dxpy/bindings/dxfile_functions.py +++ b/lib/python/dxpy/bindings/dxfile_functions.py @@ -72,12 +72,14 @@ def new_dxfile(**kwargs): # chunk sizing options # waitonclose ...
hotpatch requests and better logging
py
diff --git a/formats/folia.py b/formats/folia.py index <HASH>..<HASH> 100644 --- a/formats/folia.py +++ b/formats/folia.py @@ -4093,6 +4093,15 @@ class Suggestion(AbstractCorrectionChild): extraattribs.append( E.optional(E.attribute(name='merge' ))) return super(Suggestion, cls).relaxng(includechildre...
propagate split/merge attribute to json serialisation
py
diff --git a/src/nlpia/constants.py b/src/nlpia/constants.py index <HASH>..<HASH> 100644 --- a/src/nlpia/constants.py +++ b/src/nlpia/constants.py @@ -9,6 +9,7 @@ standard_library.install_aliases() # noqa: Counter, OrderedDict, import configparser import logging import logging.config +import logging.handlers impor...
constants needs to import handlers?
py
diff --git a/asammdf/mdf_v4.py b/asammdf/mdf_v4.py index <HASH>..<HASH> 100644 --- a/asammdf/mdf_v4.py +++ b/asammdf/mdf_v4.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ ASAM MDF version 4 file format module """ @@ -3570,7 +3569,7 @@ class MDF4(object): print('ATTACHMENT block:') print(at...
show the attachment file name in debug print
py
diff --git a/spacy/language.py b/spacy/language.py index <HASH>..<HASH> 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -210,6 +210,9 @@ class Language: "name": self.vocab.vectors.name, } self._meta["labels"] = self.pipe_labels + # TODO: Adding this back to prevent breaki...
Re-add meta["pipeline"] for now
py
diff --git a/pyshk/api.py b/pyshk/api.py index <HASH>..<HASH> 100755 --- a/pyshk/api.py +++ b/pyshk/api.py @@ -4,10 +4,10 @@ import base64 import datetime import hmac from hashlib import md5, sha1 -import json +# import json import random import requests -from requests_oauthlib import OAuth2 +# from requests_oauth...
moves endpoint construction to its own function
py
diff --git a/tests/test_modeling_common.py b/tests/test_modeling_common.py index <HASH>..<HASH> 100755 --- a/tests/test_modeling_common.py +++ b/tests/test_modeling_common.py @@ -1493,9 +1493,8 @@ class ModelTesterMixin: tf_model = transformers.load_pytorch_model_in_tf2_model(tf_model, pt_model, tf_inputs=...
[TF-PT-Tests] Fix PyTorch - TF tests for different GPU devices (#<I>)
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -112,7 +112,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'alabaster' # Theme op...
Updates docs to use alabaster theme
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,6 +21,6 @@ setup(name='iopipe', 'flake8' ] }, - setup_requires=['pytest-runner'], + setup_requires=['flake8', 'pytest-runner'], tests_require=['mock', 'pytest', 'requests']...
Adding flake8 to setup_requires
py
diff --git a/geomdl/elements.py b/geomdl/elements.py index <HASH>..<HASH> 100644 --- a/geomdl/elements.py +++ b/geomdl/elements.py @@ -170,7 +170,14 @@ class Triangle(AbstractElement): @property def vertex_ids(self): - return [self._vertices[0].id, self._vertices[1].id, self._vertices[2].id] + ...
Update Triangle.vertex_ids
py
diff --git a/derpibooru/helpers.py b/derpibooru/helpers.py index <HASH>..<HASH> 100644 --- a/derpibooru/helpers.py +++ b/derpibooru/helpers.py @@ -44,10 +44,19 @@ def api_key(api_key): return str(api_key) if api_key else "" def sort_format(sf): - return getattr(sort, sf.upper()) + if sf not in sort.methods: + ...
Change helpers to test for available methods than to use getattr()
py
diff --git a/xmantissa/webadmin.py b/xmantissa/webadmin.py index <HASH>..<HASH> 100644 --- a/xmantissa/webadmin.py +++ b/xmantissa/webadmin.py @@ -23,7 +23,9 @@ class DeveloperApplication(Item): statementCount = integer() def __init__(self, statementCount=0, **kw): - Item.__init__(self, statementCoun...
You can't _ever_ use Item.__init__
py
diff --git a/qutepart/syntaxhlighter.py b/qutepart/syntaxhlighter.py index <HASH>..<HASH> 100644 --- a/qutepart/syntaxhlighter.py +++ b/qutepart/syntaxhlighter.py @@ -4,7 +4,7 @@ Uses syntax module for doing the job import time -from PyQt4.QtCore import QObject, QTimer +from PyQt4.QtCore import QObject, QTimer, Qt...
highlighting: do not draw white background and black foreground
py
diff --git a/pyang/translators/dsdl.py b/pyang/translators/dsdl.py index <HASH>..<HASH> 100644 --- a/pyang/translators/dsdl.py +++ b/pyang/translators/dsdl.py @@ -230,7 +230,7 @@ class HybridDSDLSchema(object): """Mapping of simple datatypes from YANG to W3C datatype library""" data_nodes = ("leaf", "contai...
treat anydata as anyxml in yang2dsdl
py
diff --git a/napalm/ios/ios.py b/napalm/ios/ios.py index <HASH>..<HASH> 100644 --- a/napalm/ios/ios.py +++ b/napalm/ios/ios.py @@ -478,7 +478,7 @@ class IOSDriver(NetworkDriver): raise MergeConfigException(merge_error) # Save config to startup (both replace and merge) - output += self...
Fixing sporadic save config issues (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -94,6 +94,7 @@ setuptools.setup( 'django-test-without-migrations', 'django-timezone', 'docutils', + 'easy_thumbnails', 'flower', 'gunicorn', ...
Move easy thumbnails to install requirements.
py
diff --git a/djangoql/schema.py b/djangoql/schema.py index <HASH>..<HASH> 100644 --- a/djangoql/schema.py +++ b/djangoql/schema.py @@ -5,8 +5,9 @@ from datetime import datetime from decimal import Decimal from django.conf import settings +from django.core.exceptions import FieldDoesNotExist from django.db import m...
Import FieldDoesNotExist exception from its original place
py
diff --git a/src/transformers/modeling_utils.py b/src/transformers/modeling_utils.py index <HASH>..<HASH> 100644 --- a/src/transformers/modeling_utils.py +++ b/src/transformers/modeling_utils.py @@ -585,8 +585,6 @@ class PreTrainedModel(nn.Module): Beginning of sentence token if no prompt is provided. ...
duplicated line for repeating_words_penalty_for_language_generation
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -109,7 +109,7 @@ def test_market (market): for id in ccxt.markets: market = getattr (ccxt, id) markets[id] = market ({ - 'verbose': True, + 'verbose': False, # 'proxy': 'https://crossorigin.me/', ...
switched verbosity off in test.py
py
diff --git a/catapult_base/cloud_storage.py b/catapult_base/cloud_storage.py index <HASH>..<HASH> 100644 --- a/catapult_base/cloud_storage.py +++ b/catapult_base/cloud_storage.py @@ -22,7 +22,6 @@ PARTNER_BUCKET = 'chrome-partner-telemetry' INTERNAL_BUCKET = 'chrome-telemetry' TELEMETRY_OUTPUT = 'chrome-telemetry-out...
[Telemetry] Switch bucket for --upload-results This CL switches the default upload bucket to the new output bucket. BUG=<I> Review URL: <URL>
py
diff --git a/prottable.py b/prottable.py index <HASH>..<HASH> 100755 --- a/prottable.py +++ b/prottable.py @@ -38,7 +38,7 @@ parser.add_argument('-c', dest='command', type=str, 'but NOT with -i.\n\n' 'addms1quant - Add MS1 quantification data from a\n' 'pep...
Protein MS1 area quant data comes from PSMs, not peptides
py
diff --git a/fretboard/models.py b/fretboard/models.py index <HASH>..<HASH> 100644 --- a/fretboard/models.py +++ b/fretboard/models.py @@ -26,7 +26,10 @@ class Category(models.Model): return self.name def get_forum_names(self): - return self.forum_set.values('forum_slug', 'forum_name') + ...
Corrected forum_names helper.
py
diff --git a/spyder/app/mainwindow.py b/spyder/app/mainwindow.py index <HASH>..<HASH> 100644 --- a/spyder/app/mainwindow.py +++ b/spyder/app/mainwindow.py @@ -1960,9 +1960,6 @@ class MainWindow(QMainWindow): """Update edit menu""" if self.menuBar().hasFocus(): return - # Disabli...
Edit Menu: Only deactivate childrens menus after checking if they could be activated. This avoid errors when the widget isn't an editor or console.
py
diff --git a/mailqueue/__init__.py b/mailqueue/__init__.py index <HASH>..<HASH> 100644 --- a/mailqueue/__init__.py +++ b/mailqueue/__init__.py @@ -1,3 +1,3 @@ -VERSION = '2.3.0' +VERSION = '2.3.1' default_app_config = 'mailqueue.apps.MailQueueConfig'
version bump, should <I> be fine for now?
py
diff --git a/blockstack/blockstackd.py b/blockstack/blockstackd.py index <HASH>..<HASH> 100644 --- a/blockstack/blockstackd.py +++ b/blockstack/blockstackd.py @@ -549,6 +549,22 @@ class BlockstackdRPC(SimpleXMLRPCServer): return db.get_consensus_at( block_id ) + def rpc_get_consensus_hashes( self, block...
add get_consensus_hashes() to get a set of consensus hashes
py
diff --git a/webview/__init__.py b/webview/__init__.py index <HASH>..<HASH> 100755 --- a/webview/__init__.py +++ b/webview/__init__.py @@ -270,7 +270,7 @@ def _js_bridge_call(api_instance, func_name, param): def _call(): result = _escape_string(json.dumps(function(func_params))) code = 'window.py...
[All] Fix program hang on window close during JS exec
py
diff --git a/safe_qgis/tools/keywords_dialog.py b/safe_qgis/tools/keywords_dialog.py index <HASH>..<HASH> 100644 --- a/safe_qgis/tools/keywords_dialog.py +++ b/safe_qgis/tools/keywords_dialog.py @@ -115,6 +115,7 @@ class KeywordsDialog(QtGui.QDialog, Ui_KeywordsDialogBase): ('tsunami [wet/dry]', self.tr('...
added flood [categorised] to keywords dialog
py
diff --git a/wallace/db/base/keyval.py b/wallace/db/base/keyval.py index <HASH>..<HASH> 100644 --- a/wallace/db/base/keyval.py +++ b/wallace/db/base/keyval.py @@ -35,14 +35,10 @@ class KeyValueModel(Model): @property def db_key(self): - if self.prefix: - return '%s:%s' % (self.prefix, self...
keyval model: remove `prefix` complication, can be build into `create_new_ident` (now public)
py
diff --git a/lark/indenter.py b/lark/indenter.py index <HASH>..<HASH> 100644 --- a/lark/indenter.py +++ b/lark/indenter.py @@ -27,7 +27,9 @@ class Indenter: assert indent == self.indent_level[-1], '%s != %s' % (indent, self.indent_level[-1]) - def process(self, stream): + def _process(self, strea...
BUGFIX: Indenter was in corrupt state when parse failed (Issue #<I>)
py
diff --git a/master/buildbot/util/service.py b/master/buildbot/util/service.py index <HASH>..<HASH> 100644 --- a/master/buildbot/util/service.py +++ b/master/buildbot/util/service.py @@ -472,14 +472,8 @@ class BuildbotServiceManager(AsyncMultiService, config.ConfiguredMixin, for n in old_set & new_set: ...
service: remove check for reconfigServiceWithBuildbotConfig on reconfig All services handled by BuildbotServiceManager are now expected to derive from BuildbotService and thus will have both reconfigServiceWithBuildbotConfig and reconfigServiceWithSibling. Therefore the check is no longer needed.
py
diff --git a/livebridge/config.py b/livebridge/config.py index <HASH>..<HASH> 100644 --- a/livebridge/config.py +++ b/livebridge/config.py @@ -14,7 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. import os -import warnings LOGLEVEL = os.environ.get("...
Sticking with extra env-vars for DynamoDB.
py
diff --git a/acceptance/serverless-db-tracing/handler.py b/acceptance/serverless-db-tracing/handler.py index <HASH>..<HASH> 100644 --- a/acceptance/serverless-db-tracing/handler.py +++ b/acceptance/serverless-db-tracing/handler.py @@ -22,7 +22,14 @@ def _pymysql(event, context): cur = conn.cursor() cur.exec...
Drop mysql table after acceptance test
py
diff --git a/pkg/test_buildbot_pkg.py b/pkg/test_buildbot_pkg.py index <HASH>..<HASH> 100644 --- a/pkg/test_buildbot_pkg.py +++ b/pkg/test_buildbot_pkg.py @@ -93,10 +93,6 @@ class BuildbotWWWPkg(unittest.TestCase): self.check_correct_installation() -class BuildbotMDWWWPkg(BuildbotWWWPkg): - pkgPaths = [...
pkg: Remove leftover material design install test
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -28,11 +28,12 @@ sys.path.insert(0, os.path.abspath('../../')) extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.autosummary', - 'numpydoc' + 'sphinx.ext.napoleon' + ...
docs: remove import of package, find version as in setup.py and use napoleon instead of numpydoc
py
diff --git a/steam/client/cdn.py b/steam/client/cdn.py index <HASH>..<HASH> 100644 --- a/steam/client/cdn.py +++ b/steam/client/cdn.py @@ -341,8 +341,12 @@ class CDNDepotFile(DepotFile): for chunk in self.chunks: if chunk.offset >= end_offset: break - el...
CDNDepotFile: fix incorrect chunk location code
py
diff --git a/persephone/corpus.py b/persephone/corpus.py index <HASH>..<HASH> 100644 --- a/persephone/corpus.py +++ b/persephone/corpus.py @@ -231,7 +231,7 @@ class ReadyCorpus(AbstractCorpus): if not os.path.isdir(self.WAV_DIR): print(self.WAV_DIR) - raise PersephoneException("The su...
Removed PersephoneException that creeped in to master branch.
py
diff --git a/biblion/admin.py b/biblion/admin.py index <HASH>..<HASH> 100644 --- a/biblion/admin.py +++ b/biblion/admin.py @@ -37,7 +37,7 @@ class PostAdmin(admin.ModelAdmin): published_flag.boolean = True def formfield_for_dbfield(self, db_field, **kwargs): - request = kwargs.pop("request") + ...
Get the request, don't pop it. We'll need it later.
py
diff --git a/ah_bootstrap.py b/ah_bootstrap.py index <HASH>..<HASH> 100644 --- a/ah_bootstrap.py +++ b/ah_bootstrap.py @@ -526,15 +526,18 @@ class _Bootstrapper(object): # https://github.com/pypa/setuptools/issues/1273 try: - if DEBUG: + + context = _verbose if DEBUG else _sile...
Fix compatibility with older versions of setuptools
py
diff --git a/pyorbital/tlefile.py b/pyorbital/tlefile.py index <HASH>..<HASH> 100644 --- a/pyorbital/tlefile.py +++ b/pyorbital/tlefile.py @@ -33,6 +33,10 @@ def read(platform, tle_file=None, line1=None, line2=None): """ return Tle(platform, tle_file=tle_file, line1=line1, line2=line2) +class ChecksumError(...
Feature: Added checksum for tle lines.
py