diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -89,7 +89,7 @@ setup( data_files=[( (BASE_DIR, ['data/nssm_original.exe']) )], - install_requires=['sovrin-common-dev==0.2.36', 'python-dateutil'], + install_requires=['sovrin-common-dev==0.2.38', 'pyt...
moved to latest sovrin-common
py
diff --git a/gwpy/detector/io/clf.py b/gwpy/detector/io/clf.py index <HASH>..<HASH> 100755 --- a/gwpy/detector/io/clf.py +++ b/gwpy/detector/io/clf.py @@ -77,6 +77,7 @@ from numpy import inf from ...io import registry from ...io.utils import identify_factory +from ...io.cache import FILE_LIKE from ...utils.compat ...
detector.io.clf: fixed bug in writing to tmpfile
py
diff --git a/config/src/main/config/home/restore/redboxMigration1.9.py b/config/src/main/config/home/restore/redboxMigration1.9.py index <HASH>..<HASH> 100644 --- a/config/src/main/config/home/restore/redboxMigration1.9.py +++ b/config/src/main/config/home/restore/redboxMigration1.9.py @@ -113,7 +113,7 @@ class Migrate...
removed erroneous python string call as not needed and also tries to revert UTF-8 string from java back to ASCII.
py
diff --git a/telethon/telegram_client.py b/telethon/telegram_client.py index <HASH>..<HASH> 100644 --- a/telethon/telegram_client.py +++ b/telethon/telegram_client.py @@ -1041,11 +1041,12 @@ class TelegramClient(TelegramBareClient): def _set_connected_and_authorized(self): self._authorized = True - ...
Start background thread only if it was None
py
diff --git a/salt/utils/pyobjects.py b/salt/utils/pyobjects.py index <HASH>..<HASH> 100644 --- a/salt/utils/pyobjects.py +++ b/salt/utils/pyobjects.py @@ -71,8 +71,8 @@ class StateRegistry(object): id_, state.full_func )) - else: - attr[id_] =...
Fix incorrect indent on else statement
py
diff --git a/hypercorn/asyncio/run.py b/hypercorn/asyncio/run.py index <HASH>..<HASH> 100644 --- a/hypercorn/asyncio/run.py +++ b/hypercorn/asyncio/run.py @@ -155,7 +155,8 @@ def run_single( reload_ = False try: if tasks: - loop.run_until_complete(asyncio.gather(*tasks)) + gathe...
Bugfix task cancellation warnings This prevents an annoying ``_GatheringFuture exception was never retrieved`` message and clarifies the unhandled exception shutdown message.
py
diff --git a/PyGitUp/gitup.py b/PyGitUp/gitup.py index <HASH>..<HASH> 100644 --- a/PyGitUp/gitup.py +++ b/PyGitUp/gitup.py @@ -283,9 +283,11 @@ class GitUp(object): else: fetch_args.append(self.remotes) - if fetch_args[-1] == ['.']: + if fetch_args == ['.']: ...
Fixed problem with local and remote tracking branches
py
diff --git a/datapoint/Manager.py b/datapoint/Manager.py index <HASH>..<HASH> 100644 --- a/datapoint/Manager.py +++ b/datapoint/Manager.py @@ -497,18 +497,11 @@ class Manager(object): return sites - def get_nearest_observation_site(self, latitude=None, longitude=None): + def get_nearest_observation_s...
Require arguments to get_nearest_observation_site Remove logic to check if arguments were provided.
py
diff --git a/bitshares/bitshares.py b/bitshares/bitshares.py index <HASH>..<HASH> 100644 --- a/bitshares/bitshares.py +++ b/bitshares/bitshares.py @@ -836,7 +836,7 @@ class BitShares(object): if not account: raise ValueError("You need to provide an account") account = Account(account, bit...
[approve] fix approval if no key present
py
diff --git a/pulsar/apps/tasks/__init__.py b/pulsar/apps/tasks/__init__.py index <HASH>..<HASH> 100755 --- a/pulsar/apps/tasks/__init__.py +++ b/pulsar/apps/tasks/__init__.py @@ -90,6 +90,8 @@ tasks and managing scheduling of tasks. def end_event_task(self, worker, task, result): if isinstance(result,Exc...
Propagate exceptions if the task itself is an exception
py
diff --git a/salt/states/augeas.py b/salt/states/augeas.py index <HASH>..<HASH> 100644 --- a/salt/states/augeas.py +++ b/salt/states/augeas.py @@ -265,7 +265,7 @@ def change(name, context=None, changes=None, lens=None, filename = re.sub('^/files|/$', '', context) if __opts__['test']: - ret['resul...
Change return value for salt/states/augeas.py to be True instead of None for cases where salt is run with test=True. Fixes #<I>
py
diff --git a/nsone/__init__.py b/nsone/__init__.py index <HASH>..<HASH> 100644 --- a/nsone/__init__.py +++ b/nsone/__init__.py @@ -6,7 +6,7 @@ from .config import Config -version = "0.9.5" +version = "0.9.6" class NSONE:
Bumps version to <I>
py
diff --git a/lib/drizCR.py b/lib/drizCR.py index <HASH>..<HASH> 100644 --- a/lib/drizCR.py +++ b/lib/drizCR.py @@ -182,9 +182,9 @@ def _drizCr(sciImage=None,configObj={},saveFile=True): __crMask = np.zeros(__inputImage.shape,dtype=np.uint8) # Determine a scaling factor depending on the units...
The logic in drizCR was made a little more robust by using .lower() when comparing values of in_units. WJH git-svn-id: <URL>
py
diff --git a/cas_server/views.py b/cas_server/views.py index <HASH>..<HASH> 100644 --- a/cas_server/views.py +++ b/cas_server/views.py @@ -82,7 +82,8 @@ class LogoutMixin(object): user.logout(self.request) user.delete() except models.User.DoesNotExist: - pass + s...
fix infinite redirect then connected to admin panel
py
diff --git a/bokeh/settings.py b/bokeh/settings.py index <HASH>..<HASH> 100644 --- a/bokeh/settings.py +++ b/bokeh/settings.py @@ -57,9 +57,6 @@ class Settings(object): def pretty(self, default=None): return self._get_bool("PRETTY", default) - def pythonlib(self, default=None): - return self._...
Remove PYTHONLIB because it is not used by anyone and not referenced anywhere in the codebase.
py
diff --git a/setuptools/tests/test_distutils_adoption.py b/setuptools/tests/test_distutils_adoption.py index <HASH>..<HASH> 100644 --- a/setuptools/tests/test_distutils_adoption.py +++ b/setuptools/tests/test_distutils_adoption.py @@ -2,6 +2,7 @@ import os import sys import functools import subprocess +import platfo...
On Windows, SYSTEMROOT must be supplied.
py
diff --git a/OpenPNM/Network/__GenericNetwork__.py b/OpenPNM/Network/__GenericNetwork__.py index <HASH>..<HASH> 100644 --- a/OpenPNM/Network/__GenericNetwork__.py +++ b/OpenPNM/Network/__GenericNetwork__.py @@ -614,9 +614,9 @@ class GenericNetwork(Core): apply_label=apply_label, mode=mode) ...
Minor change to the stitch method argument. Now, the stitch test passes.
py
diff --git a/appkit/app.py b/appkit/app.py index <HASH>..<HASH> 100644 --- a/appkit/app.py +++ b/appkit/app.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # coding=utf8 from __future__ import print_function, unicode_literals -from gi.repository import Gtk, WebKit +from gi.repository import Gtk, Gdk, WebKit import sys im...
Default windows size to 3/5 of monitor size
py
diff --git a/GPy/testing/unit_tests.py b/GPy/testing/unit_tests.py index <HASH>..<HASH> 100644 --- a/GPy/testing/unit_tests.py +++ b/GPy/testing/unit_tests.py @@ -190,7 +190,6 @@ class GradientTests(unittest.TestCase): m.update_likelihood_approximation() self.assertTrue(m.checkgrad()) - @unittest...
FITC test not skipped any more
py
diff --git a/drain/model.py b/drain/model.py index <HASH>..<HASH> 100644 --- a/drain/model.py +++ b/drain/model.py @@ -43,13 +43,21 @@ class FitPredict(Step): else: X_train, y_train = X, y + y_missing = y_train.isnull() + y_missing_count = y_missing.sum() + ...
drop training examples with missing outcomes (#<I>)
py
diff --git a/nosedjango/nosedjango.py b/nosedjango/nosedjango.py index <HASH>..<HASH> 100644 --- a/nosedjango/nosedjango.py +++ b/nosedjango/nosedjango.py @@ -86,7 +86,8 @@ class NoseDjango(Plugin): ) parser.add_option('--django-sqlite', help='Use in-memory...
Fixed arg parsing for --django-sqlite option so that it doesn't just eat the next argument
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -35,8 +35,11 @@ for line in open('lib/version.py').readlines(): def main(): if sys.version_info[0] >= 3: install_requires = ['pyparsing>=2.0.0'] + elif sys.version_info[:2] >= (2, 6): + # For Python 2....
Update version requirements to allow pyparsing <I> for py <I>,<I>
py
diff --git a/suds/cache.py b/suds/cache.py index <HASH>..<HASH> 100644 --- a/suds/cache.py +++ b/suds/cache.py @@ -268,14 +268,14 @@ class FileCache(Cache): path = os.path.join(self.location, 'version') try: - f = open(path) + f = self.open(path) versio...
Fix checkversion() for cases when the cache directory does not exist.
py
diff --git a/neomodel/relationship.py b/neomodel/relationship.py index <HASH>..<HASH> 100644 --- a/neomodel/relationship.py +++ b/neomodel/relationship.py @@ -90,7 +90,7 @@ class StructuredRel(StructuredRelBase): else: props[key] = None srel = cls(**props) - srel._start_nod...
Update relationship.py To Overcome the Deprecation Warning.
py
diff --git a/databasetools/json.py b/databasetools/json.py index <HASH>..<HASH> 100644 --- a/databasetools/json.py +++ b/databasetools/json.py @@ -10,7 +10,7 @@ class JSON: def write(self, data_dict): with open(self.save_name, 'w') as fp: - json.dump(data_dict, fp, sort_keys=True, indent=4) +...
Changed default number of indents from 4 to 2
py
diff --git a/gooey/python_bindings/source_parser.py b/gooey/python_bindings/source_parser.py index <HASH>..<HASH> 100644 --- a/gooey/python_bindings/source_parser.py +++ b/gooey/python_bindings/source_parser.py @@ -135,10 +135,15 @@ def extract_parser(modulepath): main_func = get_nodes_by_containing_attr(funcs, 'mai...
Added exception for main functions that end with an if statement
py
diff --git a/securesystemslib/gpg/common.py b/securesystemslib/gpg/common.py index <HASH>..<HASH> 100644 --- a/securesystemslib/gpg/common.py +++ b/securesystemslib/gpg/common.py @@ -672,11 +672,12 @@ def parse_signature_packet(data, supported_signature_types=None, if subpacket_type == PARTIAL_KEYID_SUBPACKET: ...
Add TODO comment to commented out gpg block
py
diff --git a/test/on_yubikey/test_cli_oath.py b/test/on_yubikey/test_cli_oath.py index <HASH>..<HASH> 100644 --- a/test/on_yubikey/test_cli_oath.py +++ b/test/on_yubikey/test_cli_oath.py @@ -30,8 +30,7 @@ PASSWORD = 'aaaa' @unittest.skipIf(*missing_mode(TRANSPORT.CCID)) class TestOATH(DestructiveYubikeyTestCase): -...
Reset OATH applet before each test
py
diff --git a/pyaxiom/urn.py b/pyaxiom/urn.py index <HASH>..<HASH> 100644 --- a/pyaxiom/urn.py +++ b/pyaxiom/urn.py @@ -51,7 +51,7 @@ class IoosUrn(object): z += ':{}'.format(self.component) if self.version is not None: z += ':{}'.format(self.version) - return z + return ...
Always lowercase the URNs... even though they are case insensitive
py
diff --git a/pandas/tests/io/test_clipboard.py b/pandas/tests/io/test_clipboard.py index <HASH>..<HASH> 100644 --- a/pandas/tests/io/test_clipboard.py +++ b/pandas/tests/io/test_clipboard.py @@ -91,6 +91,8 @@ class TestClipboard(object): self.check_round_trip_frame(dt) def test_read_clipboard_infer_...
TST: Remove clipboard-excel test warnings (#<I>) Closes gh-<I>.
py
diff --git a/memorious/operations/extract.py b/memorious/operations/extract.py index <HASH>..<HASH> 100644 --- a/memorious/operations/extract.py +++ b/memorious/operations/extract.py @@ -90,9 +90,10 @@ def extract(context, data): "Unsupported archive content type: %s", content_type ) ...
Pass on filenames of the extracted files too
py
diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py index <HASH>..<HASH> 100644 --- a/spyderlib/spyder.py +++ b/spyderlib/spyder.py @@ -1115,7 +1115,7 @@ class MainWindow(QMainWindow): """Actions to be performed only after the main window's `show` method was triggered""" self.emit(SIGNA...
Main Window: Give focus to the Editor in post_visible_setup - The idea is to make it the default focused plugin after startup.
py
diff --git a/dpark/file_manager/fs.py b/dpark/file_manager/fs.py index <HASH>..<HASH> 100644 --- a/dpark/file_manager/fs.py +++ b/dpark/file_manager/fs.py @@ -101,18 +101,16 @@ class MooseFS(PosixFS): for name, info in cs.iteritems(): if name in '..': continue - ...
fix: fix the walk bug when cache is old
py
diff --git a/sphinx_bootstrap_theme/__init__.py b/sphinx_bootstrap_theme/__init__.py index <HASH>..<HASH> 100644 --- a/sphinx_bootstrap_theme/__init__.py +++ b/sphinx_bootstrap_theme/__init__.py @@ -1,7 +1,7 @@ """Sphinx bootstrap theme.""" import os -__version__ = "0.8.0" +__version__ = "0.8.1.dev0" def get_h...
Bump to dev version post release
py
diff --git a/src/workflows/transport/__init__.py b/src/workflows/transport/__init__.py index <HASH>..<HASH> 100644 --- a/src/workflows/transport/__init__.py +++ b/src/workflows/transport/__init__.py @@ -6,7 +6,7 @@ from typing import Union import pkg_resources -default_transport = "StompTransport" +default_transpo...
Make PikaTransport default transport (#<I>)
py
diff --git a/phoebe/frontend/common.py b/phoebe/frontend/common.py index <HASH>..<HASH> 100644 --- a/phoebe/frontend/common.py +++ b/phoebe/frontend/common.py @@ -1414,6 +1414,9 @@ class Container(object): [FUTURE] """ + if not isinstance(twiglet, str): + raise ValueError("...
searching by twig now confirms that input is of type str first
py
diff --git a/great_expectations/render/view/view.py b/great_expectations/render/view/view.py index <HASH>..<HASH> 100644 --- a/great_expectations/render/view/view.py +++ b/great_expectations/render/view/view.py @@ -64,7 +64,13 @@ class DefaultJinjaView(object): @classmethod @contextfilter def render_cont...
Add ability to render lists of content blocks
py
diff --git a/openquake/engine/calculators/hazard/classical/core.py b/openquake/engine/calculators/hazard/classical/core.py index <HASH>..<HASH> 100644 --- a/openquake/engine/calculators/hazard/classical/core.py +++ b/openquake/engine/calculators/hazard/classical/core.py @@ -66,10 +66,11 @@ def compute_hazard_curves(job...
Restored source filtering in the classical calculator Former-commit-id: ad4a0ab<I>d<I>e<I>c<I>ab<I>fcf
py
diff --git a/pgmpy/tests/test_factors/test_FactorSet.py b/pgmpy/tests/test_factors/test_FactorSet.py index <HASH>..<HASH> 100644 --- a/pgmpy/tests/test_factors/test_FactorSet.py +++ b/pgmpy/tests/test_factors/test_FactorSet.py @@ -39,7 +39,7 @@ class TestFactorSet(unittest.TestCase): phi3 = Factor(['x5', 'x6',...
Fixed the failing test in test_FactorSet.py inplace = false wasn't set , and return output was being comapred to expected output (which will be none when inplace = True)
py
diff --git a/squad/core/management/commands/fix_squadplugin_data.py b/squad/core/management/commands/fix_squadplugin_data.py index <HASH>..<HASH> 100644 --- a/squad/core/management/commands/fix_squadplugin_data.py +++ b/squad/core/management/commands/fix_squadplugin_data.py @@ -3,7 +3,7 @@ import logging from django.d...
core: commands: fix scripts to clean tradefed entries The query to get tests was too broad, plus there was an unsed import
py
diff --git a/MAVProxy/modules/mavproxy_map/__init__.py b/MAVProxy/modules/mavproxy_map/__init__.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_map/__init__.py +++ b/MAVProxy/modules/mavproxy_map/__init__.py @@ -135,8 +135,8 @@ class MapModule(mp_module.MPModule): self.mpstate.map.ad...
map: fix boolean order prevent reference to unknown variable
py
diff --git a/src/app/readers/tsv.py b/src/app/readers/tsv.py index <HASH>..<HASH> 100644 --- a/src/app/readers/tsv.py +++ b/src/app/readers/tsv.py @@ -77,10 +77,8 @@ def get_proteins_from_psm(line): proteins = line[mzidtsvdata.HEADER_PROTEIN].split(';') outproteins = [] for protein in proteins: - ...
Strip MSGF+ pre/post AA annotation on PSM table proteins more thoroughly. No functional difference except when someone has FASTA headers containing pre/post annotation because it is generated from a PSM table. This FASTA would lead to a new PSM table containing 2 pre/post annotations and possible problems in parsing ge...
py
diff --git a/tests/test_regions.py b/tests/test_regions.py index <HASH>..<HASH> 100644 --- a/tests/test_regions.py +++ b/tests/test_regions.py @@ -4,13 +4,12 @@ Test regions.py """ from __future__ import print_function - -__author__ = 'Paul Hancock' - from AegeanTools.regions import Region import numpy as np imp...
reorder header for pep8
py
diff --git a/splunklib/client.py b/splunklib/client.py index <HASH>..<HASH> 100644 --- a/splunklib/client.py +++ b/splunklib/client.py @@ -1956,9 +1956,18 @@ class Inputs(Collection): Collection.__init__(self, service, PATH_INPUTS, item=Input) def __getitem__(self, key): + # The key needed to ret...
Added a handling function for different type of URL encoded names.
py
diff --git a/detectem/response.py b/detectem/response.py index <HASH>..<HASH> 100644 --- a/detectem/response.py +++ b/detectem/response.py @@ -14,7 +14,7 @@ from detectem.exceptions import DockerStartError, SplashError from detectem.utils import docker_container DEFAULT_CHARSET = 'iso-8859-1' -ERROR_STATUS_CODES = ...
<I> seems to be a proper error number too I get this when using a non-resolvable name (e.g., <URL>)
py
diff --git a/aiger/expr.py b/aiger/expr.py index <HASH>..<HASH> 100644 --- a/aiger/expr.py +++ b/aiger/expr.py @@ -6,7 +6,7 @@ from aiger import aig from aiger import common as cmn -@attr.s(frozen=True, slots=True, cmp=False, auto_attribs=True, hash=True) +@attr.s(frozen=True, slots=True, eq=False, auto_attribs=Tr...
attrs cmp is deprecated
py
diff --git a/area4/__init__.py b/area4/__init__.py index <HASH>..<HASH> 100644 --- a/area4/__init__.py +++ b/area4/__init__.py @@ -98,6 +98,10 @@ divider85 = str("yyyyyyyyyyyy") divider86 = str("YYYYYYYYYYYY") divider87 = str("zzzzzzzzzzzz") divider88 = str("ZZZZZZZZZZZZ") +divider89 = str("🏖️🏖️🏖️🏖️🏖️🏖️🏖️🏖️�...
added div <I> thru <I>
py
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index <HASH>..<HASH> 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -1213,6 +1213,12 @@ class ProjectMergeRequestManager(CRUDMixin, RESTManager): 'milestone_id')) _list_filters = ('iids', 'state', 'order_by', ...
Properly handle the labels attribute in ProjectMergeRequest This should have made it into e<I>fc but something went wrong (probably a PEBCAK). Closes #<I>
py
diff --git a/codemod/base.py b/codemod/base.py index <HASH>..<HASH> 100755 --- a/codemod/base.py +++ b/codemod/base.py @@ -963,6 +963,8 @@ def _parse_command_line(): help='Substitution to replace with.') arguments = parser.parse_args() + if not arguments.match: + parser.exit(0,...
Exit with usage message when nothing to do The program would crash when run without a match argument. Show the usage message instead and exit cleanly.
py
diff --git a/formats/gff.py b/formats/gff.py index <HASH>..<HASH> 100644 --- a/formats/gff.py +++ b/formats/gff.py @@ -1248,8 +1248,8 @@ def match_subfeats(f1, f2, dbx1, dbx2, featuretype='CDS', slop=False): list(dbx2.children(f2, featuretype=featuretype, order_by='start')) lf1c, lf2c = len(f1c), le...
+ Minor change to formats.gff.match_subfeats() logic
py
diff --git a/master/buildbot/test/unit/test_db_changes.py b/master/buildbot/test/unit/test_db_changes.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/unit/test_db_changes.py +++ b/master/buildbot/test/unit/test_db_changes.py @@ -441,7 +441,7 @@ class TestChangesConnectorComponent( def test_pruneChanges_l...
don't try to insert an id=0, as mysql will autoincrement it
py
diff --git a/tensorbase/base.py b/tensorbase/base.py index <HASH>..<HASH> 100644 --- a/tensorbase/base.py +++ b/tensorbase/base.py @@ -186,8 +186,9 @@ class Layers: strides = np.ones(depth) if padding is None: padding = list() - padding.append(['VALID']) - paddin...
convnet and deconvnet
py
diff --git a/tests/thread/stress_aes.py b/tests/thread/stress_aes.py index <HASH>..<HASH> 100644 --- a/tests/thread/stress_aes.py +++ b/tests/thread/stress_aes.py @@ -235,7 +235,7 @@ class LockedCounter: count = LockedCounter() -def thread_entry(): +def thread_entry(n_loop): global count aes = AES(256)...
tests/thread: Make stress_aes.py test run on bare-metal ports. This is a long-running test, so make it run in reasonable time on slower, bare-metal ports.
py
diff --git a/discord/asset.py b/discord/asset.py index <HASH>..<HASH> 100644 --- a/discord/asset.py +++ b/discord/asset.py @@ -48,6 +48,18 @@ class Asset: .. describe:: bool(x) Checks if the Asset has a URL. + + .. describe:: x == y + + Checks if the asset is equal to another a...
Add equality comparisons between two assets and hashing an asset.
py
diff --git a/examples/feedinlib_example_coastdat.py b/examples/feedinlib_example_coastdat.py index <HASH>..<HASH> 100644 --- a/examples/feedinlib_example_coastdat.py +++ b/examples/feedinlib_example_coastdat.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # -*- coding: utf-8 try:
change to python 3 as interpreter
py
diff --git a/bakery/management/commands/publish.py b/bakery/management/commands/publish.py index <HASH>..<HASH> 100644 --- a/bakery/management/commands/publish.py +++ b/bakery/management/commands/publish.py @@ -33,6 +33,13 @@ Will use settings.BUILD_DIR by default." help="Specify the AWS bucket to synce with. ...
Created an option to skip deletions, but still need to actually use it
py
diff --git a/salt/modules/mysql.py b/salt/modules/mysql.py index <HASH>..<HASH> 100755 --- a/salt/modules/mysql.py +++ b/salt/modules/mysql.py @@ -556,7 +556,7 @@ def user_grants(user, salt '*' mysql.user_grants 'frank' 'localhost' ''' - if not user_exists(user): + if not user_exists(user,host): ...
Make sure the user_grants forwards the host to user_exists, otherwise it will lead to issues with non-localhost users (e.g. MySQL replication grants)
py
diff --git a/pyArango/database.py b/pyArango/database.py index <HASH>..<HASH> 100644 --- a/pyArango/database.py +++ b/pyArango/database.py @@ -218,7 +218,7 @@ class Database(object) : data = r.json() - if (r.status_code == 200 or r.status_code == 201 or r.status_code == 202) and not data["error"] : ...
responses sometimes don't contain an error field. do a .get() to avoid a key exception
py
diff --git a/cumulus/management/commands/collectstatic.py b/cumulus/management/commands/collectstatic.py index <HASH>..<HASH> 100644 --- a/cumulus/management/commands/collectstatic.py +++ b/cumulus/management/commands/collectstatic.py @@ -2,7 +2,7 @@ import hashlib from django.contrib.staticfiles.management.commands...
Updated to use new Swiftclient class
py
diff --git a/synapse/tests/test_model_inet.py b/synapse/tests/test_model_inet.py index <HASH>..<HASH> 100644 --- a/synapse/tests/test_model_inet.py +++ b/synapse/tests/test_model_inet.py @@ -532,6 +532,10 @@ class InetModelTest(SynTest): self.eq(t0[1].get('inet:web:action:acct:user'), 'pennywise') ...
Add a info property to the inet:web:action test.
py
diff --git a/pyemma/msm/tests/test_bayesian_msm.py b/pyemma/msm/tests/test_bayesian_msm.py index <HASH>..<HASH> 100644 --- a/pyemma/msm/tests/test_bayesian_msm.py +++ b/pyemma/msm/tests/test_bayesian_msm.py @@ -90,7 +90,7 @@ class TestBMSM(unittest.TestCase): import msmtools.analysis as msmana for P i...
[test-bmsm] lower tolerance for "is_reversible" to 1e-<I>
py
diff --git a/delocate/tools.py b/delocate/tools.py index <HASH>..<HASH> 100644 --- a/delocate/tools.py +++ b/delocate/tools.py @@ -192,9 +192,18 @@ _OTOOL_ARCHITECTURE_RE = re.compile( ) """Matches the library separater line in 'otool -L'-like outputs. -Must match the following examples: -'example.so (architecture ...
Update otool listing regex docs.
py
diff --git a/gns3server/modules/dynamips/nodes/router.py b/gns3server/modules/dynamips/nodes/router.py index <HASH>..<HASH> 100644 --- a/gns3server/modules/dynamips/nodes/router.py +++ b/gns3server/modules/dynamips/nodes/router.py @@ -33,6 +33,8 @@ log = logging.getLogger(__name__) from ...base_vm import BaseVM from ...
Support for relative path in Dynamips.
py
diff --git a/ports/stm32/make-stmconst.py b/ports/stm32/make-stmconst.py index <HASH>..<HASH> 100644 --- a/ports/stm32/make-stmconst.py +++ b/ports/stm32/make-stmconst.py @@ -46,7 +46,7 @@ class LexerError(Exception): class Lexer: re_io_reg = r"__IO uint(?P<bits>8|16|32)_t +(?P<reg>[A-Z0-9]+)" - re_comment =...
stm<I>/make-stmconst.py: Allow "[]" chars when parsing source comments. For STM<I>WB MCUs, EXTI offset addresses were not parsed due to the appearance of "[<I>:0]" in a comment in the .h file.
py
diff --git a/openpnm/__version__.py b/openpnm/__version__.py index <HASH>..<HASH> 100644 --- a/openpnm/__version__.py +++ b/openpnm/__version__.py @@ -1 +1 @@ -__version__ = '2.4.10' +__version__ = '2.4.2'
Test multi-branch push (success)
py
diff --git a/angr/procedures/libc/snprintf.py b/angr/procedures/libc/snprintf.py index <HASH>..<HASH> 100644 --- a/angr/procedures/libc/snprintf.py +++ b/angr/procedures/libc/snprintf.py @@ -24,3 +24,22 @@ class snprintf(FormatParser): # size_t has size arch.bits return self.state.se.BVV(out_str.siz...
Added simple emulation for __snprintf_chk (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,11 @@ -from setuptools import setup +from setuptools import setup, find_packages setup( name="edx-opaque-keys", - version="0.2.0", + version="0.2.1", author="edX", url="https://github.com/edx/o...
Including all packages opaque_keys.edx.tests is needed by ccx-keys. It is unclear if other packages rely on tests as well. Erring on the side of relative caution and including all the things.
py
diff --git a/searx/engines/openstreetmap.py b/searx/engines/openstreetmap.py index <HASH>..<HASH> 100644 --- a/searx/engines/openstreetmap.py +++ b/searx/engines/openstreetmap.py @@ -23,7 +23,7 @@ base_url = 'https://nominatim.openstreetmap.org/' search_string = 'search/{query}?format=json&polygon_geojson=1&addressdet...
[fix] resolve pep8 errors
py
diff --git a/tests/test3.py b/tests/test3.py index <HASH>..<HASH> 100644 --- a/tests/test3.py +++ b/tests/test3.py @@ -155,14 +155,24 @@ data = bt.feeds.YahooFinanceCSVData( cerebro.adddata(data) cerebro.broker.setcash(1000.0) -strats = cerebro.optstrategy( - TestStrategy, - printdata=False, - printops=Fal...
test3 code in place to choose between plain run or with-optimization
py
diff --git a/tests/unit/design_document_tests.py b/tests/unit/design_document_tests.py index <HASH>..<HASH> 100644 --- a/tests/unit/design_document_tests.py +++ b/tests/unit/design_document_tests.py @@ -827,6 +827,9 @@ class DesignDocumentTests(UnitTestDbBase): ddoc_remote = DesignDocument(self.db, '_design/dd...
Trigger search index builds before asserting metadata
py
diff --git a/osuapi/enums.py b/osuapi/enums.py index <HASH>..<HASH> 100644 --- a/osuapi/enums.py +++ b/osuapi/enums.py @@ -149,6 +149,10 @@ class BeatmapGenre(Enum): novelty = 7 hip_hop = 9 electronic = 10 + metal = 11 + classical = 12 + folk = 13 + jazz = 14 class BeatmapLanguage(Enum):
Add various new song genre enums
py
diff --git a/charmhelpers/contrib/hahelpers/cluster.py b/charmhelpers/contrib/hahelpers/cluster.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/hahelpers/cluster.py +++ b/charmhelpers/contrib/hahelpers/cluster.py @@ -62,12 +62,12 @@ def peer_units(): return peers -def peer_ips(peer_relation='cluster'...
relation_list and relation_ids both return [] if none a represent so don't to guard against none. Allow the address key to be overridden
py
diff --git a/astroid/node_classes.py b/astroid/node_classes.py index <HASH>..<HASH> 100644 --- a/astroid/node_classes.py +++ b/astroid/node_classes.py @@ -313,9 +313,9 @@ class NodeNG(object): :rtype: str """ names = {'name', 'attrname'} - if names & set(self._other_fields): + i...
Check against astroid_fields explicitly
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( url='https://www.github.com/fmd/django-lazyconf', license='LICENSE.rst', description='Lazy config and deployment for Django.', - long_description=open('README.txt').read(), + long_des...
Updated setup.py to README.rst in long_description
py
diff --git a/holoviews/plotting/mpl/chart.py b/holoviews/plotting/mpl/chart.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/mpl/chart.py +++ b/holoviews/plotting/mpl/chart.py @@ -828,7 +828,13 @@ class BarPlot(LegendPlot): def get_extents(self, element, ranges): - return 0, 0, len(self.values['g...
Bars plotting extents now computed more correctly
py
diff --git a/pygsp/graphs.py b/pygsp/graphs.py index <HASH>..<HASH> 100644 --- a/pygsp/graphs.py +++ b/pygsp/graphs.py @@ -4,6 +4,7 @@ r""" Module documentation. """ +from copy import deepcopy import numpy as np import scipy as sp @@ -55,13 +56,33 @@ class Graph(object): pass def copy_graph_...
Added funcs for graphs
py
diff --git a/chatterbot/__init__.py b/chatterbot/__init__.py index <HASH>..<HASH> 100644 --- a/chatterbot/__init__.py +++ b/chatterbot/__init__.py @@ -3,7 +3,7 @@ ChatterBot is a machine learning, conversational dialog engine. """ from .chatterbot import ChatBot -__version__ = '0.6.0' +__version__ = '0.6.1' __auth...
Update release version to <I>
py
diff --git a/phydmslib/treelikelihood.py b/phydmslib/treelikelihood.py index <HASH>..<HASH> 100644 --- a/phydmslib/treelikelihood.py +++ b/phydmslib/treelikelihood.py @@ -646,14 +646,21 @@ class TreeLikelihood(object): catweights = self.model.catweights else: catweights = scipy.ones(1...
Fix underflow error with gamma-distributed models Resolves this issue: <URL>
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,8 +48,14 @@ master_doc = "index" # General information about the project. project = "Adafruit 74HC595 Library" +creation_year = "2018" current_year = str(datetime.datetime.now().year) -copyright = curr...
Use year duration range for copyright attribution
py
diff --git a/qiskit/_openquantumcompiler.py b/qiskit/_openquantumcompiler.py index <HASH>..<HASH> 100644 --- a/qiskit/_openquantumcompiler.py +++ b/qiskit/_openquantumcompiler.py @@ -6,25 +6,6 @@ import pdb import os import sys -class ForkablePdb(pdb.Pdb): - """usage: ForkablePdb.set_trace()""" - - _original_...
Remove debugging code for forks (#<I>)
py
diff --git a/salt/thorium/reg.py b/salt/thorium/reg.py index <HASH>..<HASH> 100644 --- a/salt/thorium/reg.py +++ b/salt/thorium/reg.py @@ -27,7 +27,10 @@ def set_(name, add, match): __reg__[name]['val'] = set() for event in __events__: if salt.utils.expr_match(event['tag'], match): - v...
Check for (non-)duplicate data dicts (#<I>)
py
diff --git a/adminrestrict/tests.py b/adminrestrict/tests.py index <HASH>..<HASH> 100755 --- a/adminrestrict/tests.py +++ b/adminrestrict/tests.py @@ -23,13 +23,13 @@ class ModelTests(TestCase): def test_allowed_ip(self): a = AllowedIP.objects.create(ip_address="127.0.0.1") - resp = self.client.p...
Fix for Django <I> so that <I> is followed to the end and test for <I> after following the redirect.
py
diff --git a/interest/service.py b/interest/service.py index <HASH>..<HASH> 100644 --- a/interest/service.py +++ b/interest/service.py @@ -92,11 +92,7 @@ class Service(Middleware): """ return self.__loop - @property - def fork(self): - return self.__handler.fork - - def listen(self, ...
removed service.fork extending listen
py
diff --git a/stegano/lsbset/generators.py b/stegano/lsbset/generators.py index <HASH>..<HASH> 100644 --- a/stegano/lsbset/generators.py +++ b/stegano/lsbset/generators.py @@ -29,7 +29,7 @@ import itertools import cv2 import numpy as np import math -from typing import Dict, Iterator, List +from typing import Dict, It...
chg: [mypy] fixed mypy issue
py
diff --git a/pdf/convert/img2pdf.py b/pdf/convert/img2pdf.py index <HASH>..<HASH> 100644 --- a/pdf/convert/img2pdf.py +++ b/pdf/convert/img2pdf.py @@ -67,10 +67,8 @@ class IMG2PDF: pdfs.append(pdf) return pdfs - def save(self, output_name='merged imgs', remove_temps=True): + def save(self,...
CUT call to remove_temps that was causing errors
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -107,7 +107,6 @@ setup( description="Mongo Connector", keywords=["mongo-connector", "mongo", "mongodb", "solr", "elasticsearch"], url="https://github.com/yougov/mongo-connector", - license="http://www.apache....
Remove license field, deprecated when redundant with Trove Classifiers.
py
diff --git a/email_normalize/__init__.py b/email_normalize/__init__.py index <HASH>..<HASH> 100644 --- a/email_normalize/__init__.py +++ b/email_normalize/__init__.py @@ -215,9 +215,10 @@ class Normalizer: def _lookup_provider(mx_records: typing.List[typing.Tuple[int, str]]) \ -> typing.Optional[provi...
Lowercase the host before searching the provider
py
diff --git a/src/heartbeat/checkers/build.py b/src/heartbeat/checkers/build.py index <HASH>..<HASH> 100644 --- a/src/heartbeat/checkers/build.py +++ b/src/heartbeat/checkers/build.py @@ -1,6 +1,7 @@ +from pkg_resources import Requirement, WorkingSet + from django.conf import settings from django.core.exceptions impor...
Package name should be searched through the same distros list we use for listing installed packages. get_distribution is using the global working_set which may not contain the requested package if the initialization(pkg_resources import time) happened before the project name to appear in the sys.path.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -31,12 +31,6 @@ setup( This package provides generic support for event sourcing in Python, in a 'domain driven design' style. An extensive `README file is available on GitHub <https://github.com/johnbywater/eventsourcing/b...
Adjusted the long_description.
py
diff --git a/cheroot/test/test_conn.py b/cheroot/test/test_conn.py index <HASH>..<HASH> 100644 --- a/cheroot/test/test_conn.py +++ b/cheroot/test/test_conn.py @@ -324,6 +324,9 @@ def test_streaming_11(test_client, set_cl): assert actual_resp_body == b'' assert not header_exists('Transfer-Encoding', ac...
Release unclosed HTTP connections in test_conn
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -40,6 +40,7 @@ setup( 'jsonfield>=0.9.20', ], tests_require=[ + 'mock', 'psycopg2', 'django-nose', 'south',
modified setup.py to include mock as a test requirement
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -90,7 +90,7 @@ if sys.version_info[0] == 3: setup( name='sqlparse', version=VERSION, - packages=find_packages(), + packages=find_packages(exclude=('tests',)), description='Non-validating SQL parser', ...
Don't install tests as a package.
py
diff --git a/compliance_checker/cf/cf.py b/compliance_checker/cf/cf.py index <HASH>..<HASH> 100644 --- a/compliance_checker/cf/cf.py +++ b/compliance_checker/cf/cf.py @@ -637,7 +637,7 @@ class CFBaseCheck(BaseCheck): valid = False else: valid = False - ...
[cf] fix check_units when value is None. Fixes #<I>
py
diff --git a/glue/pipeline.py b/glue/pipeline.py index <HASH>..<HASH> 100644 --- a/glue/pipeline.py +++ b/glue/pipeline.py @@ -1812,8 +1812,7 @@ class LSCDataFindJob(CondorDAGJob, AnalysisJob): self.add_opt('lal-cache','') self.add_opt('url-type','file') - self.add_condor_cmd('environment', - """LD_...
get all the environment variables, not specific ones
py
diff --git a/atlassian/bitbucket.py b/atlassian/bitbucket.py index <HASH>..<HASH> 100644 --- a/atlassian/bitbucket.py +++ b/atlassian/bitbucket.py @@ -2170,3 +2170,18 @@ class Bitbucket(AtlassianRestAPI): repoKey=repo_key, idCondition=id_condition) return self.delete(url) or {} + ...
function to get the build statuses (#<I>) Added function to get the build statuses associated with a commit.
py
diff --git a/growler/application.py b/growler/application.py index <HASH>..<HASH> 100644 --- a/growler/application.py +++ b/growler/application.py @@ -537,16 +537,20 @@ class Application: traceback.print_exc(file=trace) except AttributeError: pass - html = ("<html><head><title>...
Application: Added DOCTYPEs and fixed minor typo in default_<I>_handler & default_error_handler methods
py
diff --git a/utils/check_dependencies.py b/utils/check_dependencies.py index <HASH>..<HASH> 100644 --- a/utils/check_dependencies.py +++ b/utils/check_dependencies.py @@ -188,12 +188,12 @@ def CheckPytsk(): print u'[OK]\t\tSleuthKit version: {0:s}'.format(module_version) + minimum_version = '20140217' if not...
Code review: <I>: Fix for small issue in dependency check script.
py
diff --git a/odl/util/graphics.py b/odl/util/graphics.py index <HASH>..<HASH> 100644 --- a/odl/util/graphics.py +++ b/odl/util/graphics.py @@ -311,4 +311,4 @@ def show_discrete_data(values, grid, method='', title=None, if saveto is not None: fig.savefig(saveto) - return fig \ No newline at end of fil...
MAINT: pep8 fix of graphics
py
diff --git a/openquake/calculators/hazard/classical/post_processing.py b/openquake/calculators/hazard/classical/post_processing.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/hazard/classical/post_processing.py +++ b/openquake/calculators/hazard/classical/post_processing.py @@ -562,7 +562,7 @@ def compute_q...
calcs/hazard/classical/post_processing: Corrected a comment.
py
diff --git a/pages/settings.py b/pages/settings.py index <HASH>..<HASH> 100644 --- a/pages/settings.py +++ b/pages/settings.py @@ -219,7 +219,7 @@ PAGE_EXTRA_CONTEXT = getattr(settings, 'PAGE_EXTRA_CONTEXT', None) PAGE_UPLOAD_ROOT = getattr(settings, 'PAGE_UPLOAD_ROOT', 'upload') # Enable real time search indexatio...
Removed trailing : (fixed an issue)
py