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 @@ -86,7 +86,7 @@ setup( classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', - 'License :: OSI Approved :: BSD License', + 'License :: OSI Approved :: MIT Licens...
correct license in setup.py to MIT
py
diff --git a/chartpress.py b/chartpress.py index <HASH>..<HASH> 100755 --- a/chartpress.py +++ b/chartpress.py @@ -70,7 +70,7 @@ def build_images(prefix, images, tag=None, commit_range=None, push=False): if tag is None: image_tag = last_commit image_name = prefix + name - image_spe...
fix one more s/tag/image_tag/
py
diff --git a/lib/dep_types/article_metadata.py b/lib/dep_types/article_metadata.py index <HASH>..<HASH> 100644 --- a/lib/dep_types/article_metadata.py +++ b/lib/dep_types/article_metadata.py @@ -33,8 +33,6 @@ plural = "Articles" group = "Articles & Preprints" wf = [authorize_user(), \ render_form(ArticleForm),...
WebDeposit: fix for article demo deposition * Article demo deposition is not calling photo form anymore.
py
diff --git a/peri/opt/optimize.py b/peri/opt/optimize.py index <HASH>..<HASH> 100644 --- a/peri/opt/optimize.py +++ b/peri/opt/optimize.py @@ -95,7 +95,7 @@ def get_rand_Japprox(s, params, num_inds=1000, include_cost=False, **kwargs): if num_inds < tot_pix: inds = np.random.choice(tot_pix, size=num_inds, ...
opt.get_rand_Japprox: sorting inds for very small speed increase.
py
diff --git a/libsubmit/channels/ssh/ssh.py b/libsubmit/channels/ssh/ssh.py index <HASH>..<HASH> 100644 --- a/libsubmit/channels/ssh/ssh.py +++ b/libsubmit/channels/ssh/ssh.py @@ -131,7 +131,7 @@ class SshChannel (): remote_dest = remote_dir + '/' + os.path.basename(local_source) try: - se...
Setting remote file perms to <I>
py
diff --git a/theanets/activations.py b/theanets/activations.py index <HASH>..<HASH> 100644 --- a/theanets/activations.py +++ b/theanets/activations.py @@ -187,6 +187,8 @@ class Prelu(Activation): f(x) = \left\{ \begin{eqnarray*} rx &\qquad& \mbox{if } x < 0 \\ x &\qquad& \mbox{otherwise} ...
Clarify number of Prelu and LGrelu parameters.
py
diff --git a/tests/config_test.py b/tests/config_test.py index <HASH>..<HASH> 100644 --- a/tests/config_test.py +++ b/tests/config_test.py @@ -453,6 +453,14 @@ class TestMTimeComparator(object): assert not comparator.has_changed() assert comparator.has_changed() + @mock.patch('staticconf.config.o...
Added test for the case I'm fixing
py
diff --git a/src/you_get/common.py b/src/you_get/common.py index <HASH>..<HASH> 100755 --- a/src/you_get/common.py +++ b/src/you_get/common.py @@ -1317,7 +1317,7 @@ def load_cookies(cookiefile): cookies = cookiejar.MozillaCookieJar() now = time.time() ignore_discard, ignore_expires = False, F...
modify encoding with open cookies file
py
diff --git a/pyecore/ecore.py b/pyecore/ecore.py index <HASH>..<HASH> 100644 --- a/pyecore/ecore.py +++ b/pyecore/ecore.py @@ -365,7 +365,7 @@ class EOperation(ETypedElement): def normalized_name(self): name = self.name if keyword.iskeyword(name): - name = '_' + name + name ...
Change EOperation name normalization The previous normalization was avoind keywords by adding a '_' as first character. This is not a good practice, instead a '_' is added at the end of the word.
py
diff --git a/tests/regression/utils/tools.py b/tests/regression/utils/tools.py index <HASH>..<HASH> 100755 --- a/tests/regression/utils/tools.py +++ b/tests/regression/utils/tools.py @@ -3,6 +3,7 @@ from datetime import date, datetime import stdnet from stdnet import test, odm +from stdnet.utils.version import g...
added test for get_git_changeset
py
diff --git a/tests/comms/uds_server_test.py b/tests/comms/uds_server_test.py index <HASH>..<HASH> 100755 --- a/tests/comms/uds_server_test.py +++ b/tests/comms/uds_server_test.py @@ -39,7 +39,7 @@ try: message = server.wait_for_request() print('request: %s' % message) - server.respond('respon...
Added support for PMx inference server
py
diff --git a/virtualbox/library_ext/keyboard.py b/virtualbox/library_ext/keyboard.py index <HASH>..<HASH> 100644 --- a/virtualbox/library_ext/keyboard.py +++ b/virtualbox/library_ext/keyboard.py @@ -15,7 +15,7 @@ SCANCODES = { '4': [[0x05], [0x85]], '$': [[0x2A, 0x05], [0x85, 0xAA]], '5': [[0x06], [...
Fix scancode release code for the touch 7 issue #<I>
py
diff --git a/chemlab/graphics/__init__.py b/chemlab/graphics/__init__.py index <HASH>..<HASH> 100644 --- a/chemlab/graphics/__init__.py +++ b/chemlab/graphics/__init__.py @@ -5,12 +5,15 @@ from .renderers import AtomRenderer, BoxRenderer, BallAndStickRenderer from .uis import TextUI import numpy as np +from .postpr...
Added fxaa to the default traj player
py
diff --git a/pythran/optimizations.py b/pythran/optimizations.py index <HASH>..<HASH> 100644 --- a/pythran/optimizations.py +++ b/pythran/optimizations.py @@ -130,7 +130,7 @@ class GenExpToImap(Transformation): return gen.iter else: ldFilter = ast.Lambda( - ast.argument...
Fix ifilter optimisation * Arguments in function have Param context instead of Store
py
diff --git a/microcosm_logging/factories.py b/microcosm_logging/factories.py index <HASH>..<HASH> 100644 --- a/microcosm_logging/factories.py +++ b/microcosm_logging/factories.py @@ -29,7 +29,7 @@ from microcosm.api import defaults debug=[], info=["boto", "newrelic"], warn=["brava...
Add another logging protection for requests-futures' FuturesSession (#<I>) The latest release of requests-futures ([<I>](<URL>)) causes errors when used with the loggly client. Loggly calls the futures handler in such a way that causes it to emit a deprecation warning, which then needs to be logged, which which is ...
py
diff --git a/mot/lib/kernel_data.py b/mot/lib/kernel_data.py index <HASH>..<HASH> 100644 --- a/mot/lib/kernel_data.py +++ b/mot/lib/kernel_data.py @@ -583,7 +583,11 @@ class LocalMemory(KernelData): return ['local {}* restrict {}'.format(self._ctype, kernel_param_name)] def get_kernel_inputs(self, cl_co...
Adds fix to local memory when mot_float_dtype was not defined.
py
diff --git a/livelossplot/generic_plot.py b/livelossplot/generic_plot.py index <HASH>..<HASH> 100644 --- a/livelossplot/generic_plot.py +++ b/livelossplot/generic_plot.py @@ -13,9 +13,8 @@ class PlotLosses(): max_epoch=None, metric2title={}, validation_fmt="val_{}", plot_extrema=True): self.f...
Bring the dynamic_x_axis back
py
diff --git a/salt/states/apache.py b/salt/states/apache.py index <HASH>..<HASH> 100644 --- a/salt/states/apache.py +++ b/salt/states/apache.py @@ -13,17 +13,17 @@ the above word between angle brackets (<>). .. code-block:: yaml /etc/httpd/conf.d/website.com.conf: - apache.config: + apache.configfile: ...
Clean up apache.state example usage.
py
diff --git a/pyfnnd/_tridiag_solvers.py b/pyfnnd/_tridiag_solvers.py index <HASH>..<HASH> 100644 --- a/pyfnnd/_tridiag_solvers.py +++ b/pyfnnd/_tridiag_solvers.py @@ -5,16 +5,21 @@ from ctypes.util import find_library from numpy.ctypeslib import ndpointer # try and find a LAPACK shared library +dgtsv, sgtsv = None,...
handle cases where libopenblas does not define dgtsv_ or sgtsv_
py
diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py index <HASH>..<HASH> 100644 --- a/tests/test_pytest_cov.py +++ b/tests/test_pytest_cov.py @@ -981,7 +981,7 @@ def test_invalid_coverage_source(testdir): '*10 passed*' ]) result.stderr.fnmatch_lines([ - 'Coverage.py warning: No da...
Update test_invalid_coverage_source for coverage-<I> Update test_invalid_coverage_source to make the "No data was collected" less strict, as the output has changed in coverage-<I>. This solution was suggested by Tom Callaway (@spotrh) on the linked bug. Fixes #<I>
py
diff --git a/pytablewriter/writer/_table_writer.py b/pytablewriter/writer/_table_writer.py index <HASH>..<HASH> 100644 --- a/pytablewriter/writer/_table_writer.py +++ b/pytablewriter/writer/_table_writer.py @@ -328,8 +328,7 @@ class AbstractTableWriter(TableWriterInterface): import pytablereader as ptr - ...
Modify to passing quoting flags to loader constructor
py
diff --git a/Lib/glyphs2ufo/torf.py b/Lib/glyphs2ufo/torf.py index <HASH>..<HASH> 100644 --- a/Lib/glyphs2ufo/torf.py +++ b/Lib/glyphs2ufo/torf.py @@ -427,9 +427,8 @@ def get_weight_code(style_name): 'Black': 900 }.get(style_name, None) if not weight_code: - print('WARNING: Unrecognized style na...
Fixes for review - use warn fn, indent.
py
diff --git a/gcloud/datastore/test_dataset.py b/gcloud/datastore/test_dataset.py index <HASH>..<HASH> 100644 --- a/gcloud/datastore/test_dataset.py +++ b/gcloud/datastore/test_dataset.py @@ -151,6 +151,26 @@ class TestDataset(unittest2.TestCase): self.assertEqual(list(result), ['foo']) self.assertEqua...
add a test for odd list and nonetype
py
diff --git a/jira/client.py b/jira/client.py index <HASH>..<HASH> 100644 --- a/jira/client.py +++ b/jira/client.py @@ -2692,9 +2692,17 @@ class JIRA(object): :param sprint_id: the sprint to add issues to :param issue_keys: the issues to add to the sprint """ + + # Get the custo...
Perform dynamic lookup of custom field id for Sprint field
py
diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py index <HASH>..<HASH> 100644 --- a/tests/integration/__init__.py +++ b/tests/integration/__init__.py @@ -48,6 +48,7 @@ import salt.minion import salt.runner import salt.output import salt.version +import salt.utils from salt.utils import fope...
Add helper function while there's no new release of salt-testing.
py
diff --git a/cocaine/testing/mocks.py b/cocaine/testing/mocks.py index <HASH>..<HASH> 100644 --- a/cocaine/testing/mocks.py +++ b/cocaine/testing/mocks.py @@ -259,12 +259,14 @@ class SocketServerMock(object): self.server.listen(port) def stop(self): + self.connections = [] self.server.st...
Properly clear connections when mock server is stopped.
py
diff --git a/python_modules/libraries/dagster-fivetran/dagster_fivetran/utils.py b/python_modules/libraries/dagster-fivetran/dagster_fivetran/utils.py index <HASH>..<HASH> 100644 --- a/python_modules/libraries/dagster-fivetran/dagster_fivetran/utils.py +++ b/python_modules/libraries/dagster-fivetran/dagster_fivetran/ut...
finish dagster-fivetran types (#<I>)
py
diff --git a/traffic/data/adsb/opensky.py b/traffic/data/adsb/opensky.py index <HASH>..<HASH> 100644 --- a/traffic/data/adsb/opensky.py +++ b/traffic/data/adsb/opensky.py @@ -181,7 +181,7 @@ class OpenSky(Impala): except AttributeError: west, south, east, north = bounds - what...
Enables bounding box to be applied to live traffic (#4) When requesting a bounding box using: `sv = opensky.api_states(bounds=(lon_min,lat_min,lon_max,lat_max))` Python will throw an error, as the bounding box is passed incorrectly. According to opensky documentation the lamin,lomin, etc variables should be passed...
py
diff --git a/cherrypy/lib/filter/sessionfilter.py b/cherrypy/lib/filter/sessionfilter.py index <HASH>..<HASH> 100644 --- a/cherrypy/lib/filter/sessionfilter.py +++ b/cherrypy/lib/filter/sessionfilter.py @@ -190,7 +190,7 @@ class SessionFilter(basefilter.BaseFilter): self._clean() sess = ...
When using generators and HTTPRedirect, beforeFinalize can get called twice ... Making the sessionfilter resilient to that.
py
diff --git a/flask_security/utils.py b/flask_security/utils.py index <HASH>..<HASH> 100644 --- a/flask_security/utils.py +++ b/flask_security/utils.py @@ -206,9 +206,7 @@ def config_value(key, app=None, default=None): def get_max_age(key, app=None): - now = datetime.utcnow() - expires = now + get_within_delt...
removed unnecessary utcnow call is this code required here?
py
diff --git a/indra/literature/pmc_client.py b/indra/literature/pmc_client.py index <HASH>..<HASH> 100644 --- a/indra/literature/pmc_client.py +++ b/indra/literature/pmc_client.py @@ -400,6 +400,7 @@ def _retain_only_pars(tree): for element in tree.getiterator(): if element.tag == 'title': ele...
Fix bug causing some title tags to be lost
py
diff --git a/fireplace/cards/league/collectible.py b/fireplace/cards/league/collectible.py index <HASH>..<HASH> 100644 --- a/fireplace/cards/league/collectible.py +++ b/fireplace/cards/league/collectible.py @@ -104,7 +104,7 @@ class LOE_050: # Jungle Moonkin class LOE_051: - update = Refresh(ALL_PLAYERS, {GameTag.S...
Fix Jungle Moonkin to match the <I> spec In build <I>, Jungle Moonkin now has <I> Spell Damage for itself (for the controller) and only refreshes SPELLPOWER on the opponent. This fixes the issue with Master of Ceremonies not working with Jungle Moonkin.
py
diff --git a/tornado/__init__.py b/tornado/__init__.py index <HASH>..<HASH> 100644 --- a/tornado/__init__.py +++ b/tornado/__init__.py @@ -22,5 +22,5 @@ # is zero for an official release, positive for a development branch, # or negative for a release candidate or beta (after the base version # number has been increm...
init: set version to <I>a1
py
diff --git a/imagesize.py b/imagesize.py index <HASH>..<HASH> 100644 --- a/imagesize.py +++ b/imagesize.py @@ -1,3 +1,4 @@ +import os import re import struct from xml.etree import ElementTree @@ -100,17 +101,19 @@ def _getNetpbm(fhandle, is_binary): if not next_chr.isdigit(): raise ValueError("...
Fix handling of invalid char after width on Netpbm
py
diff --git a/examples/disassemble.py b/examples/disassemble.py index <HASH>..<HASH> 100644 --- a/examples/disassemble.py +++ b/examples/disassemble.py @@ -59,7 +59,10 @@ codebuf = ctypes.create_string_buffer(length) ctypes.memmove(codebuf, ctypes.c_char_p(incr.address.ptr), length) print("Compiled %d bytes starting a...
Adds hex bytes in disassembly example
py
diff --git a/redis_metrics/__init__.py b/redis_metrics/__init__.py index <HASH>..<HASH> 100644 --- a/redis_metrics/__init__.py +++ b/redis_metrics/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.7.2" +__version__ = "0.8.0a" try: from .utils import gauge, metric # NOQA
gearing up for a new release
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -3,12 +3,13 @@ from git import Repo from git.exc import GitCommandNotFound from dvc.repo import Repo as DvcRepo -from .basic_env import TestDirFixture, logger +from .basic_env import Tes...
test: use caplog.at_level() to restore log level after test
py
diff --git a/test/test_collection.py b/test/test_collection.py index <HASH>..<HASH> 100644 --- a/test/test_collection.py +++ b/test/test_collection.py @@ -452,7 +452,6 @@ class TestCollection(unittest.TestCase): def test_safe_insert(self): db = self.db db.drop_collection("test") - db.test....
minor: test for safe save that already passes
py
diff --git a/astrobase/varbase/lcfit.py b/astrobase/varbase/lcfit.py index <HASH>..<HASH> 100644 --- a/astrobase/varbase/lcfit.py +++ b/astrobase/varbase/lcfit.py @@ -432,7 +432,6 @@ def fourier_fit_magseries(times, mags, errs, period, fitmagminind = npwhere(fitmags == npmin(fitmags)) if l...
Update fit epoch for fourier_fit_magseries This might not be the only place where the epoch needs to be updated, I'll leave that up to you Waqas.
py
diff --git a/pandas/tools/rplot.py b/pandas/tools/rplot.py index <HASH>..<HASH> 100644 --- a/pandas/tools/rplot.py +++ b/pandas/tools/rplot.py @@ -416,10 +416,34 @@ class TrellisGrid(Layer): layers.append(trellised) rplot.layers = layers +def merge_aes(layer1, layer2): + """Merges the aesthetics dictionaries f...
Implemented sequence_layers and merge_aes functions
py
diff --git a/unitest.py b/unitest.py index <HASH>..<HASH> 100755 --- a/unitest.py +++ b/unitest.py @@ -343,12 +343,12 @@ class TestGlances(unittest.TestCase): # GlancesHistory from glances.history import GlancesHistory h = GlancesHistory() - h.add('a', 1) - h.add('a', 2) - ...
Correct unitary test following PR #<I>
py
diff --git a/lib/python/voltcli/environment.py b/lib/python/voltcli/environment.py index <HASH>..<HASH> 100644 --- a/lib/python/voltcli/environment.py +++ b/lib/python/voltcli/environment.py @@ -30,6 +30,8 @@ re_voltdb_jar = re.compile('^voltdb(client)?-[.0-9]+[.]([\w]+\.)*jar$') config_name = 'volt.cfg' config_nam...
KO-<I>: Add support for providing extension in k8s environment. (#<I>)
py
diff --git a/test_path.py b/test_path.py index <HASH>..<HASH> 100644 --- a/test_path.py +++ b/test_path.py @@ -775,6 +775,16 @@ class TestMergeTree: assert Path(self.subdir_b / self.test_link.name).islink() assert len(Path(self.subdir_b / self.test_file.name).bytes()) == 5000 + def test_copytree_...
Add test capturing expectation that merge_tree take copytree parameters.
py
diff --git a/analyzers/ForcepointWebsensePing/forcepointwebsenseping.py b/analyzers/ForcepointWebsensePing/forcepointwebsenseping.py index <HASH>..<HASH> 100644 --- a/analyzers/ForcepointWebsensePing/forcepointwebsenseping.py +++ b/analyzers/ForcepointWebsensePing/forcepointwebsenseping.py @@ -24,8 +24,9 @@ class Webse...
Update forcepointwebsenseping.py
py
diff --git a/discord/state.py b/discord/state.py index <HASH>..<HASH> 100644 --- a/discord/state.py +++ b/discord/state.py @@ -287,8 +287,11 @@ class ConnectionState: emoji = self._get_reaction_emoji(**data['emoji']) reaction = utils.get(message.reactions, emoji=emoji) - # if reac...
Fix crash on duplicate or out of order reactions. Eventual consistency ftw
py
diff --git a/src/diamond/utils/scheduler.py b/src/diamond/utils/scheduler.py index <HASH>..<HASH> 100644 --- a/src/diamond/utils/scheduler.py +++ b/src/diamond/utils/scheduler.py @@ -83,7 +83,7 @@ def collector_process(collector, metric_queue, log): reload_config = True pass - except:...
Change bare except to explicit catch for Exception
py
diff --git a/netmiko/rad/rad_etx.py b/netmiko/rad/rad_etx.py index <HASH>..<HASH> 100644 --- a/netmiko/rad/rad_etx.py +++ b/netmiko/rad/rad_etx.py @@ -62,7 +62,7 @@ class RadETXSSH(RadETXBase): class RadETXTelnet(RadETXBase): """RAD ETX Telnet Support.""" - def telnet_login(self, delay_factor=1): + def te...
Use base_connection telnet_login instead of custom login Found that the default telnet_login will work with the RADs after changing the TELNET_RETURN to the regular Return. Also added in the Userprompt for the RAD.
py
diff --git a/python_modules/dagster/dagster/core/instance/ref.py b/python_modules/dagster/dagster/core/instance/ref.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster/dagster/core/instance/ref.py +++ b/python_modules/dagster/dagster/core/instance/ref.py @@ -26,9 +26,9 @@ def _schedule_directory(base): def c...
Add check calls for configurable class Summary: A little seatbelt Test Plan: Unit Reviewers: prha, alangenfeld, dgibson Reviewed By: dgibson Differential Revision: <URL>
py
diff --git a/nupic/simple_server.py b/nupic/simple_server.py index <HASH>..<HASH> 100755 --- a/nupic/simple_server.py +++ b/nupic/simple_server.py @@ -1,7 +1,7 @@ #! /usr/bin/env python # ---------------------------------------------------------------------- # Numenta Platform for Intelligent Computing (NuPIC) -# Co...
Updated year in simple_server copyright header
py
diff --git a/pyghmi/ipmi/oem/lenovo/handler.py b/pyghmi/ipmi/oem/lenovo/handler.py index <HASH>..<HASH> 100755 --- a/pyghmi/ipmi/oem/lenovo/handler.py +++ b/pyghmi/ipmi/oem/lenovo/handler.py @@ -464,6 +464,10 @@ class OEMHandler(generic.OEMHandler): macprefix = None while idx < endidx:...
Abort MAC decode from FRU if not 'binary' If the TLV says the mac data is text, then it's not going to be a good day. Abort in such a case. Change-Id: I<I>df<I>de9af<I>aa<I>d<I>f<I>fa<I>e2
py
diff --git a/slackclient/_slackrequest.py b/slackclient/_slackrequest.py index <HASH>..<HASH> 100644 --- a/slackclient/_slackrequest.py +++ b/slackclient/_slackrequest.py @@ -7,8 +7,6 @@ class SlackRequest(object): pass def do(self, token, request="?", post_data={}, domain="slack.com"): - t = tim...
Don't send current time as ts to every API call
py
diff --git a/visidata/movement.py b/visidata/movement.py index <HASH>..<HASH> 100644 --- a/visidata/movement.py +++ b/visidata/movement.py @@ -184,7 +184,7 @@ Sheet.addCommand('z<', 'go-prev-null', 'moveToNextRow(lambda row,col=cursorCol,i Sheet.addCommand('z>', 'go-next-null', 'moveToNextRow(lambda row,col=cursorCol,...
[jump-sheet-] fix strformat issue in command
py
diff --git a/geoviews/operation/projection.py b/geoviews/operation/projection.py index <HASH>..<HASH> 100644 --- a/geoviews/operation/projection.py +++ b/geoviews/operation/projection.py @@ -84,7 +84,8 @@ class project_path(_project_operation): continue try: # Compute boun...
Fixed projection bug clipping with empty boundary
py
diff --git a/ciscosparkapi/restsession.py b/ciscosparkapi/restsession.py index <HASH>..<HASH> 100644 --- a/ciscosparkapi/restsession.py +++ b/ciscosparkapi/restsession.py @@ -37,8 +37,8 @@ __license__ = "MIT" # Module Constants -DEFAULT_SINGLE_REQUEST_TIMEOUT = 20 -DEFAULT_RATE_LIMIT_TIMEOUT = 60 +DEFAULT_SINGLE_R...
Ensure consistent types on RestSession variables Add conversion functions to ensure the types of RestSession’s attributes are consistent.
py
diff --git a/bumpversion/__init__.py b/bumpversion/__init__.py index <HASH>..<HASH> 100644 --- a/bumpversion/__init__.py +++ b/bumpversion/__init__.py @@ -22,6 +22,11 @@ import subprocess import io from string import Formatter +import sys +import codecs +sys.stdout = codecs.getwriter('utf8')(sys.stdout) + + clas...
sys.stdout is utf-8 encoded (fixes #<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ # * Redistributions of source code must retain the above copyright notice, this # list of conditions and the following disclaimer. # -1# * Redistributions in binary form must reproduce the above copyright not...
Update setup.py spurious typos accidentally added
py
diff --git a/mongoctl/utils.py b/mongoctl/utils.py index <HASH>..<HASH> 100644 --- a/mongoctl/utils.py +++ b/mongoctl/utils.py @@ -279,7 +279,11 @@ def get_host_ips(host): try: ips = [] - addr_info = socket.getaddrinfo(host, None) + try: + addr_info = socket.getaddrinfo(host, No...
Don't throw pointless errors on dev laptops whose names don't resolve
py
diff --git a/redirects.py b/redirects.py index <HASH>..<HASH> 100644 --- a/redirects.py +++ b/redirects.py @@ -39,13 +39,14 @@ def load_redirects(): if hasattr(settings, 'REDIRECTS_PATH'): redirect_file_path = settings.REDIRECTS_PATH - if not exists(redirect_file_path): - return [] + redire...
Restructure load_redirects code
py
diff --git a/powerline-shell.py b/powerline-shell.py index <HASH>..<HASH> 100755 --- a/powerline-shell.py +++ b/powerline-shell.py @@ -238,7 +238,7 @@ def add_svn_segment(powerline, cwd): 'I' Ignored 'M' Modified 'R' Replaced - 'X' an unversioned directory created by an externals defin...
svn externals shouldn't be considered modifications
py
diff --git a/pyads/pyads_ex.py b/pyads/pyads_ex.py index <HASH>..<HASH> 100644 --- a/pyads/pyads_ex.py +++ b/pyads/pyads_ex.py @@ -228,7 +228,7 @@ def adsAddRouteToPLC(sending_net_id, ip_address, username, password, route_name= elif int.from_bytes(rcvd_is_password_correct, 'big') == 0x000407: return False...
Raises ValueError on unknown response
py
diff --git a/elasticsearch/helpers.py b/elasticsearch/helpers.py index <HASH>..<HASH> 100644 --- a/elasticsearch/helpers.py +++ b/elasticsearch/helpers.py @@ -1,4 +1,4 @@ -from itertools import islice, chain +from itertools import islice from operator import methodcaller try: from itertools import imap as map @@...
Use dict.popitem when we know the dict only has one key
py
diff --git a/src/projexui/xtimer.py b/src/projexui/xtimer.py index <HASH>..<HASH> 100644 --- a/src/projexui/xtimer.py +++ b/src/projexui/xtimer.py @@ -145,19 +145,6 @@ class XTimer(QtCore.QObject): with QtCore.QReadLocker(self.__lock): return self.__singleShot - def moveToThread(self, thre...
removed the overloaded moveToThread for the XTimer
py
diff --git a/test/tablet.py b/test/tablet.py index <HASH>..<HASH> 100644 --- a/test/tablet.py +++ b/test/tablet.py @@ -375,8 +375,7 @@ class Tablet(object): if start: if not wait_for_start: expected_state = None - elif (tablet_type == 'master' or tablet_type == 'replica' or - tablet...
Changing expectations on default state. In our tests, we want default non-master tablets to be NOT_SERVING, as their replication is most likely not setup.
py
diff --git a/examples/glyphs/sprint.py b/examples/glyphs/sprint.py index <HASH>..<HASH> 100644 --- a/examples/glyphs/sprint.py +++ b/examples/glyphs/sprint.py @@ -88,8 +88,14 @@ no_olympics_glyph = Text(x=7.5, y=1942, text=["No Olympics in 1940 or 1944"], no_olympics = plot.add_glyph(no_olympics_glyph) tooltips = "...
Improve HTML formatting in glyphs/sprint
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ code with type notations. Typesafety is a means to enforce that those notations are valid. """, license="LGPLv2+", - version="1.0.1", + version="1.0.2", author="Viktor Hercinger", author_e...
bumped version to <I>
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -105,3 +105,16 @@ class ConstantsTest(TestCase): reporter_abbv, k ) ) + + def test_no_variation_is_same_as_key(self): + """Are any variations...
Adds a new test that ensures no variation is identical to the item it's supposed to be a variation of. There were several of these, and they're all fixed as of now.
py
diff --git a/karaage/software/views/admin.py b/karaage/software/views/admin.py index <HASH>..<HASH> 100644 --- a/karaage/software/views/admin.py +++ b/karaage/software/views/admin.py @@ -48,7 +48,7 @@ def software_list(request): params = dict(request.GET.items()) m_params = dict([(str(k), str(v)) for k, v i...
Ensure software packages are unique when searching
py
diff --git a/sitetree/sitetreeapp.py b/sitetree/sitetreeapp.py index <HASH>..<HASH> 100644 --- a/sitetree/sitetreeapp.py +++ b/sitetree/sitetreeapp.py @@ -278,6 +278,7 @@ class Cache(object): signals.post_delete.connect(cache_empty, sender=MODEL_TREE_ITEM_CLASS) # Listen to the changes in item permiss...
Changed Cache.init() calls.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -0,0 +1,22 @@ +from setuptools import setup, find_packages + +version = '0.1' + +setup(name='giphypy', + version=version, + description=("Python wrapper for Giphy API"), + long_description=open('README.rst').rea...
Updated setup.py for initial version
py
diff --git a/facepy/signed_request.py b/facepy/signed_request.py index <HASH>..<HASH> 100644 --- a/facepy/signed_request.py +++ b/facepy/signed_request.py @@ -44,7 +44,7 @@ class SignedRequest(object): if signed_request and application_secret_key: self.raw = self.parse(signed_request, application_...
Fixing typo from a sloppy VIM substitution :-/
py
diff --git a/samcli/__init__.py b/samcli/__init__.py index <HASH>..<HASH> 100644 --- a/samcli/__init__.py +++ b/samcli/__init__.py @@ -2,4 +2,4 @@ SAM CLI version """ -__version__ = "1.26.0" +__version__ = "1.27.0"
chore: bump SAM CLI version to <I> (#<I>)
py
diff --git a/pycdlib/dr.py b/pycdlib/dr.py index <HASH>..<HASH> 100644 --- a/pycdlib/dr.py +++ b/pycdlib/dr.py @@ -713,7 +713,7 @@ class DirectoryRecord(object): raise pycdlibexception.PyCdlibInternalError("Directory Record not yet initialized") if not self.isdir: - raise Exception("T...
Switch an Exception to a pycdlibexception.
py
diff --git a/pysnow/client.py b/pysnow/client.py index <HASH>..<HASH> 100644 --- a/pysnow/client.py +++ b/pysnow/client.py @@ -135,12 +135,13 @@ class Client(object): base_url=self.base_url, **kwargs) - def resource(self, api_path=None, base_path='/api/no...
pass **kwargs from Client to Resource
py
diff --git a/src/sos/utils.py b/src/sos/utils.py index <HASH>..<HASH> 100644 --- a/src/sos/utils.py +++ b/src/sos/utils.py @@ -1119,7 +1119,12 @@ def load_var(line): if key.endswith(':'): return key[:-1], pickle.loads(base64.b64decode(eval(value.strip()))) else: - return key, eval(value.strip(...
Fix load_var when the signature file contains non-string targets such as R_library
py
diff --git a/rewind/test/test_logbook.py b/rewind/test/test_logbook.py index <HASH>..<HASH> 100644 --- a/rewind/test/test_logbook.py +++ b/rewind/test/test_logbook.py @@ -524,7 +524,7 @@ class TestLogbookReplication(unittest.TestCase): self.transmitter = self.context.socket(zmq.PUSH) self.receiver =...
`zmq_socket.setsockopt(...)` is now given bytes Previously the function accepted strings. In Python 3 it does not. Tests currently fail. [ci skip]
py
diff --git a/src/taxi/parser.py b/src/taxi/parser.py index <HASH>..<HASH> 100755 --- a/src/taxi/parser.py +++ b/src/taxi/parser.py @@ -75,13 +75,12 @@ class TaxiParser(Parser): # Try to match XX:XX-XX:XX time = re.match(r'(\d{2}):(\d{2})-(?:(?:(\d{2}):(\d{2}))|\?)', splitted_line[1]) + time_e...
Fix a bug when a line is mark with ->?
py
diff --git a/resolwe/storage/manager.py b/resolwe/storage/manager.py index <HASH>..<HASH> 100644 --- a/resolwe/storage/manager.py +++ b/resolwe/storage/manager.py @@ -36,9 +36,8 @@ class DecisionMaker: rule = dict() matching_keys = [] for key in override_rules.keys(): - if not key....
Fix bug when process_type ended with colon
py
diff --git a/pyoko/db/schema_update.py b/pyoko/db/schema_update.py index <HASH>..<HASH> 100644 --- a/pyoko/db/schema_update.py +++ b/pyoko/db/schema_update.py @@ -180,8 +180,8 @@ class SchemaUpdater(object): @staticmethod def _handle_version_bucket(client, model): - bucket_name = model._get_bucket_na...
ADD, for migrate operation version and log settings are updated and fixed. rref #<I>
py
diff --git a/mysensors/mysensors.py b/mysensors/mysensors.py index <HASH>..<HASH> 100644 --- a/mysensors/mysensors.py +++ b/mysensors/mysensors.py @@ -206,10 +206,11 @@ class SerialGateway(Gateway, threading.Thread): # pylint: disable=too-many-arguments def __init__(self, port, event_callback=None, persiste...
Pass protocol version through from SerialGateway to Gateway. The SerialGateway constructor was missing the protocol_version parameter.
py
diff --git a/rope/refactor/usefunction.py b/rope/refactor/usefunction.py index <HASH>..<HASH> 100644 --- a/rope/refactor/usefunction.py +++ b/rope/refactor/usefunction.py @@ -37,6 +37,9 @@ class UseFunction(object): changes.add_change(c) return changes + def get_function_name(self): + ...
usefunction: added UseFunction.get_function_name()
py
diff --git a/sharedmem/sharedmem.py b/sharedmem/sharedmem.py index <HASH>..<HASH> 100644 --- a/sharedmem/sharedmem.py +++ b/sharedmem/sharedmem.py @@ -825,9 +825,16 @@ def copy(a): def fromiter(iter, dtype, count=None): return copy(numpy.fromiter(iter, dtype, count)) +try: + # numpy >= 1.16 + _unpickle_ct...
support pre <I> numpy.
py
diff --git a/bqplot/overlays.py b/bqplot/overlays.py index <HASH>..<HASH> 100644 --- a/bqplot/overlays.py +++ b/bqplot/overlays.py @@ -343,6 +343,8 @@ class BrushIntervalSelectorOverlay(OneDSelectorOverlay): This attribute can be used to trigger computationally intensive code which should be run only ...
added docs for brush and brush overlay
py
diff --git a/safe_qgis/widgets/test/test_message_viewer.py b/safe_qgis/widgets/test/test_message_viewer.py index <HASH>..<HASH> 100644 --- a/safe_qgis/widgets/test/test_message_viewer.py +++ b/safe_qgis/widgets/test/test_message_viewer.py @@ -20,6 +20,7 @@ import os import sys import unittest from PyQt4 import Qt +f...
Added missing QApplication import
py
diff --git a/werkzeug/utils.py b/werkzeug/utils.py index <HASH>..<HASH> 100644 --- a/werkzeug/utils.py +++ b/werkzeug/utils.py @@ -52,7 +52,7 @@ def _log(type, message, *args, **kwargs): getattr(_logger, type)(message.rstrip(), *args, **kwargs) -def _patch_func(old, new): +def _patch_wrapper(old, new): ""...
compromise: patch_func -> patch_wrapper
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup(name='peri', url='http://github.com/mattbierbaum/peri/', license='MIT License', author='Matt Bierbaum, Brian Leahy', - version='0.1.1' #peri.__version__, + version='0.1.1', #...
Removing self-reference in setup.py, which is causing Brian hangups.
py
diff --git a/hszinc/parser.py b/hszinc/parser.py index <HASH>..<HASH> 100644 --- a/hszinc/parser.py +++ b/hszinc/parser.py @@ -18,6 +18,7 @@ import re import six import functools import json +import copy URI_META = re.compile(r'\\([:/\?#\[\]@\\&=;"$`])') GRID_SEP = re.compile(r'\n\n+') @@ -99,7 +100,7 @@ def par...
parser: Take copies of JSON objects
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -62,7 +62,10 @@ setup( 'fonts/texgyre/termes/*.otf', ]}, scripts=['bin/rinoh'], - install_requires=['docutils'], + install_requires=['docutils', 'purepng>=0.1.0'], +...
PurePNG: added dependency link for missing PyPI dependency
py
diff --git a/dvc/version.py b/dvc/version.py index <HASH>..<HASH> 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -7,7 +7,7 @@ import os import subprocess -_BASE_VERSION = "0.41.1" +_BASE_VERSION = "0.41.2" def _generate_version(base_version):
dvc: bump to <I>
py
diff --git a/anytemplate/engines/tests/base.py b/anytemplate/engines/tests/base.py index <HASH>..<HASH> 100644 --- a/anytemplate/engines/tests/base.py +++ b/anytemplate/engines/tests/base.py @@ -9,12 +9,12 @@ import anytemplate.engines.base as TT # stands for test target class Test_00(unittest.TestCase): def t...
follow the rename of template engine class in anytemplate.engines.base
py
diff --git a/hadoopy/_local.py b/hadoopy/_local.py index <HASH>..<HASH> 100644 --- a/hadoopy/_local.py +++ b/hadoopy/_local.py @@ -7,7 +7,6 @@ import subprocess import tempfile import shutil import contextlib -import sys @contextlib.contextmanager @@ -91,29 +90,23 @@ class LocalTask(object): ...
Removed debugging lines and changed poll timeout to <I>
py
diff --git a/openquake/java.py b/openquake/java.py index <HASH>..<HASH> 100644 --- a/openquake/java.py +++ b/openquake/java.py @@ -76,6 +76,7 @@ JAVA_CLASSES = { "LocationListFormatter": "org.gem.LocationListFormatter", "PythonBridgeAppender": "org.gem.log.PythonBridgeAppender", "DisaggregationCalculator...
Added UHSCalculator to commonly used Java class dict.
py
diff --git a/spyder/plugins/__init__.py b/spyder/plugins/__init__.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/__init__.py +++ b/spyder/plugins/__init__.py @@ -518,6 +518,8 @@ class SpyderPluginMixin(object): def toggle_view(self, checked): """Toggle view""" + if not self.dockwidget...
Allow plugins with no dockwidget (menu only for example)
py
diff --git a/configargparse.py b/configargparse.py index <HASH>..<HASH> 100644 --- a/configargparse.py +++ b/configargparse.py @@ -390,7 +390,7 @@ class ArgumentParser(argparse.ArgumentParser): args = list(args) # normalize args by converting args like --key=value to --key value - normali...
Unnecessary list call - rewrite as a literal
py
diff --git a/tests/unit/test_connection.py b/tests/unit/test_connection.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_connection.py +++ b/tests/unit/test_connection.py @@ -395,3 +395,21 @@ class ConnectionTest(unittest.TestCase): self.assertEqual(e.oneview_response, self.expected_response_body) ...
Added a unit test to test the change to connection.__do_rest_call
py
diff --git a/zimsoap/client.py b/zimsoap/client.py index <HASH>..<HASH> 100644 --- a/zimsoap/client.py +++ b/zimsoap/client.py @@ -1397,8 +1397,10 @@ not {0}'.format(type(ids))) def get_folder_grant(self, **kwargs): folder = self.get_folder(**kwargs) - - return folder['folder']['acl'] + if...
Return None when no acl found
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ with open('README.rst', 'r') as fh: setup( name='localshop', - version='0.5.0', + version='0.6.0-dev', author='Michael van Tellingen', author_email='michaelvantellingen@gmail.com', u...
Bump to <I>-dev
py
diff --git a/openid/consumer/fetchers.py b/openid/consumer/fetchers.py index <HASH>..<HASH> 100644 --- a/openid/consumer/fetchers.py +++ b/openid/consumer/fetchers.py @@ -1,3 +1,6 @@ +""" +This module contains the HTTP fetcher interface and several implementations. +""" import urllib2 import time import cStringIO
[project @ Add a module-level summary of fetchers.py]
py
diff --git a/malcolm/modules/xmap/parts/xmapdriverpart.py b/malcolm/modules/xmap/parts/xmapdriverpart.py index <HASH>..<HASH> 100644 --- a/malcolm/modules/xmap/parts/xmapdriverpart.py +++ b/malcolm/modules/xmap/parts/xmapdriverpart.py @@ -1,4 +1,6 @@ from malcolm.modules.ADCore.parts import DetectorDriverPart +from ma...
Fix a regression where Xmap would not report its DET and sum datasets
py
diff --git a/scripts/make_confidence_report.py b/scripts/make_confidence_report.py index <HASH>..<HASH> 100755 --- a/scripts/make_confidence_report.py +++ b/scripts/make_confidence_report.py @@ -35,6 +35,9 @@ import tensorflow as tf from tensorflow.python.platform import flags from cleverhans.utils_tf import silenc...
Move silence call earlier (#<I>) * local patches * Update make_confidence_report.py
py
diff --git a/hamster/applet.py b/hamster/applet.py index <HASH>..<HASH> 100755 --- a/hamster/applet.py +++ b/hamster/applet.py @@ -221,6 +221,8 @@ class HamsterApplet(object): self.activity_list.child.select_region(0, -1) else: self.activity_list.child.set_text('') + + self.app...
lame, have to grab applet's focus before focusing element svn path=/trunk/; revision=<I>
py