diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/import_export/resources.py b/import_export/resources.py index <HASH>..<HASH> 100644 --- a/import_export/resources.py +++ b/import_export/resources.py @@ -309,6 +309,9 @@ class Resource(object): return headers def export(self, queryset=None): + """ + Exports a resource. + ...
Add ``export`` method docstring
py
diff --git a/nbgitpuller/pull.py b/nbgitpuller/pull.py index <HASH>..<HASH> 100644 --- a/nbgitpuller/pull.py +++ b/nbgitpuller/pull.py @@ -114,12 +114,8 @@ class GitPuller: """ Commit local changes """ - yield from execute_cmd(['git', 'checkout', self.branch_name], cwd=self.repo_dir)...
Do not run git add -A Use git commit -am instead. This ignores untracked files, which is how it should be.
py
diff --git a/lib/svtplay_dl/service/viaplay.py b/lib/svtplay_dl/service/viaplay.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/viaplay.py +++ b/lib/svtplay_dl/service/viaplay.py @@ -74,6 +74,8 @@ class Viaplay(Service, OpenGraphThumbMixin): if dataj["sami_path"]: yield subtitle(copy...
viaplay: support for alternative subtitles this fixes #<I>
py
diff --git a/phoebe/backend/universe.py b/phoebe/backend/universe.py index <HASH>..<HASH> 100644 --- a/phoebe/backend/universe.py +++ b/phoebe/backend/universe.py @@ -2789,7 +2789,7 @@ class Envelope(Body): # abs_normal_intensities are directly out of the passbands module and are # emergent normal i...
fixed typo accidentally renamed one too many variables in ae<I>fb<I>bd<I>d0ec9b<I>e7de<I>cb3c causing all contact cases to error. Fixed now.
py
diff --git a/ceph_deploy/tests/unit/test_conf.py b/ceph_deploy/tests/unit/test_conf.py index <HASH>..<HASH> 100644 --- a/ceph_deploy/tests/unit/test_conf.py +++ b/ceph_deploy/tests/unit/test_conf.py @@ -127,3 +127,21 @@ class TestConfGetList(object): """)) cfg.readfp(conf_file) assert cfg.get...
add a few tests for the truthy default
py
diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -2162,12 +2162,12 @@ class Client: If the message is a reply, ID of the original message Returns: - On success, the sen...
Make send_location return the new type
py
diff --git a/modules/pipeurlbuilder.py b/modules/pipeurlbuilder.py index <HASH>..<HASH> 100644 --- a/modules/pipeurlbuilder.py +++ b/modules/pipeurlbuilder.py @@ -37,7 +37,11 @@ def pipe_urlbuilder(context, _INPUT, conf, **kwargs): #Ensure url is valid url = util.url_quote(url) - para...
Handle single param definition (following Yahoo! changes)
py
diff --git a/bin/build.py b/bin/build.py index <HASH>..<HASH> 100755 --- a/bin/build.py +++ b/bin/build.py @@ -147,6 +147,10 @@ def main(): for j in range(ncm) ] for dataset in datasets for csi in range(cs) ]) + # Skip empty data sets instead of saving empt...
Skip creating empty libration or nutation files when no coefficients are there.
py
diff --git a/git/test/test_repo.py b/git/test/test_repo.py index <HASH>..<HASH> 100644 --- a/git/test/test_repo.py +++ b/git/test/test_repo.py @@ -775,12 +775,23 @@ class TestRepo(TestBase): new_file_path = os.path.join(rw_dir, "new_file.ext") touch(new_file_path) r.index.add([new_file_path])...
add test to detect the corrupt log - add a second line to commit messages with the "BAD MESSAGE" text - read in the log and confirm that the seond line is not in the log file
py
diff --git a/src/ossos/core/ossos/astrom.py b/src/ossos/core/ossos/astrom.py index <HASH>..<HASH> 100644 --- a/src/ossos/core/ossos/astrom.py +++ b/src/ossos/core/ossos/astrom.py @@ -6,6 +6,7 @@ import math __author__ = "David Rusk <drusk@uvic.ca>" import os import re +import sys from astropy import units from a...
Correct traceback call used to diagnose file load failures
py
diff --git a/bin/build.py b/bin/build.py index <HASH>..<HASH> 100755 --- a/bin/build.py +++ b/bin/build.py @@ -22,6 +22,11 @@ def main(): with open(os.path.join(dirpath, headername)) as f: lines = iter(f) + while next(lines).strip() != 'GROUP 1030': + continue + ...
Added a synthetic pair of constants that represent the start and end times of the entire ephemeris.
py
diff --git a/orca/server/tests/test_server.py b/orca/server/tests/test_server.py index <HASH>..<HASH> 100644 --- a/orca/server/tests/test_server.py +++ b/orca/server/tests/test_server.py @@ -134,7 +134,7 @@ def test_table_describe(tapp): data = rv.data.decode('utf-8') assert data == \ - orca.get_tabl...
Update server groupby test for old Pandas versions
py
diff --git a/tests/test_timeseries.py b/tests/test_timeseries.py index <HASH>..<HASH> 100644 --- a/tests/test_timeseries.py +++ b/tests/test_timeseries.py @@ -109,4 +109,7 @@ def test_detectEquil_constant_trailing(): x[50:] = 3.0 # The input data is some MCMC chain where the trailing end of the chain is a con...
Don't check exact numbers in test.
py
diff --git a/rt.py b/rt.py index <HASH>..<HASH> 100644 --- a/rt.py +++ b/rt.py @@ -526,15 +526,15 @@ class Rt: items = [] msgs = msg.splitlines()[2:] for msg in msgs: - ticket_id, subject = msg.split(': ', 1) - items.append({'id': 'ticket/' + ticket_i...
Add numerical_id to other search format results
py
diff --git a/tests/test_potential.py b/tests/test_potential.py index <HASH>..<HASH> 100644 --- a/tests/test_potential.py +++ b/tests/test_potential.py @@ -4061,14 +4061,14 @@ class mockInterpSphericalPotential(potential.interpSphericalPotential): def __init__(self): hp= potential.HomogeneousSpherePotentia...
Fix rgrid in mockInterpSphericalPotential
py
diff --git a/dynaconf/cli.py b/dynaconf/cli.py index <HASH>..<HASH> 100644 --- a/dynaconf/cli.py +++ b/dynaconf/cli.py @@ -23,6 +23,7 @@ from dynaconf.validator import Validator from dynaconf.vendor import click from dynaconf.vendor import toml +os.environ["PYTHONIOENCODING"] = "utf-8" CWD = Path.cwd() EXTS = [...
Force PYTHONIOENCODING to utf-8 to fix #<I> (#<I>)
py
diff --git a/oscrypto/trust_list.py b/oscrypto/trust_list.py index <HASH>..<HASH> 100644 --- a/oscrypto/trust_list.py +++ b/oscrypto/trust_list.py @@ -130,6 +130,8 @@ def get_path(temp_dir=None, cache_length=24, cert_callback=None): if cert_callback: ...
Fix regression in trust_list.get_path() not calling the cert callback when a certificate is exported
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -39,8 +39,7 @@ setup( ], entry_points={ 'console_scripts': [ - 'ipyrad = ipyrad.__main__:CLI', - # 'tetrad = ipyrad.analysis.__tetrad_cli__:main', + 'ipyrad = ipyrad.__main__...
removed tetrad cli
py
diff --git a/xigt/query.py b/xigt/query.py index <HASH>..<HASH> 100644 --- a/xigt/query.py +++ b/xigt/query.py @@ -0,0 +1,39 @@ + +from xigt.consts import ( + ALIGNMENT, + CONTENT, + SEGMENTATION +) + +def ancestors(obj, refattrs=(ALIGNMENT, SEGMENTATION)): + """ + Return a mapping of {tier_id: selection...
Add stubs for xigt/query.py
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -114,14 +114,14 @@ pygments_style = 'sphinx' todo_include_todos = True -# -- Options for HTML output ---------------------------------------------- +# -- Options for HTML output -------------------------------...
ex-<I> (jebene) minor change to conf.py
py
diff --git a/examples/expression/boolean.py b/examples/expression/boolean.py index <HASH>..<HASH> 100644 --- a/examples/expression/boolean.py +++ b/examples/expression/boolean.py @@ -85,14 +85,14 @@ class Operand(ExpressionElement): def main(debug=False): - calc_mm = metamodel_from_str(grammar, + bool_mm = m...
Small fix in boolean example.
py
diff --git a/jax/numpy/lax_numpy.py b/jax/numpy/lax_numpy.py index <HASH>..<HASH> 100644 --- a/jax/numpy/lax_numpy.py +++ b/jax/numpy/lax_numpy.py @@ -1413,7 +1413,11 @@ def ix_(*args): "Boolean arguments to jax.numpy.ix_ are not implemented") shape = [1] * n shape[i] = a.shape[0] - output.append(...
Fix type of np.ix_ for empty arrays to match numpy.
py
diff --git a/salt/cloud/clouds/linode.py b/salt/cloud/clouds/linode.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/linode.py +++ b/salt/cloud/clouds/linode.py @@ -523,6 +523,15 @@ def create(vm_): # If a password wasn't supplied in the profile or provider config, set it now. vm_['password'] = get_pass...
Fire waiting_for_ssh event on boot of new instance (#<I>) Make the IP that the new instance will use to communicate with the master available before the bootstrap script is run. Use this to for instance open the firewall on the master.
py
diff --git a/surprise/dump.py b/surprise/dump.py index <HASH>..<HASH> 100644 --- a/surprise/dump.py +++ b/surprise/dump.py @@ -27,7 +27,8 @@ def dump(file_name, predictions=None, algo=None, verbose=0): dump_obj = {'predictions': predictions, 'algo': algo } - pickle.dump(dump_ob...
dumping is now done with pickle 'highest protocol'
py
diff --git a/auto_ml/_version.py b/auto_ml/_version.py index <HASH>..<HASH> 100644 --- a/auto_ml/_version.py +++ b/auto_ml/_version.py @@ -1 +1 @@ -__version__ = "2.5.0" +__version__ = "2.6.0"
version bump for fixing a bunch of dependency updates, and some tweaks along the way
py
diff --git a/spyder_kernels/utils/nsview.py b/spyder_kernels/utils/nsview.py index <HASH>..<HASH> 100644 --- a/spyder_kernels/utils/nsview.py +++ b/spyder_kernels/utils/nsview.py @@ -719,8 +719,12 @@ def make_remote_view(data, settings, more_excluded_names=None): remote = {} for key, value in list(data.items(...
Add Python types to namespace view This is necessary to move the colors declared for types to the Spyder side.
py
diff --git a/scripts/snmprec.py b/scripts/snmprec.py index <HASH>..<HASH> 100644 --- a/scripts/snmprec.py +++ b/scripts/snmprec.py @@ -459,9 +459,11 @@ def cbFun(snmpEngine, sendRequestHandle, errorIndication, return # SNMPv1 response may contain noSuchName error *and* SNMPv2c exception, # so we igno...
attempt to skip non-increasing OIDs when --continue-on-errors
py
diff --git a/malcolm/modules/ADOdin/parts/odinwriterpart.py b/malcolm/modules/ADOdin/parts/odinwriterpart.py index <HASH>..<HASH> 100644 --- a/malcolm/modules/ADOdin/parts/odinwriterpart.py +++ b/malcolm/modules/ADOdin/parts/odinwriterpart.py @@ -127,7 +127,7 @@ def create_vds(generator, raw_name, vds_path, child): ...
Fixed check for alternating scans in ADOdin odinwriterpart
py
diff --git a/tests/unit/utils/network_test.py b/tests/unit/utils/network_test.py index <HASH>..<HASH> 100644 --- a/tests/unit/utils/network_test.py +++ b/tests/unit/utils/network_test.py @@ -305,11 +305,15 @@ class NetworkTestCase(TestCase): @patch('socket.getaddrinfo', MagicMock(return_value=[(2, 3, 0, 'localhost...
Test fix: only non-localhost IP should persist
py
diff --git a/unitypack/__init__.py b/unitypack/__init__.py index <HASH>..<HASH> 100644 --- a/unitypack/__init__.py +++ b/unitypack/__init__.py @@ -285,10 +285,11 @@ class Asset: self.name = buf.read_string() self.header_size = buf.read_uint() self.size = buf.read_uint() - self.meta_end = buf.tell() + ofs =...
Reposition the buffer right after reading asset data
py
diff --git a/insights/client/connection.py b/insights/client/connection.py index <HASH>..<HASH> 100644 --- a/insights/client/connection.py +++ b/insights/client/connection.py @@ -97,7 +97,7 @@ class InsightsConnection(object): self.session = self._init_session() # need this global -- [barfing intensif...
change tuple to list (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,13 +7,13 @@ license: GNU-GPL2 from setuptools import setup setup(name='arguments', - version='59', + version='60', description='Argument parser based on docopt', url='https://github.com/erikdejon...
William Hazlitt: Friendship is something that is cultivated. Wednesday <I> June <I> (week:<I> day:<I>), <I>:<I>:<I>
py
diff --git a/gnsq/stream/defalte.py b/gnsq/stream/defalte.py index <HASH>..<HASH> 100644 --- a/gnsq/stream/defalte.py +++ b/gnsq/stream/defalte.py @@ -6,8 +6,9 @@ from .compression import CompressionSocket class DefalteSocket(CompressionSocket): def __init__(self, socket, level): - self._decompressor = z...
Set correct waits for deflate.
py
diff --git a/tests/unit/test_cli.py b/tests/unit/test_cli.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_cli.py +++ b/tests/unit/test_cli.py @@ -11,12 +11,10 @@ class TestCommandLine(DjangoSetupMixin): 'python tests/manage.py behave --help') assert exit_status == 0, \ show_run_e...
Make test code a bit more concise
py
diff --git a/headnode_notifier.py b/headnode_notifier.py index <HASH>..<HASH> 100755 --- a/headnode_notifier.py +++ b/headnode_notifier.py @@ -74,11 +74,13 @@ def main(): metavar = "", action = "store", dest = "subject", + ...
ENH@argparse:Default vals as empty strings for subject and body
py
diff --git a/clonebuild.py b/clonebuild.py index <HASH>..<HASH> 100644 --- a/clonebuild.py +++ b/clonebuild.py @@ -9,7 +9,11 @@ Cloning Spyder mercurial repository Building source and win32 executable distribution package """ -import os, shutil, os.path as osp +# pylint: disable=C0103 + +import os +import sh...
(Fixes Issue <I>) Improved clonebuild.py script pylint score up to <I>/<I>
py
diff --git a/spyderlib/widgets/dataframeeditor.py b/spyderlib/widgets/dataframeeditor.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/dataframeeditor.py +++ b/spyderlib/widgets/dataframeeditor.py @@ -423,7 +423,7 @@ class DataFrameEditor(QDialog): # It is import to avoid accessing Qt C++ object as it ha...
Small fixes that made df return as time series
py
diff --git a/telethon/events/inlinequery.py b/telethon/events/inlinequery.py index <HASH>..<HASH> 100644 --- a/telethon/events/inlinequery.py +++ b/telethon/events/inlinequery.py @@ -178,11 +178,17 @@ class InlineQuery(EventBuilder): return if results: - results = [self._a...
Fix order of inline results not being preserved
py
diff --git a/openaps/vendors/dexcom.py b/openaps/vendors/dexcom.py index <HASH>..<HASH> 100644 --- a/openaps/vendors/dexcom.py +++ b/openaps/vendors/dexcom.py @@ -119,6 +119,20 @@ class ReadClockMode (SameNameCommand): class ReadDeviceMode (SameNameCommand): """Read Device Mode """ +@use( ) +class ReadBlindedMode...
add three more uses for dexcom
py
diff --git a/calendarium/models.py b/calendarium/models.py index <HASH>..<HASH> 100644 --- a/calendarium/models.py +++ b/calendarium/models.py @@ -172,8 +172,15 @@ class Event(EventModelMixin): return [self._create_occurrence(self.start, self.end)] return [] - def get_occurrences(self, st...
Made start and end set itself if not provided for get_occurrences.
py
diff --git a/birdhousebuilder/recipe/supervisor/__init__.py b/birdhousebuilder/recipe/supervisor/__init__.py index <HASH>..<HASH> 100644 --- a/birdhousebuilder/recipe/supervisor/__init__.py +++ b/birdhousebuilder/recipe/supervisor/__init__.py @@ -106,11 +106,11 @@ class Recipe(object): self.options['killasgrou...
don't set LD_LIBRARY_PATH
py
diff --git a/airflow/contrib/sensors/python_sensor.py b/airflow/contrib/sensors/python_sensor.py index <HASH>..<HASH> 100644 --- a/airflow/contrib/sensors/python_sensor.py +++ b/airflow/contrib/sensors/python_sensor.py @@ -30,7 +30,7 @@ class PythonSensor(BaseSensorOperator): User could put input argument in templ...
[AIRFLOW-XXX] Fix typo in python_sensor.py docstring (#<I>) I fixed typo from "the the" to "the".
py
diff --git a/fireplace/game.py b/fireplace/game.py index <HASH>..<HASH> 100644 --- a/fireplace/game.py +++ b/fireplace/game.py @@ -254,11 +254,13 @@ class BaseGame(Entity): return self.queue_actions(self, [BeginTurn(player)]) def _begin_turn(self, player): - self.manager.step(self.next_step, Step.MAIN_START) + ...
Go through more MAIN steps when beginning a turn
py
diff --git a/netmiko/base_connection.py b/netmiko/base_connection.py index <HASH>..<HASH> 100644 --- a/netmiko/base_connection.py +++ b/netmiko/base_connection.py @@ -1909,9 +1909,9 @@ class BaseConnection(object): def open_session_log(self, filename, mode="write"): """Open the session_log file.""" ...
Fix unicode char issue in session log output (#<I>)
py
diff --git a/tweepy/api.py b/tweepy/api.py index <HASH>..<HASH> 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -1659,14 +1659,24 @@ class API: Obtain a collection of the lists the specified user is subscribed to, 20 lists per page by default. Does not include the user's own lists. - :param...
Update and improve documentation for API.lists_subscriptions
py
diff --git a/pyqode/python/code_completion.py b/pyqode/python/code_completion.py index <HASH>..<HASH> 100644 --- a/pyqode/python/code_completion.py +++ b/pyqode/python/code_completion.py @@ -61,7 +61,7 @@ class JediProvider(code_completion.Provider): .. _`jedi`: https://github.com/davidhalter/jedi """ - ...
Use prefix to determine if we must follow defs
py
diff --git a/fancyimpute/soft_impute.py b/fancyimpute/soft_impute.py index <HASH>..<HASH> 100644 --- a/fancyimpute/soft_impute.py +++ b/fancyimpute/soft_impute.py @@ -113,7 +113,8 @@ class SoftImpute(Solver): (U, s, V) = randomized_svd( X, max_rank, - n_iter...
sets random_state when calling randomized_svd to prevent sklearn warnings (#<I>)
py
diff --git a/pyman/Doc.py b/pyman/Doc.py index <HASH>..<HASH> 100644 --- a/pyman/Doc.py +++ b/pyman/Doc.py @@ -8,7 +8,7 @@ class Doc( Page ): def init( self ): self.add([ Action.Cmd( "Generate Multi-Page HTML", "cd docs; make html; cd .." ), - Action.Cmd( "Generate Single-Page HTML...
Fixed bug with generating Single-Page HTML (was still generating Multi-Page HTML)
py
diff --git a/bogo/new_bogo_engine.py b/bogo/new_bogo_engine.py index <HASH>..<HASH> 100644 --- a/bogo/new_bogo_engine.py +++ b/bogo/new_bogo_engine.py @@ -267,7 +267,7 @@ def reverse(components, trans): comps = list(components) string = utils.join(comps) - if action == Action.ADD_CHAR and string[-1] == t...
Fix a bug with undoing "{" -> "Ơ" with "{"
py
diff --git a/pyqode/core/widgets/tabs.py b/pyqode/core/widgets/tabs.py index <HASH>..<HASH> 100644 --- a/pyqode/core/widgets/tabs.py +++ b/pyqode/core/widgets/tabs.py @@ -350,9 +350,9 @@ class TabWidget(QTabWidget): def _save_editor(self, code_edit, path=None): if not path: path = code_edit.f...
Fix bug save as for file who already have a path
py
diff --git a/pyradigm/regress.py b/pyradigm/regress.py index <HASH>..<HASH> 100644 --- a/pyradigm/regress.py +++ b/pyradigm/regress.py @@ -200,25 +200,14 @@ class RegressionDataset(BaseDataset): """ - _ignore1, target_sizes = self.summarize() - smallest_class_size = np.min(target_sizes) - ...
bug fix: regress datasets do not have the concept of class!
py
diff --git a/datatableview/datatables.py b/datatableview/datatables.py index <HASH>..<HASH> 100644 --- a/datatableview/datatables.py +++ b/datatableview/datatables.py @@ -302,7 +302,8 @@ class Datatable(six.with_metaclass(DatatableMetaclass)): return config def normalize_config_search(self, config, quer...
Split global search terms during normalization self.config['search'] is now a set of the parsed terms instead of the raw string.
py
diff --git a/appveyor/build_glpk.py b/appveyor/build_glpk.py index <HASH>..<HASH> 100644 --- a/appveyor/build_glpk.py +++ b/appveyor/build_glpk.py @@ -11,8 +11,8 @@ except ImportError: # python 3 import urllib.request as urllib2 # these need to be set to the latest glpk version -glpk_version = "4.57" -glpk_md5...
appveyor glpk version to <I>
py
diff --git a/injector.py b/injector.py index <HASH>..<HASH> 100644 --- a/injector.py +++ b/injector.py @@ -1170,7 +1170,7 @@ class BoundProvider(object): self._interface = interface def __repr__(self): - return 'BoundProvider(%r, %r)' % ( + return '%s(%r, %r)' % ( type(self)._...
Fix BoundProvider's repr
py
diff --git a/examples/find_symbol.py b/examples/find_symbol.py index <HASH>..<HASH> 100644 --- a/examples/find_symbol.py +++ b/examples/find_symbol.py @@ -6,7 +6,7 @@ # # $ make [ARCH=<arch>] scriptconfig SCRIPT=Kconfiglib/examples/find_symbol.py SCRIPT_ARG=<name> # -# Example output for SCRIPT_ARG=x86: +# Example...
Fix find_symbol.py typo Argument must be "X<I>" to get that output. "x<I>" just returns some constant symbols.
py
diff --git a/ubersmith/api.py b/ubersmith/api.py index <HASH>..<HASH> 100644 --- a/ubersmith/api.py +++ b/ubersmith/api.py @@ -1,8 +1,6 @@ """Lower level API, configuration, and HTTP stuff.""" -import json import time -from functools import partial import requests @@ -220,7 +218,7 @@ class _ProxyModule(object)...
Some cleanup in the api module.
py
diff --git a/views.py b/views.py index <HASH>..<HASH> 100644 --- a/views.py +++ b/views.py @@ -302,15 +302,16 @@ def _login_view(request): try: # url from django-authopenid, only available if the urls.py are included reset_link = urlresolvers.reverse("auth_password_reset") - except urlresolver...
Bugfix if DjangoBB glue plugin isn't installed.
py
diff --git a/flask_oidc/__init__.py b/flask_oidc/__init__.py index <HASH>..<HASH> 100644 --- a/flask_oidc/__init__.py +++ b/flask_oidc/__init__.py @@ -178,9 +178,9 @@ class OpenIDConnect(object): # create signers using the Flask secret key self.extra_data_serializer = JSONWebSignatureSerializer( - ...
Fixes #<I> -- added salts to the signers
py
diff --git a/rest_framework_gis/serializers.py b/rest_framework_gis/serializers.py index <HASH>..<HASH> 100644 --- a/rest_framework_gis/serializers.py +++ b/rest_framework_gis/serializers.py @@ -46,25 +46,14 @@ class GeoFeatureModelSerializer(GeoModelSerializer): raise ImproperlyConfigured("You must define...
make sure geo_field is always included even when fields are explicitly specified
py
diff --git a/workshift/utils.py b/workshift/utils.py index <HASH>..<HASH> 100644 --- a/workshift/utils.py +++ b/workshift/utils.py @@ -45,7 +45,7 @@ def is_available(workshift_profile, regular_workshift): start_time = regular_workshift.start_time end_time = regular_workshift.end_time relevant_blocks = li...
Fixed a bug to iterate over time blocks
py
diff --git a/pygerrit2/rest/__init__.py b/pygerrit2/rest/__init__.py index <HASH>..<HASH> 100644 --- a/pygerrit2/rest/__init__.py +++ b/pygerrit2/rest/__init__.py @@ -44,6 +44,9 @@ def _decode_response(response): content = response.content.strip().decode("UTF-8") logging.debug(content[:512]) response.rai...
returning raw response for non-JSON Content-Type A number of Gerrit's APIs return (or may return) response encoded as text or HTTP <I> No Content With this change, pygerrit2 looks at response's content-type header and skips JSON parsing for responses other than application/json Closes #2 Change-Id: I4a<I>eb<I>b2ab<...
py
diff --git a/astro_pi/astro_pi.py b/astro_pi/astro_pi.py index <HASH>..<HASH> 100644 --- a/astro_pi/astro_pi.py +++ b/astro_pi/astro_pi.py @@ -336,9 +336,9 @@ class AstroPi(object): """ if len(s) == 1 and s in self._text_dict.keys(): - return self._text_dict[s] + return list(se...
Make _get_char_pixels return cloned lists _trim_whitespace was modifying the character pixel lists stored in _text_dict returning cloned lists maintains the <I> pixel 5x7 character in _text_dict
py
diff --git a/pysat/instruments/pysat_testing2d.py b/pysat/instruments/pysat_testing2d.py index <HASH>..<HASH> 100644 --- a/pysat/instruments/pysat_testing2d.py +++ b/pysat/instruments/pysat_testing2d.py @@ -145,7 +145,7 @@ def load(fnames, tag=None, sat_id=None, malformed_index=False): # create a few simulated p...
REV: use profiles in 2d test inst
py
diff --git a/tcex/tcex_batch_v2.py b/tcex/tcex_batch_v2.py index <HASH>..<HASH> 100644 --- a/tcex/tcex_batch_v2.py +++ b/tcex/tcex_batch_v2.py @@ -1714,6 +1714,7 @@ class Email(Group): self._group_data['subject'] = subject self._group_data['header'] = header self._group_data['body'] = body + ...
+ adding score to Email Groups.
py
diff --git a/pgi/obj.py b/pgi/obj.py index <HASH>..<HASH> 100644 --- a/pgi/obj.py +++ b/pgi/obj.py @@ -52,7 +52,6 @@ class _Object(object): __weak = {} def __init__(self, *args, **kwargs): - # FIXME: pass args, kwargs to bases num_params, params = self.__get_gparam_array(**kwargs) o...
obj: the first class takes care of everything, no need to pass args
py
diff --git a/O365/utils/utils.py b/O365/utils/utils.py index <HASH>..<HASH> 100644 --- a/O365/utils/utils.py +++ b/O365/utils/utils.py @@ -659,20 +659,20 @@ class Query: :rtype: dict """ params = {} - if self.has_expands: - params['$expand'] = self.get_expands() if ...
add ability to include lookup id values.
py
diff --git a/smartcard/CardMonitoring.py b/smartcard/CardMonitoring.py index <HASH>..<HASH> 100644 --- a/smartcard/CardMonitoring.py +++ b/smartcard/CardMonitoring.py @@ -37,6 +37,8 @@ from smartcard.Observer import Observer from smartcard.Observer import Observable from smartcard.CardRequest import CardRequest +fr...
CardMonitoring: stop the looping only if PCSC exited The fix in <I>b<I>d<I>ee9feae<I>ad<I>c<I>fd<I>fb3be was not correct. The loop should be exited only when PC/SC is no more running (return code SCARD_E_NO_SERVICE) but not in the other cases. The fix above created the regression reported in <URL> the loop was exited...
py
diff --git a/pygal/graph/line.py b/pygal/graph/line.py index <HASH>..<HASH> 100644 --- a/pygal/graph/line.py +++ b/pygal/graph/line.py @@ -60,9 +60,11 @@ class Line(Graph): def line(self, serie_node, serie, rescale=False): """Draw the line serie""" if rescale and self.secondary_series: - ...
Fix bug with None y-values for charts with a secondary y-axis. Otherwise the following exception is thrown: ``` Exception: unsupported operand type(s) for -: 'NoneType' and 'float' ```
py
diff --git a/yandextank/stepper/config.py b/yandextank/stepper/config.py index <HASH>..<HASH> 100644 --- a/yandextank/stepper/config.py +++ b/yandextank/stepper/config.py @@ -99,14 +99,8 @@ class ComponentFactory(): with opener(self.use_cache) as ammo: try: ...
no ammo type magic ref:3c9e0b1dcd0d<I>a<I>faefe1d3d<I>f7
py
diff --git a/dialogs/pmag_gui_dialogs.py b/dialogs/pmag_gui_dialogs.py index <HASH>..<HASH> 100755 --- a/dialogs/pmag_gui_dialogs.py +++ b/dialogs/pmag_gui_dialogs.py @@ -2113,6 +2113,12 @@ class convert_JR6_files_to_MagIC(wx.Frame): elif 'txt' in input_format and 'txt' not in mag_file.lower(): ...
fix bug with jr6 conversion in Pmag GUI
py
diff --git a/danceschool/core/forms.py b/danceschool/core/forms.py index <HASH>..<HASH> 100644 --- a/danceschool/core/forms.py +++ b/danceschool/core/forms.py @@ -723,7 +723,7 @@ class EmailContactForm(forms.Form): return self.cleaned_data class Media: - js = ('js/emailcontact_sendToSet.js','js/e...
Removed call for non-existent JS file that was merged with another file.
py
diff --git a/anytemplate/cli.py b/anytemplate/cli.py index <HASH>..<HASH> 100644 --- a/anytemplate/cli.py +++ b/anytemplate/cli.py @@ -88,7 +88,7 @@ def main(argv=None): if args.list_engines: ecs = anytemplate.api.list_engines() print(", ".join("%s (%s)" % (e.name(), e.priority()) for...
change: explicitly make CLI exits with code 0 if --list-engines option was passed
py
diff --git a/dvc/progress.py b/dvc/progress.py index <HASH>..<HASH> 100644 --- a/dvc/progress.py +++ b/dvc/progress.py @@ -39,6 +39,7 @@ class Tqdm(tqdm): disable=None, bytes=False, # pylint: disable=W0622 desc_truncate=None, + leave=None, **kwargs ): """ @@ -63...
Tqdm auto leave=False for nested bars
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -7023,7 +7023,7 @@ _string_special_search = _re_search(r'"|\'|\\|\$\(') # Special characters/strings while expanding a symbol name. Also includes # end-of-line, in case the macro is the last thing on th...
_name_special_search regex consistency nit Put $ after word characters, like in _command_match and _id_keyword_match.
py
diff --git a/Python/ibmcloudsql/exceptions.py b/Python/ibmcloudsql/exceptions.py index <HASH>..<HASH> 100644 --- a/Python/ibmcloudsql/exceptions.py +++ b/Python/ibmcloudsql/exceptions.py @@ -38,6 +38,16 @@ class InternalError502Exception(Exception): super().__init__(msg) self.original_exception = ...
fix: add <I> (timeout and retry)
py
diff --git a/tests/test_binary_vdf.py b/tests/test_binary_vdf.py index <HASH>..<HASH> 100644 --- a/tests/test_binary_vdf.py +++ b/tests/test_binary_vdf.py @@ -14,7 +14,7 @@ class BinaryVDF(unittest.TestCase): def test_simple(self): pairs = [ ('a', 'test'), - ('a2', b'\xff\xfe0\x041...
fix failing test after dd<I>fb1 change
py
diff --git a/salt/modules/schedule.py b/salt/modules/schedule.py index <HASH>..<HASH> 100644 --- a/salt/modules/schedule.py +++ b/salt/modules/schedule.py @@ -317,6 +317,11 @@ def build_schedule_item(name, **kwargs): else: schedule[name]['name'] = name + if 'enabled' in kwargs: + schedule[name...
Ensure we pass on the enable setting if present, or use the default of True if not in build_schedule_item() Prior to this, when schedule.present compares the existing schedule to the one crafted by this function, enabled will actually be removed at each run. schedule.present sees a modification needs to be made, and i...
py
diff --git a/workshift/signals.py b/workshift/signals.py index <HASH>..<HASH> 100644 --- a/workshift/signals.py +++ b/workshift/signals.py @@ -265,6 +265,7 @@ def update_assigned_hours(sender, instance, action, reverse, model, pk_set, **kw pool_hours.save(update_fields=["assigned_hours"]) ...
Fixed bad call to notify.send
py
diff --git a/python/sbp/client/loggers/json_logger.py b/python/sbp/client/loggers/json_logger.py index <HASH>..<HASH> 100644 --- a/python/sbp/client/loggers/json_logger.py +++ b/python/sbp/client/loggers/json_logger.py @@ -77,7 +77,7 @@ class JSONLogIterator(LogIterator): for line in self.handle: try: ...
Handle sbp json that didn't come from serial link (#<I>)
py
diff --git a/projects/views.py b/projects/views.py index <HASH>..<HASH> 100644 --- a/projects/views.py +++ b/projects/views.py @@ -326,11 +326,13 @@ class ProjectStageView(DetailView): context = super(ProjectStageView, self).get_context_data(**kwargs) # Hosts Table - host_table = HostTable(se...
Corrected the hosts table queryset on the project stage detail page.
py
diff --git a/panphon/permissive.py b/panphon/permissive.py index <HASH>..<HASH> 100644 --- a/panphon/permissive.py +++ b/panphon/permissive.py @@ -92,3 +92,25 @@ class PermissiveFeatureTable(_panphon.FeatureTable): return match.group(0) else: return '' + + def seg_known(self, segme...
Added more functionality to permissive.py
py
diff --git a/stanza/models/common/beam.py b/stanza/models/common/beam.py index <HASH>..<HASH> 100644 --- a/stanza/models/common/beam.py +++ b/stanza/models/common/beam.py @@ -83,7 +83,7 @@ class Beam(object): # word and beam each score came from # bestScoreId is the integer ids, and numWords is the in...
Specifically use 'trunc' when dividing to avoid issues of future deprecation. 'trunc' chosen so that current models behave in exactly the same way. Addresses #<I>
py
diff --git a/GPy/models/__init__.py b/GPy/models/__init__.py index <HASH>..<HASH> 100644 --- a/GPy/models/__init__.py +++ b/GPy/models/__init__.py @@ -8,6 +8,7 @@ from svigp_regression import SVIGPRegression from sparse_gp_classification import SparseGPClassification from fitc_classification import FITCClassification...
Added sparseGPLVM in the init of models
py
diff --git a/kafka/conn.py b/kafka/conn.py index <HASH>..<HASH> 100644 --- a/kafka/conn.py +++ b/kafka/conn.py @@ -738,11 +738,15 @@ class BrokerConnection(object): Returns: version tuple, i.e. (0, 10), (0, 9), (0, 8, 2), ... """ - # Monkeypatch the connection request timeout - # Gener...
Monkeypatch max_in_flight_requests_per_connection when checking broker version (#<I>)
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -122,18 +122,7 @@ class TestScoopCommon(unittest.TestCase): if (datetime.datetime.now() - begin > datetime.timedelta(seconds=3)): raise Exception('Could not start server!') pass -#...
corrected a weird bug in test where the master name changed in execution.
py
diff --git a/pusher/authentication_client.py b/pusher/authentication_client.py index <HASH>..<HASH> 100644 --- a/pusher/authentication_client.py +++ b/pusher/authentication_client.py @@ -17,6 +17,7 @@ import base64 from pusher.util import ( ensure_text, + ensure_binary, validate_channel, validate_s...
Fix AuthenticationClient for encrypted channels The function generate_shared_secret expects the first argument "channel" in binary for Python 3, but it was passed as a string. That caused a `TypeError: can only concatenate str (not "bytes") to str` exception when using `authenticate` with encryption.
py
diff --git a/bulbs/contributions/filters.py b/bulbs/contributions/filters.py index <HASH>..<HASH> 100644 --- a/bulbs/contributions/filters.py +++ b/bulbs/contributions/filters.py @@ -20,6 +20,8 @@ class ESPublishedFilterBackend(filters.BaseFilterBackend): queryset = self.apply_published_filter(queryset, "a...
comment for the benefit of a dullard.
py
diff --git a/salt/modules/introspect.py b/salt/modules/introspect.py index <HASH>..<HASH> 100644 --- a/salt/modules/introspect.py +++ b/salt/modules/introspect.py @@ -6,6 +6,7 @@ usable by Salt States import os + def running_service_owners( exclude=('/dev', '/home', '/media', '/proc', '/run', '/sys/', '/...
Adding blank line for pylint
py
diff --git a/examples/quickhowto/config.py b/examples/quickhowto/config.py index <HASH>..<HASH> 100644 --- a/examples/quickhowto/config.py +++ b/examples/quickhowto/config.py @@ -23,6 +23,7 @@ BABEL_DEFAULT_FOLDER = 'translations' LANGUAGES = { 'en': {'flag': 'gb', 'name': 'English'}, 'pt': {'flag': 'pt', 'n...
Added pt_BR to quick how to example
py
diff --git a/taggit_labels/widgets.py b/taggit_labels/widgets.py index <HASH>..<HASH> 100644 --- a/taggit_labels/widgets.py +++ b/taggit_labels/widgets.py @@ -71,7 +71,7 @@ class LabelWidget(forms.TextInput): attrs.update({'class': 'taggit-labels taggit-list'}) list_attrs = flatatt(attrs) - ...
Fix rendering selected tags Because the class wasn't in quotes, `class=selected taggit-tag` was interpreted by the browser as `class="selected" taggit-tag=""` and didn't work.
py
diff --git a/examples/circos/octahedral.py b/examples/circos/octahedral.py index <HASH>..<HASH> 100644 --- a/examples/circos/octahedral.py +++ b/examples/circos/octahedral.py @@ -1,6 +1,12 @@ +""" +Displays a NetworkX octahedral graph to screen using a CircosPlot. +""" + from nxviz.circos import CircosPlot import net...
Updated octahedral example with matplotlib display and comments.
py
diff --git a/django_inbound_email/__init__.py b/django_inbound_email/__init__.py index <HASH>..<HASH> 100644 --- a/django_inbound_email/__init__.py +++ b/django_inbound_email/__init__.py @@ -1,7 +1,7 @@ """An inbound email handler for Django.""" __title__ = 'django-inbound-email' -__version__ = '0.3.4' +__version__...
Bump package version to <I>. The migration of errors into their own module is a breaking change, so bumping minor version.
py
diff --git a/fireplace/targeting.py b/fireplace/targeting.py index <HASH>..<HASH> 100644 --- a/fireplace/targeting.py +++ b/fireplace/targeting.py @@ -44,7 +44,7 @@ TARGET_ALL_CHARACTERS = TARGET_ALL_MINIONS | TARGET_ANY_HERO # Requirements-based targeting -def isValidTarget(self, target): +def isValidTarget(self,...
Allow passing a separate requirements dict in isValidTarget()
py
diff --git a/flask_appbuilder/models/sqla/interface.py b/flask_appbuilder/models/sqla/interface.py index <HASH>..<HASH> 100644 --- a/flask_appbuilder/models/sqla/interface.py +++ b/flask_appbuilder/models/sqla/interface.py @@ -166,6 +166,17 @@ class SQLAInterface(BaseInterface): query_count = self.session.quer...
Fix, MSSQL issue with pagination #<I> (#<I>)
py
diff --git a/demos/chatroom/experiment.py b/demos/chatroom/experiment.py index <HASH>..<HASH> 100644 --- a/demos/chatroom/experiment.py +++ b/demos/chatroom/experiment.py @@ -26,10 +26,6 @@ class CoordinationChatroom(dlgr.experiments.Experiment): if not self.config.ready: self.config.load_config()...
Perform extra_settings calls in load_config, fix chatroom config
py
diff --git a/Malmo/samples/Python_examples/robust_frames.py b/Malmo/samples/Python_examples/robust_frames.py index <HASH>..<HASH> 100644 --- a/Malmo/samples/Python_examples/robust_frames.py +++ b/Malmo/samples/Python_examples/robust_frames.py @@ -71,7 +71,7 @@ class RandomAgent: image = Image.frombytes...
Fix: missing self in variable for saving frames.
py
diff --git a/plenum/server/node.py b/plenum/server/node.py index <HASH>..<HASH> 100644 --- a/plenum/server/node.py +++ b/plenum/server/node.py @@ -12,6 +12,7 @@ import psutil from intervaltree import IntervalTree from common.exceptions import LogicError +from common.serializers.serialization import state_roots_seri...
INDY-<I>: Added logging of state to catch-up
py
diff --git a/tests/test_server.py b/tests/test_server.py index <HASH>..<HASH> 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -59,12 +59,12 @@ def test_csv_endpoint_with_multilines_fields(client, factory): assert 'rue des avions\r\n31310\r\nMontbrun-Bocage' in data -def test_csv_endpoint_with_e...
Add csv endpoint test with tab as delimiter (cf #<I>)
py
diff --git a/tmtoolkit/topicmod/_eval_tools.py b/tmtoolkit/topicmod/_eval_tools.py index <HASH>..<HASH> 100644 --- a/tmtoolkit/topicmod/_eval_tools.py +++ b/tmtoolkit/topicmod/_eval_tools.py @@ -70,25 +70,9 @@ class FakedGensimDict: return FakedGensimDict(dict(zip(range(len(vocab)), vocab))) def __iter_...
removed unnecessary code in FakedGensimDict
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ classifiers=[ ] setup(name='html5lib', - version='0.11', + version='1.0', url='http://code.google.com/p/html5lib/', license="MIT License", description='HTML parser based on...
Change version number in preparation for <I>
py