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> 100755 --- a/setup.py +++ b/setup.py @@ -86,8 +86,13 @@ setup( 'pyyaml', 'webencodings', 'gevent==1.1.2', - 'webassets', - ], + 'webassets==0.12.0', + 'pyamf' + ], + dependency_links=[ + 'git+https:/...
setup: add specific dependencies for webassets, pyamf
py
diff --git a/inginious/agent/docker_agent/__init__.py b/inginious/agent/docker_agent/__init__.py index <HASH>..<HASH> 100644 --- a/inginious/agent/docker_agent/__init__.py +++ b/inginious/agent/docker_agent/__init__.py @@ -7,6 +7,7 @@ import asyncio import base64 import logging import os +import resource import shu...
use resource in place of psutil as resource is in standard library.
py
diff --git a/salt/utils/serializers/yaml.py b/salt/utils/serializers/yaml.py index <HASH>..<HASH> 100644 --- a/salt/utils/serializers/yaml.py +++ b/salt/utils/serializers/yaml.py @@ -17,7 +17,7 @@ from yaml.constructor import ConstructorError from yaml.scanner import ScannerError from salt.utils.serializers import ...
Replaced import six in file /salt/utils/serializers/yaml.py
py
diff --git a/sphinx_autobuild/__init__.py b/sphinx_autobuild/__init__.py index <HASH>..<HASH> 100755 --- a/sphinx_autobuild/__init__.py +++ b/sphinx_autobuild/__init__.py @@ -62,6 +62,13 @@ class LivereloadWatchdogWatcher(object): event_handler = _WatchdogHandler(self, action) self._observer.schedule(...
Compatibility with python-livereload >= <I>
py
diff --git a/soundfile.py b/soundfile.py index <HASH>..<HASH> 100644 --- a/soundfile.py +++ b/soundfile.py @@ -1086,11 +1086,11 @@ class SoundFile(object): raise ValueError("I/O operation on closed file") def _check_frames(self, frames, fill_value): - # Check if frames is larger than the rema...
Change 2 comments to proper method docstrings ... and move one operator from after to before the line break.
py
diff --git a/tests/unit/test_policies.py b/tests/unit/test_policies.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_policies.py +++ b/tests/unit/test_policies.py @@ -351,7 +351,7 @@ class TokenAwarePolicyTest(unittest.TestCase): self.assertEqual(policy.distance(remote_host), HostDistance.IGNORED) ...
Update policy unit test for attribute rename
py
diff --git a/WrightTools/data/_data.py b/WrightTools/data/_data.py index <HASH>..<HASH> 100644 --- a/WrightTools/data/_data.py +++ b/WrightTools/data/_data.py @@ -698,9 +698,6 @@ class Data(Group): newdata.transform(*args) return newdata - def flush(self): - super().flush() - def get_...
MAINT: Remove flush method which only calls super (#<I>)
py
diff --git a/neo/Wallets/Wallet.py b/neo/Wallets/Wallet.py index <HASH>..<HASH> 100755 --- a/neo/Wallets/Wallet.py +++ b/neo/Wallets/Wallet.py @@ -642,17 +642,20 @@ class Wallet(object): # abstract pass - def ProcessBlocks(self): + def ProcessBlocks(self, block_limit=1000): """ ...
Support Synchronous Wallet Rebuilds * Added support for optional, synchronous wallet rebuilds. Sometimes when a wallet is far behind the blockchain, it can take a bit to rebuild. There are scenarios where it's useful for calling code to be able to block on this rebuild process until it completes. The new argument to P...
py
diff --git a/astroid/tests/unittest_modutils.py b/astroid/tests/unittest_modutils.py index <HASH>..<HASH> 100644 --- a/astroid/tests/unittest_modutils.py +++ b/astroid/tests/unittest_modutils.py @@ -168,10 +168,13 @@ class ModPathFromFileTest(unittest.TestCase): # /tmp/path_to_include (symlink to /tmp/deployme...
Make sure the test does not crash if the directory already exists
py
diff --git a/ratings/__init__.py b/ratings/__init__.py index <HASH>..<HASH> 100644 --- a/ratings/__init__.py +++ b/ratings/__init__.py @@ -1 +1 @@ -VERSION = (0, 1, 0) +VERSION = (0, 1, 1)
Bumping version to <I>
py
diff --git a/examples/advanced/densifycloud.py b/examples/advanced/densifycloud.py index <HASH>..<HASH> 100644 --- a/examples/advanced/densifycloud.py +++ b/examples/advanced/densifycloud.py @@ -1,7 +1,7 @@ -"""Adds new points to an input point cloud. +"""Adds new points to an input point cloud. The new points are cr...
Removed trailing spaces in examples/advanced/densifycloud.py
py
diff --git a/cmsplugin_newsplus/urls.py b/cmsplugin_newsplus/urls.py index <HASH>..<HASH> 100644 --- a/cmsplugin_newsplus/urls.py +++ b/cmsplugin_newsplus/urls.py @@ -1,11 +1,10 @@ -from django.conf.urls import patterns, url +from django.conf.urls import url from . import feeds from . import views -urlpatterns ...
Remove usage of django.conf.urls.patterns in urls.py This module was removed in Django <I>. See the link below for more info: <URL>
py
diff --git a/setup_libuv.py b/setup_libuv.py index <HASH>..<HASH> 100644 --- a/setup_libuv.py +++ b/setup_libuv.py @@ -93,8 +93,8 @@ def prepare_windows_env(env): class libuv_build_ext(build_ext): libuv_dir = os.path.join('deps', 'libuv') libuv_repo = 'https://github.com/joyent/libuv.git' - libuv...
core: raised libuv revision and switched to v1.x branch
py
diff --git a/salt/states/dockerio.py b/salt/states/dockerio.py index <HASH>..<HASH> 100644 --- a/salt/states/dockerio.py +++ b/salt/states/dockerio.py @@ -272,7 +272,7 @@ def built(name, return _valid( name=name, comment='Image already built: {0}, id: {1}'.format( - nam...
Capitalize 'Id' in image_infos This fixes a false negative result when the docker image has already been built.
py
diff --git a/timepiece/views.py b/timepiece/views.py index <HASH>..<HASH> 100644 --- a/timepiece/views.py +++ b/timepiece/views.py @@ -132,10 +132,22 @@ def toggle_paused(request, entry_id): action = 'paused' else: action = 'resumed' - + + delta = datetime.datetime.now(...
add clocked time to user messages on pause/unpause
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,8 +16,6 @@ import sys import os - -import os on_rtd = os.environ.get('READTHEDOCS', None) == 'True' if on_rtd: html_theme = 'default' @@ -256,7 +254,7 @@ latex_documents = [ # The name of an i...
fix incorrect reference in docs/conf.py to logo.jpeg
py
diff --git a/peri/comp/objs.py b/peri/comp/objs.py index <HASH>..<HASH> 100644 --- a/peri/comp/objs.py +++ b/peri/comp/objs.py @@ -818,7 +818,6 @@ class Slab(Component): for precomputed arrays. Default is np.float64; make it 16 or 32 to save memory. """ - self.category = catego...
Fixing bug where slab category was always comp.
py
diff --git a/lavalink/nodemanager.py b/lavalink/nodemanager.py index <HASH>..<HASH> 100644 --- a/lavalink/nodemanager.py +++ b/lavalink/nodemanager.py @@ -55,7 +55,7 @@ class NodeManager: if not endpoint: return None - endpoint = endpoint.replace('vip-') + endpoint = endpoint.repla...
I got sidetracked, I guess...
py
diff --git a/fireplace/cards/blackrock/collectible.py b/fireplace/cards/blackrock/collectible.py index <HASH>..<HASH> 100644 --- a/fireplace/cards/blackrock/collectible.py +++ b/fireplace/cards/blackrock/collectible.py @@ -11,6 +11,13 @@ class BRM_002: ] +# Imp Gang Boss +class BRM_006: + events = [ + Damage(SEL...
Implement Demonwrath and Imp Gang Boss
py
diff --git a/testrunner.py b/testrunner.py index <HASH>..<HASH> 100644 --- a/testrunner.py +++ b/testrunner.py @@ -20,7 +20,7 @@ class TestRunner(object): In a separate function to make debugging easy with py.test """ assert expected_status == actual_status - + def test_log(self, lin...
Indents not a multiple of 4.
py
diff --git a/pythonforandroid/recipes/reportlab/__init__.py b/pythonforandroid/recipes/reportlab/__init__.py index <HASH>..<HASH> 100644 --- a/pythonforandroid/recipes/reportlab/__init__.py +++ b/pythonforandroid/recipes/reportlab/__init__.py @@ -19,7 +19,7 @@ class ReportLabRecipe(CompiledComponentsPythonRecipe): ...
Indentation fix (flake 8 error)
py
diff --git a/notario/engine.py b/notario/engine.py index <HASH>..<HASH> 100644 --- a/notario/engine.py +++ b/notario/engine.py @@ -3,11 +3,14 @@ from notario.exceptions import Invalid, SchemaError from notario.utils import (is_callable, sift, is_empty, re_sort, is_not_empty, data_item, safe...
engine can now apply a global cherry_pick on defined schemas
py
diff --git a/kappa/function.py b/kappa/function.py index <HASH>..<HASH> 100644 --- a/kappa/function.py +++ b/kappa/function.py @@ -98,7 +98,8 @@ class Function(object): LOG.debug('_zip_lambda_dir: lambda_dir=%s', lambda_dir) LOG.debug('zipfile_name=%s', zipfile_name) relroot = os.path.abspath...
Compress function zip file to save space/$$$
py
diff --git a/pysat/utils/io.py b/pysat/utils/io.py index <HASH>..<HASH> 100644 --- a/pysat/utils/io.py +++ b/pysat/utils/io.py @@ -133,9 +133,10 @@ def filter_netcdf4_metadata(inst, mdata_dict, coltype, remove=False, else: try: filtered_dict[key] = coltype(filtered_dic...
BUG: added ValueError catch Added a ValueError catch that occurs when trying to cast np.nan as an integer.
py
diff --git a/services/datalad/datalad_service/tasks/publish.py b/services/datalad/datalad_service/tasks/publish.py index <HASH>..<HASH> 100644 --- a/services/datalad/datalad_service/tasks/publish.py +++ b/services/datalad/datalad_service/tasks/publish.py @@ -132,25 +132,21 @@ def publish_snapshot(store, dataset, snapsh...
Simplify github export and prevent gevent blocking timeouts.
py
diff --git a/python/ray/services.py b/python/ray/services.py index <HASH>..<HASH> 100644 --- a/python/ray/services.py +++ b/python/ray/services.py @@ -507,8 +507,12 @@ def start_ui(redis_address, stdout_file=None, stderr_file=None, cleanup=True): if cleanup: all_processes[PROCESS_TYPE_WEB_UI].appe...
upd (#<I>)
py
diff --git a/opinel/utils.py b/opinel/utils.py index <HASH>..<HASH> 100644 --- a/opinel/utils.py +++ b/opinel/utils.py @@ -624,7 +624,8 @@ def read_creds_from_ec2_instance_metadata(): secret = None token = None try: - has_role = requests.get('http://169.254.169.254/latest/meta-data/iam/security-cr...
Set max timeout to 1 second when attempting to fetch credentials on EC2 instance - Issue #<I>
py
diff --git a/spyder/dependencies.py b/spyder/dependencies.py index <HASH>..<HASH> 100644 --- a/spyder/dependencies.py +++ b/spyder/dependencies.py @@ -48,7 +48,7 @@ MATPLOTLIB_REQVER = '>=2.0.0' PANDAS_REQVER = '>=0.13.1' NUMPY_REQVER = '>=1.7' SCIPY_REQVER = '>=0.17.0' -PYLS_REQVER = '>=0.28.2;<0.29.0' +PYLS_RE...
Dependencies: Fix newly required PyLS version
py
diff --git a/fluxanalysis.py b/fluxanalysis.py index <HASH>..<HASH> 100644 --- a/fluxanalysis.py +++ b/fluxanalysis.py @@ -139,4 +139,5 @@ def naive_consistency_check(model, subset, epsilon, solver=lpsolver.CplexSolver( if reaction in support: continue print '{} not consistent!'.f...
fluxanalysis: Fix infinite loop in consistency check
py
diff --git a/nosedjango/nosedjango.py b/nosedjango/nosedjango.py index <HASH>..<HASH> 100644 --- a/nosedjango/nosedjango.py +++ b/nosedjango/nosedjango.py @@ -654,7 +654,7 @@ class SeleniumPlugin(Plugin): driver = self.get_driver() if driver: self.get_driver().quit() - ...
refs #<I>: made the try/except block catch the correct exception for quiting the driver
py
diff --git a/pyfirmata/pyfirmata.py b/pyfirmata/pyfirmata.py index <HASH>..<HASH> 100755 --- a/pyfirmata/pyfirmata.py +++ b/pyfirmata/pyfirmata.py @@ -50,7 +50,7 @@ class Board(object): def __init__(self, port, type="arduino", baudrate=57600): self.sp = serial.Serial(port, baudrate) # Allow 2 sec...
uncommented 2 secs pause for auto-reset
py
diff --git a/indra/statements.py b/indra/statements.py index <HASH>..<HASH> 100644 --- a/indra/statements.py +++ b/indra/statements.py @@ -123,7 +123,7 @@ class Agent(object): # Everything checks out return True - def __repr__(self): + def __str__(self): attr_strs = [] if sel...
Add __str__ method to Agent
py
diff --git a/puente/commands.py b/puente/commands.py index <HASH>..<HASH> 100644 --- a/puente/commands.py +++ b/puente/commands.py @@ -44,7 +44,8 @@ def generate_options_map(): extensions = tmpl_config.get('OPTIONS', {}).get('extensions', []) return { '**.*': { - ...
Make Jinja2 extraction not fail silently We might want to make this optional, but for now, let's make it scream loud when it fails to extract strings from a Jinja2 template because of parsing issues.
py
diff --git a/aiodocker/docker.py b/aiodocker/docker.py index <HASH>..<HASH> 100644 --- a/aiodocker/docker.py +++ b/aiodocker/docker.py @@ -166,9 +166,10 @@ class Docker: async def _websocket(self, path, **params): if not params: params = { - 'stdout': 1, - 'stder...
Make query params consistent with other codes
py
diff --git a/tests/contrib/django/tests.py b/tests/contrib/django/tests.py index <HASH>..<HASH> 100644 --- a/tests/contrib/django/tests.py +++ b/tests/contrib/django/tests.py @@ -531,7 +531,7 @@ class DjangoClientTest(TestCase): client = TestClient(REMOTE_ADDR='127.0.0.1') client.handler = Moc...
Added a test on the url encoded strings (
py
diff --git a/allauth/account/forms.py b/allauth/account/forms.py index <HASH>..<HASH> 100644 --- a/allauth/account/forms.py +++ b/allauth/account/forms.py @@ -381,7 +381,9 @@ class SignupForm(BaseSignupForm): label=_("Password"), autocomplete="new-password" ) if app_settings.SIGNUP_PASSWO...
chore(account/forms): autocomplete="new-password" for confirmation
py
diff --git a/bumpy.py b/bumpy.py index <HASH>..<HASH> 100644 --- a/bumpy.py +++ b/bumpy.py @@ -353,7 +353,7 @@ def _help(): print LOCALE['help_reqs'].format(task.reqstr()) if task.gens: print LOCALE['help_gens'].format(task.gens) - if task.defaults: + if task.args or task.defaults: print LOCALE['help_a...
Fix help for args but no kwargs
py
diff --git a/stripe/api_requestor.py b/stripe/api_requestor.py index <HASH>..<HASH> 100644 --- a/stripe/api_requestor.py +++ b/stripe/api_requestor.py @@ -86,13 +86,15 @@ class APIRequestor(object): from stripe import verify_ssl_certs as verify from stripe import proxy - self._client = ( - ...
Set the default_http_client if unset. Previously, if the user has not configured a default_http_client, a new client would be created for every request. This commit changes the APIRequestor to populate the default_http_client if it had not been set by the user, so the client could be reused between requests.
py
diff --git a/posttroll/publisher.py b/posttroll/publisher.py index <HASH>..<HASH> 100644 --- a/posttroll/publisher.py +++ b/posttroll/publisher.py @@ -110,7 +110,7 @@ class Publisher(object): self.publish.bind(self.destination) self.port_number = port - logger.debug("publisher started...
Upgrade "publisher started on port" message to info
py
diff --git a/inferno/dataset.py b/inferno/dataset.py index <HASH>..<HASH> 100644 --- a/inferno/dataset.py +++ b/inferno/dataset.py @@ -185,11 +185,11 @@ class Dataset(torch.utils.data.Dataset): xi = multi_indexing(X, i) if y is None: # pytorch DataLoader cannot deal with None so we use 0 ...
Use Tensor instead of scalar for dummy in Dataset This makes it possible to have CUDA models as the call from to_tensor on dummy values does not fail.
py
diff --git a/nidmresults/objects/modelfitting.py b/nidmresults/objects/modelfitting.py index <HASH>..<HASH> 100644 --- a/nidmresults/objects/modelfitting.py +++ b/nidmresults/objects/modelfitting.py @@ -129,7 +129,7 @@ class Group(NIDMObject): super(Group, self).__init__() self.id = NIIRI[str(uuid.uui...
Group is Agent (instead of Entity)
py
diff --git a/indra/assemblers/html/assembler.py b/indra/assemblers/html/assembler.py index <HASH>..<HASH> 100644 --- a/indra/assemblers/html/assembler.py +++ b/indra/assemblers/html/assembler.py @@ -148,14 +148,14 @@ class HtmlAssembler(object): agents = {} previous_stmt_set = set() for row i...
Patch bug introduced by rebase.
py
diff --git a/modularodm/storedobject.py b/modularodm/storedobject.py index <HASH>..<HASH> 100644 --- a/modularodm/storedobject.py +++ b/modularodm/storedobject.py @@ -283,8 +283,12 @@ class StoredObject(object): data = {} for field_name, field_object in self._fields.items(): - if clone an...
ignore foreign fields in clone
py
diff --git a/pymc/distributions/distribution.py b/pymc/distributions/distribution.py index <HASH>..<HASH> 100644 --- a/pymc/distributions/distribution.py +++ b/pymc/distributions/distribution.py @@ -5,7 +5,7 @@ from ..model import * import warnings __all__ = ['DensityDist', 'TensorDist', 'tensordist', 'continuous',...
Added convenience function for evaluating distributions at test value
py
diff --git a/invocations/travis.py b/invocations/travis.py index <HASH>..<HASH> 100644 --- a/invocations/travis.py +++ b/invocations/travis.py @@ -118,6 +118,6 @@ def test_packaging(c, package, sanity): if c.packaging.wheel: exts.append('*.whl') for ext in exts: - c.run("pip uninstall -y {0}"....
Right; when installing non-default package variants, they won't already be installed
py
diff --git a/pytodoist/todoist.py b/pytodoist/todoist.py index <HASH>..<HASH> 100644 --- a/pytodoist/todoist.py +++ b/pytodoist/todoist.py @@ -1100,7 +1100,6 @@ class Project(TodoistObject): return [t for t in self.owner.tasks.values() if t.project_id == self.id] - def add_note(self, co...
Removed extra blank line to prevent flake8 warnings.
py
diff --git a/pyvisa-py/serial.py b/pyvisa-py/serial.py index <HASH>..<HASH> 100644 --- a/pyvisa-py/serial.py +++ b/pyvisa-py/serial.py @@ -65,7 +65,7 @@ class SerialSession(Session): else: cls = Serial - self.interface = cls(port=self.parsed.board, timeout=2000, writeTimeout=2000) + ...
pyserial renamed writeTimeout to write_timeout in version <I>
py
diff --git a/cmd2/argparse_completer.py b/cmd2/argparse_completer.py index <HASH>..<HASH> 100644 --- a/cmd2/argparse_completer.py +++ b/cmd2/argparse_completer.py @@ -7,6 +7,7 @@ See the header of argparse_custom.py for instructions on how to use these featur """ import argparse +import numbers import shutil from...
Sorting unsorted numbers list in ascending order in AutoCompleter
py
diff --git a/km3pipe/db.py b/km3pipe/db.py index <HASH>..<HASH> 100644 --- a/km3pipe/db.py +++ b/km3pipe/db.py @@ -9,6 +9,7 @@ from __future__ import division, absolute_import, print_function __author__ = 'tamasgal' +from datetime import datetime import ConfigParser, os import ssl import urllib @@ -59,11 +60,16...
Create an extra column for datetime at csv read-in
py
diff --git a/python/sbp/client/drivers/pyserial_driver.py b/python/sbp/client/drivers/pyserial_driver.py index <HASH>..<HASH> 100644 --- a/python/sbp/client/drivers/pyserial_driver.py +++ b/python/sbp/client/drivers/pyserial_driver.py @@ -17,6 +17,11 @@ try: except ImportError: SerialError = None +try: + Ser...
python: Prevent AttributeError with pyserial <I> writeTimeoutError was renamed to SerialTimeoutException. Allow both, so users can choose stable <I> or newer <I>
py
diff --git a/eng/mgmt/automation/generate.py b/eng/mgmt/automation/generate.py index <HASH>..<HASH> 100755 --- a/eng/mgmt/automation/generate.py +++ b/eng/mgmt/automation/generate.py @@ -71,7 +71,7 @@ def generate( if compile: if os.system( - 'mvn clean verify package -q -f {0}/pom.xml -p...
Mgmt-Lite: add log in compile (#<I>)
py
diff --git a/packages/vaex-core/vaex/dataframe.py b/packages/vaex-core/vaex/dataframe.py index <HASH>..<HASH> 100644 --- a/packages/vaex-core/vaex/dataframe.py +++ b/packages/vaex-core/vaex/dataframe.py @@ -4926,12 +4926,13 @@ class DataFrameLocal(DataFrame): @dataset.setter def dataset(self, dataset): + ...
fix(core): only 'reset' a dataframe when the dataset length changes Introduced in #<I>, did not trigger a failure because renaming did not use the dataset API.
py
diff --git a/scs_core/osio/client/api_auth.py b/scs_core/osio/client/api_auth.py index <HASH>..<HASH> 100644 --- a/scs_core/osio/client/api_auth.py +++ b/scs_core/osio/client/api_auth.py @@ -2,9 +2,6 @@ Created on 17 Nov 2016 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) - -example: - """ from coll...
Fixed exception handling in osio_topic_subscriber.
py
diff --git a/admin_tools/menu/items.py b/admin_tools/menu/items.py index <HASH>..<HASH> 100644 --- a/admin_tools/menu/items.py +++ b/admin_tools/menu/items.py @@ -166,7 +166,7 @@ class AppList(MenuItem, AppListElementMixin): displayed in the menu item. """ - def __init__(self, title=None, url=None, *...
url positional argument is unuseful for AppList menu item
py
diff --git a/aldryn_categories/tests/test_fields.py b/aldryn_categories/tests/test_fields.py index <HASH>..<HASH> 100644 --- a/aldryn_categories/tests/test_fields.py +++ b/aldryn_categories/tests/test_fields.py @@ -27,6 +27,8 @@ class TestCategoryField(CategoryTestCaseMixin, TestCase): child1 = root.add_child(...
Adds a test for escaped content
py
diff --git a/spiketoolkit/preprocessing/resample.py b/spiketoolkit/preprocessing/resample.py index <HASH>..<HASH> 100644 --- a/spiketoolkit/preprocessing/resample.py +++ b/spiketoolkit/preprocessing/resample.py @@ -44,12 +44,8 @@ class ResampleRecording(BasePreprocessorRecordingExtractor): traces = self._recor...
Fix decimate problem by always using resample (removed decimate)
py
diff --git a/collatex-pythonport/collatex/core_classes.py b/collatex-pythonport/collatex/core_classes.py index <HASH>..<HASH> 100644 --- a/collatex-pythonport/collatex/core_classes.py +++ b/collatex-pythonport/collatex/core_classes.py @@ -324,7 +324,7 @@ def join(graph): can_join = join_candidate != end an...
Another fix for method call to NetworkX <I> out_edges(vertex).
py
diff --git a/c7n/resources/s3.py b/c7n/resources/s3.py index <HASH>..<HASH> 100644 --- a/c7n/resources/s3.py +++ b/c7n/resources/s3.py @@ -190,11 +190,15 @@ def bucket_client(session, b, kms=False): region = 'us-east-1' else: region = location['LocationConstraint'] or 'us-east-1' + if kms: -...
s3 clients - increase connect timeout (#<I>) - dealing with proxy envs to out of region buckets (sans endpoint access)
py
diff --git a/djstripe/stripe_objects.py b/djstripe/stripe_objects.py index <HASH>..<HASH> 100644 --- a/djstripe/stripe_objects.py +++ b/djstripe/stripe_objects.py @@ -125,7 +125,7 @@ class StripeObject(TimeStampedModel): :type api_key: string """ - self.api_retrieve(api_key).delete() + ...
delete doesn't return anythin
py
diff --git a/src/azure_devtools/ci_tools/tests/conftest.py b/src/azure_devtools/ci_tools/tests/conftest.py index <HASH>..<HASH> 100644 --- a/src/azure_devtools/ci_tools/tests/conftest.py +++ b/src/azure_devtools/ci_tools/tests/conftest.py @@ -1,10 +1,17 @@ """Configuration of fixtures for pytest""" import os +import ...
CI tools tests are Py<I> only
py
diff --git a/O365/connection.py b/O365/connection.py index <HASH>..<HASH> 100644 --- a/O365/connection.py +++ b/O365/connection.py @@ -585,7 +585,8 @@ class Connection: retry = Retry(total=self.request_retries, read=self.request_retries, connect=self.request_retries, ...
Fix for status code: <I> - Too many requests.
py
diff --git a/cflib/crazyflie/__init__.py b/cflib/crazyflie/__init__.py index <HASH>..<HASH> 100644 --- a/cflib/crazyflie/__init__.py +++ b/cflib/crazyflie/__init__.py @@ -156,7 +156,7 @@ class Crazyflie(): logger.info('We are connected[%s], request connection setup', self.link_uri) ...
#<I> Corrected flake8 problem
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -33,7 +33,7 @@ class GitTest(unittest.TestCase): for message in cls.setUpWorkingCopy(working_path): check_call(['git', 'add', '.'], cwd=working_path) check_call(['git', 'commit', '-m', message], cwd=working_...
fix some problems with test cases - use "git push origin master" since some configurations may not support lack of "origin master" - use --force flag on svn add since exit status is nonzero if a file is added twice on some versions
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ setup_args.update(dict( if __name__=="__main__": - if 'bdist_wininst' in sys.argv or 'upload' in sys.argv: + if 'upload' in sys.argv: param.__version__.verify() numbergen.__version__...
Only verify version when uploading to PyPI (fixes #<I>).
py
diff --git a/meleeuploader/forms.py b/meleeuploader/forms.py index <HASH>..<HASH> 100755 --- a/meleeuploader/forms.py +++ b/meleeuploader/forms.py @@ -94,7 +94,7 @@ class MeleeUploader(BaseWidget): else: resp = self.question(f"Current Version: {consts.__version__}\nVersion {latest_...
make sure the latest version is grabbed when calling pip
py
diff --git a/timeside/decoder/array.py b/timeside/decoder/array.py index <HASH>..<HASH> 100644 --- a/timeside/decoder/array.py +++ b/timeside/decoder/array.py @@ -65,7 +65,7 @@ class ArrayDecoder(Decoder): if samples.ndim == 1: samples = samples[:, np.newaxis] # reshape to 2D array - sel...
ArrayDecoder: Convert array to 'float<I>' for compatibility with FileDecoder + add a release() method to reset iterator
py
diff --git a/demo/demo.py b/demo/demo.py index <HASH>..<HASH> 100644 --- a/demo/demo.py +++ b/demo/demo.py @@ -49,6 +49,7 @@ def json_renderer(func): @asyncio.coroutine def exc(request): + log.error('NotImplementedError exception handler') raise NotImplementedError @@ -60,11 +61,13 @@ def test_ajax(requ...
add logging in the handlers of demo app
py
diff --git a/user_agents/parsers.py b/user_agents/parsers.py index <HASH>..<HASH> 100644 --- a/user_agents/parsers.py +++ b/user_agents/parsers.py @@ -164,8 +164,6 @@ class UserAgent(object): return True if 'Blackberry 95' in self.device.family: # BB Storm devices return True - ...
remove duplicate line (#<I>) The duplicate line show a bit of useless.
py
diff --git a/format.py b/format.py index <HASH>..<HASH> 100644 --- a/format.py +++ b/format.py @@ -201,8 +201,8 @@ class Formatter: # User defined Formatters def format_tag(self, tag, text): - return '<a href="http://search.twitter.com/search?%s">%s%s</a>' \ - % (urllib.urlencode({...
Fix hashtags with utf8 in them.
py
diff --git a/pmagpy/ipmag.py b/pmagpy/ipmag.py index <HASH>..<HASH> 100755 --- a/pmagpy/ipmag.py +++ b/pmagpy/ipmag.py @@ -1251,18 +1251,25 @@ def make_di_block(dec,inc): def unpack_di_block(di_block): """ - This function unpacks a nested list of [dec,inc,1.] into a list of - declination values and a list...
add intensity to di_block unpacking
py
diff --git a/tests/cts/test_resolver.py b/tests/cts/test_resolver.py index <HASH>..<HASH> 100644 --- a/tests/cts/test_resolver.py +++ b/tests/cts/test_resolver.py @@ -390,11 +390,15 @@ class TextXmlFolderResolver(TestCase): "Local Inventory Files should be parsed and aggregated correctly" ) ...
Fixed tests to agree with the right citation system
py
diff --git a/schedule/views.py b/schedule/views.py index <HASH>..<HASH> 100644 --- a/schedule/views.py +++ b/schedule/views.py @@ -339,6 +339,7 @@ def api_occurrences(request): "end": occurrence.end.isoformat(), "existed" : existed, "event_id" : occurrence.event.id, + ...
exposing occurence description to occurences api adding description to occurence
py
diff --git a/shinken/brok.py b/shinken/brok.py index <HASH>..<HASH> 100644 --- a/shinken/brok.py +++ b/shinken/brok.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# # -*- coding: utf-8 -*- # # Copyright (C) 2009-2014:
pep8: shinken.brok
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name = 'green', packages = ['green'], version = VERSION, - description = 'A plugin for nose that provides the colored, aligned, clean output that nose ought to have by default.', + desc...
Made it very clear that this module is in the Pre-Alpha stage in the setup description.
py
diff --git a/salty/tests/test_data_manipulation.py b/salty/tests/test_data_manipulation.py index <HASH>..<HASH> 100644 --- a/salty/tests/test_data_manipulation.py +++ b/salty/tests/test_data_manipulation.py @@ -32,4 +32,4 @@ class data_manipulation_tests(unittest.TestCase): if __name__ == '__main__': - unittest...
iss3 ready for deply
py
diff --git a/migrate_sql/graph.py b/migrate_sql/graph.py index <HASH>..<HASH> 100644 --- a/migrate_sql/graph.py +++ b/migrate_sql/graph.py @@ -36,11 +36,11 @@ class SqlStateGraph(object): ) self.node_map[child].add_parent(self.node_map[parent]) self.node_map[parent].add_child(self.node_ma...
MigrateSQL: Binding dependencies late allowing for random order of definitions.
py
diff --git a/tests/util.py b/tests/util.py index <HASH>..<HASH> 100644 --- a/tests/util.py +++ b/tests/util.py @@ -20,4 +20,5 @@ def needs_builtin(name): """ Skip decorated test if builtin name does not exist. """ - return pytest.mark.skipif(not hasattr(builtins, name)) + reason = "Test requires a ...
Whoops, most uses of skipif REQUIRE reason=
py
diff --git a/hca/upload/cli/list_areas_command.py b/hca/upload/cli/list_areas_command.py index <HASH>..<HASH> 100644 --- a/hca/upload/cli/list_areas_command.py +++ b/hca/upload/cli/list_areas_command.py @@ -16,4 +16,4 @@ class ListAreasCommand: sys.stdout.write(area.uuid) if area.is_selected: ...
Upload: Fix newlines in CLI "upload areas" command Only one newline was being printed at the end of processing so all the areas ended up being printed on the same line.
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 @@ -177,11 +177,10 @@ in settings.py or provide it with --aws-bucket-name" # now look through the keys l...
guess I didn't need key.name
py
diff --git a/safe/report/processors/default.py b/safe/report/processors/default.py index <HASH>..<HASH> 100644 --- a/safe/report/processors/default.py +++ b/safe/report/processors/default.py @@ -69,16 +69,27 @@ def composition_item(composer, item_id, item_class): :return: The composition item, inherited class of Q...
add special case for me to have the map working
py
diff --git a/tests/integration/test_requests.py b/tests/integration/test_requests.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_requests.py +++ b/tests/integration/test_requests.py @@ -130,3 +130,18 @@ def test_gzip(tmpdir, scheme): with vcr.use_cassette(str(tmpdir.join('gzip.yaml'))) as cass: ...
Add test: test_session_and_connection_close This is a test for issue GH-<I>.
py
diff --git a/jira/client.py b/jira/client.py index <HASH>..<HASH> 100644 --- a/jira/client.py +++ b/jira/client.py @@ -2463,6 +2463,11 @@ class JIRA(object): """ Project can be id, project key or project name. It will return False if it fails. """ + + # allows us to call it with Projec...
Allows us to call delete_project() with Project object instance.
py
diff --git a/tools/gen-cpydiff.py b/tools/gen-cpydiff.py index <HASH>..<HASH> 100644 --- a/tools/gen-cpydiff.py +++ b/tools/gen-cpydiff.py @@ -51,7 +51,7 @@ INDEX = 'index.rst' HEADER = '.. This document was generated by tools/gen-cpydiff.py\n\n' UIMPORTLIST = {'struct', 'collections', 'json'} -CLASSMAP = {'Core': ...
tools/gen-cpydiff.py: Adjust subsections to sentence case.
py
diff --git a/tmuxp/cli.py b/tmuxp/cli.py index <HASH>..<HASH> 100644 --- a/tmuxp/cli.py +++ b/tmuxp/cli.py @@ -400,10 +400,10 @@ def command_load(args): if isinstance(args.config, list): # Load each configuration but the last to the background - for config in args.config[:-1]: + for cfg in...
Rename for-loop variable name to avoid conflict Local `config` was hidding global import `config`, used later in the function.
py
diff --git a/pages/models.py b/pages/models.py index <HASH>..<HASH> 100644 --- a/pages/models.py +++ b/pages/models.py @@ -502,7 +502,7 @@ class Page(MPTTModel): 'redirect_to_complete_slug': [ [lang, self.redirect_to.get_complete_slug( lang, hideroot=False)] - ...
export redirect_to slugs in all languages of target page
py
diff --git a/py/test/rsession/testing/test_hostmanage.py b/py/test/rsession/testing/test_hostmanage.py index <HASH>..<HASH> 100644 --- a/py/test/rsession/testing/test_hostmanage.py +++ b/py/test/rsession/testing/test_hostmanage.py @@ -142,6 +142,7 @@ class TestHostManager(DirSetup): def test_hostmanager_init_rsy...
[svn r<I>] adding a bit to the test (but the code is already correct) --HG-- branch : trunk
py
diff --git a/documenteer/sphinxconfig/stackconf.py b/documenteer/sphinxconfig/stackconf.py index <HASH>..<HASH> 100644 --- a/documenteer/sphinxconfig/stackconf.py +++ b/documenteer/sphinxconfig/stackconf.py @@ -35,7 +35,6 @@ def _insert_extensions(c): "numpydoc", "sphinx_automodapi.automodapi", ...
Remove breathe from sphinxconfig.stackconf Removed the ``breathe`` extension from the deprecated ``documenteer.sphinxconf`` Sphinx configuration for Pipelines documentation. This is because documenteer no longer includes ``breathe`` in its dependencies. Though this is backwards incompatible, ``breathe`` was never us...
py
diff --git a/asciimatics/screen.py b/asciimatics/screen.py index <HASH>..<HASH> 100644 --- a/asciimatics/screen.py +++ b/asciimatics/screen.py @@ -4,6 +4,7 @@ from __future__ import print_function from __future__ import unicode_literals from builtins import object from builtins import range +from builtins import str...
Attempt to fix up cross-version unicode strings
py
diff --git a/client/protocols/hinting.py b/client/protocols/hinting.py index <HASH>..<HASH> 100644 --- a/client/protocols/hinting.py +++ b/client/protocols/hinting.py @@ -35,6 +35,7 @@ class HintingProtocol(protocol_models.Protocol): SMALL_EFFORT = 5 LARGE_EFFORT = 8 WAIT_ATTEMPTS = 5 + SUPPORTED_ASSI...
Only run hinting protocol on supported assignments
py
diff --git a/ayrton/tests/test_ayrton.py b/ayrton/tests/test_ayrton.py index <HASH>..<HASH> 100644 --- a/ayrton/tests/test_ayrton.py +++ b/ayrton/tests/test_ayrton.py @@ -82,23 +82,6 @@ class Bash(unittest.TestCase): def test_tilde (self): self.assertEqual (bash ('~'), os.environ['HOME']) -class HardExp...
[-] unused code: class A and HadrExpansion.
py
diff --git a/uncompyle6/semantics/customize.py b/uncompyle6/semantics/customize.py index <HASH>..<HASH> 100644 --- a/uncompyle6/semantics/customize.py +++ b/uncompyle6/semantics/customize.py @@ -41,9 +41,13 @@ def customize_for_version(self, is_pypy, version): ####################### TABLE_DIRECT.upda...
Note assert{,2}not is transformation only
py
diff --git a/salt/states/pip_state.py b/salt/states/pip_state.py index <HASH>..<HASH> 100644 --- a/salt/states/pip_state.py +++ b/salt/states/pip_state.py @@ -250,12 +250,6 @@ def installed(name, ''' Make sure the package is installed - .. note:: - - There is a known issue when using pip v1.0 that...
Remove note about pip bug with pip v1 vs pip v2 return codes Refs #<I>
py
diff --git a/hotdoc/extensions/gi_extension.py b/hotdoc/extensions/gi_extension.py index <HASH>..<HASH> 100644 --- a/hotdoc/extensions/gi_extension.py +++ b/hotdoc/extensions/gi_extension.py @@ -639,7 +639,6 @@ class GIWizard(HotdocWizard): try: choice = self.propose_choice( [...
Wizard: don't propose a not implemented choice
py
diff --git a/fritzconnection/fritzconnection.py b/fritzconnection/fritzconnection.py index <HASH>..<HASH> 100755 --- a/fritzconnection/fritzconnection.py +++ b/fritzconnection/fritzconnection.py @@ -321,7 +321,13 @@ class FritzConnection(object): if password: descfiles.append(FRITZ_TR64_DESC_FILE)...
fixed issue #6: missing igddesc.xml file.
py
diff --git a/meshio/vtk/_vtk.py b/meshio/vtk/_vtk.py index <HASH>..<HASH> 100644 --- a/meshio/vtk/_vtk.py +++ b/meshio/vtk/_vtk.py @@ -390,7 +390,7 @@ def _read_cells(f, is_ascii, num_items): if is_ascii: c = numpy.fromfile(f, count=num_items, sep=" ", dtype=int) else: - c = numpy.fromfile(f, ...
undo changes in vtk reader
py
diff --git a/tests/integration/py2/nupic/algorithms/temporal_memory_test.py b/tests/integration/py2/nupic/algorithms/temporal_memory_test.py index <HASH>..<HASH> 100755 --- a/tests/integration/py2/nupic/algorithms/temporal_memory_test.py +++ b/tests/integration/py2/nupic/algorithms/temporal_memory_test.py @@ -279,7 +27...
Made a test's results more clear
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 @@ -75,7 +75,7 @@ class CheckboxSelectMultipleWithDisabled(CheckboxSelectMultiple): To make an option part of a separate "override" choice set, add a dictio...
Added renderer option for Django <I>+ compatibility
py
diff --git a/aiogram/types/input_message_content.py b/aiogram/types/input_message_content.py index <HASH>..<HASH> 100644 --- a/aiogram/types/input_message_content.py +++ b/aiogram/types/input_message_content.py @@ -145,7 +145,7 @@ class InputTextMessageContent(InputMessageContent): """ message_text: base.Stri...
fix issue <I> (#<I>)
py
diff --git a/zipline/finance/slippage.py b/zipline/finance/slippage.py index <HASH>..<HASH> 100644 --- a/zipline/finance/slippage.py +++ b/zipline/finance/slippage.py @@ -70,6 +70,10 @@ class VolumeShareSlippage(object): if event.sid in open_orders: orders = open_orders[event.sid] ord...
Filters out orders in the future. Enforcing filling open orders that exist on or before the current event.
py
diff --git a/tests/unit/states/test_ldap.py b/tests/unit/states/test_ldap.py index <HASH>..<HASH> 100644 --- a/tests/unit/states/test_ldap.py +++ b/tests/unit/states/test_ldap.py @@ -255,18 +255,14 @@ class LDAPTestCase(TestCase, LoaderModuleMockMixin): expected_db = copy.deepcopy(init_db) for dn, att...
fixing failing ldap tests
py