diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py b/ryu/ofproto/ofproto_v1_4_parser.py index <HASH>..<HASH> 100644 --- a/ryu/ofproto/ofproto_v1_4_parser.py +++ b/ryu/ofproto/ofproto_v1_4_parser.py @@ -4269,7 +4269,7 @@ class OFPFlowMod(MsgBase): entries to include this as an output port out_gro...
of<I>: Correct documentation of flow mod flags * Flags is a bitmap of OFPFF_* values rather than a single OFPFF_* value
py
diff --git a/growler/http/request.py b/growler/http/request.py index <HASH>..<HASH> 100644 --- a/growler/http/request.py +++ b/growler/http/request.py @@ -125,3 +125,15 @@ class HTTPRequest: The name of the protocol being used """ return 'https' if self._responder.cipher else 'http' + + @p...
HTTPRequest: Added peercert property for access to ssl information
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup setup( name="querybuilder", - version="0.2.1", + version="0.2.2", packages=[ "querybuilder", ],
* <I> release * Added wrap method
py
diff --git a/kaybee/plugins/articles/jsoncatalog.py b/kaybee/plugins/articles/jsoncatalog.py index <HASH>..<HASH> 100644 --- a/kaybee/plugins/articles/jsoncatalog.py +++ b/kaybee/plugins/articles/jsoncatalog.py @@ -12,7 +12,7 @@ from sphinx.environment import BuildEnvironment from kaybee.app import kb from kaybee.p...
@WIP Didn't have a fully-qualified import.
py
diff --git a/scapy/layers/http.py b/scapy/layers/http.py index <HASH>..<HASH> 100644 --- a/scapy/layers/http.py +++ b/scapy/layers/http.py @@ -616,7 +616,7 @@ def http_request(host, path="/", port=80, timeout=3, } http_headers.update(headers) req = HTTP() / HTTPRequest(**http_headers) - tcp_client = T...
Port <I> is hard-coded in the tcp_client Seems to be overlooked when trying to create an http packet on a non-default port.
py
diff --git a/tpot/base.py b/tpot/base.py index <HASH>..<HASH> 100644 --- a/tpot/base.py +++ b/tpot/base.py @@ -583,6 +583,14 @@ class TPOTBase(BaseEstimator): else: self._n_jobs = self.n_jobs + def _init_pretest(self, features,target): + """Set the sample of data used to verify pipelin...
moving pretest_X and prestest_y into a function prior to setting stratify
py
diff --git a/spacy/schemas.py b/spacy/schemas.py index <HASH>..<HASH> 100644 --- a/spacy/schemas.py +++ b/spacy/schemas.py @@ -282,7 +282,7 @@ class ModelMetaSchema(BaseModel): sources: Optional[Union[List[StrictStr], List[Dict[str, str]]]] = Field(None, title="Training data sources") vectors: Dict[str, Any] ...
Relax model meta performance schema (#<I>) Allow more embedded per_x in `ModelMetaSchema`
py
diff --git a/kubespawner/spawner.py b/kubespawner/spawner.py index <HASH>..<HASH> 100644 --- a/kubespawner/spawner.py +++ b/kubespawner/spawner.py @@ -1614,7 +1614,6 @@ class KubeSpawner(Spawner): @run_on_executor def asynchronize(self, method, *args, **kwargs): - self.log.info(f"Asynchronously calli...
Remove excessive logging Was useful when debugging, not so anymore
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -176,10 +176,14 @@ if not ISRELEASED: FULLVERSION += '.dev' try: import subprocess - pipe = subprocess.Popen(["git", "rev-parse", "--short", "HEAD"], - stdout=subprocess...
ENH: make sha lookup compatible with msysgit
py
diff --git a/pyiso.py b/pyiso.py index <HASH>..<HASH> 100644 --- a/pyiso.py +++ b/pyiso.py @@ -1571,6 +1571,9 @@ class PyIso(object): found_record = self._find_record_and_seek(iso_path) + if found_record.is_dir(): + raise PyIsoException("Cannot get data for directory %s" % (iso_path)) + ...
Make sure get_and_write fails if entry is a directory.
py
diff --git a/examples/plotting/file/python_callback.py b/examples/plotting/file/python_callback.py index <HASH>..<HASH> 100644 --- a/examples/plotting/file/python_callback.py +++ b/examples/plotting/file/python_callback.py @@ -51,6 +51,6 @@ layout = hplot( vform(amp_slider, freq_slider, phase_slider, offset_slider...
Keep the output_file the same name as the example file
py
diff --git a/src/collectors/elasticsearch/elasticsearch.py b/src/collectors/elasticsearch/elasticsearch.py index <HASH>..<HASH> 100644 --- a/src/collectors/elasticsearch/elasticsearch.py +++ b/src/collectors/elasticsearch/elasticsearch.py @@ -106,11 +106,12 @@ class ElasticSearchCollector(diamond.collector.Collector): ...
Fix for older elasticsearch lacking 'fs'
py
diff --git a/bokeh/charts/builder/bar_builder.py b/bokeh/charts/builder/bar_builder.py index <HASH>..<HASH> 100644 --- a/bokeh/charts/builder/bar_builder.py +++ b/bokeh/charts/builder/bar_builder.py @@ -194,8 +194,11 @@ class BarBuilder(Builder): self.y_range = Range1d(start=start, end=self.max_height + y_shif...
Fix bar chart regressions due to changes to support box chart features.
py
diff --git a/pyowm/webapi25/weather.py b/pyowm/webapi25/weather.py index <HASH>..<HASH> 100644 --- a/pyowm/webapi25/weather.py +++ b/pyowm/webapi25/weather.py @@ -64,10 +64,10 @@ class Weather(object): raise ValueError("'reference_time' must be greater than 0") self._reference_time = reference_tim...
Fix ValueError then sunrise_time & sunset time is less than zero when there is a polar day
py
diff --git a/spyderlib/plugins/editor.py b/spyderlib/plugins/editor.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/editor.py +++ b/spyderlib/plugins/editor.py @@ -880,16 +880,13 @@ class Editor(SpyderPluginWidget): re_run_action, run_selected_action, None, ...
Remove debug action from the Run toolbar - It is unnecessary now that we have the Debug toolbar. - Also move the 'Configure Run' icon to the end of the toolbar so that all Run icons form a visually compact group.
py
diff --git a/salt/cloud/clouds/vmware.py b/salt/cloud/clouds/vmware.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/vmware.py +++ b/salt/cloud/clouds/vmware.py @@ -92,7 +92,14 @@ except Exception: pass # Import third party libs -import salt.ext.six as six +try: + import salt.ext.six as six +except Imp...
Fixing ImportError in salt <I> version
py
diff --git a/tests/test_endpoint_docstrings.py b/tests/test_endpoint_docstrings.py index <HASH>..<HASH> 100644 --- a/tests/test_endpoint_docstrings.py +++ b/tests/test_endpoint_docstrings.py @@ -1,6 +1,23 @@ +import inspect +import re def test_methods(*testMethods): - #For each: - #check if method contains an AP...
Added preliminary code for test_methods
py
diff --git a/tools/interop_matrix/client_matrix.py b/tools/interop_matrix/client_matrix.py index <HASH>..<HASH> 100644 --- a/tools/interop_matrix/client_matrix.py +++ b/tools/interop_matrix/client_matrix.py @@ -124,6 +124,7 @@ LANG_RELEASE_MATRIX = { ('v1.18.0', ReleaseInfo(runtime_subset=['go1.11'])), ...
Add <I> releases of grpc-go to interop matrix
py
diff --git a/bottery/__init__.py b/bottery/__init__.py index <HASH>..<HASH> 100644 --- a/bottery/__init__.py +++ b/bottery/__init__.py @@ -10,4 +10,4 @@ from bottery.bottery import Bottery # noqa -__version__ = '0.0.1a7' +__version__ = '0.0.1a8'
New version: <I>a8
py
diff --git a/{{cookiecutter.project_slug}}/config/settings/production.py b/{{cookiecutter.project_slug}}/config/settings/production.py index <HASH>..<HASH> 100644 --- a/{{cookiecutter.project_slug}}/config/settings/production.py +++ b/{{cookiecutter.project_slug}}/config/settings/production.py @@ -245,7 +245,7 @@ RAVEN...
Fix a typo in production.py
py
diff --git a/kafka/client_async.py b/kafka/client_async.py index <HASH>..<HASH> 100644 --- a/kafka/client_async.py +++ b/kafka/client_async.py @@ -324,7 +324,7 @@ class KafkaClient(object): # if we found no connected node, return a disconnected one log.debug("No connected nodes found. Trying disconnec...
Fix blacked_out typo in least_loaded_node
py
diff --git a/blockstack_profiles/token_verifying.py b/blockstack_profiles/token_verifying.py index <HASH>..<HASH> 100644 --- a/blockstack_profiles/token_verifying.py +++ b/blockstack_profiles/token_verifying.py @@ -35,6 +35,9 @@ def verify_token(token, public_key_or_address, signing_algorithm="ES256K"): issuer_pub...
allow verifying tokens with uncompressed public keys
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,13 +22,13 @@ install_requires = [ setup( name='figgypy', - version='0.3.0', + version='0.4.dev', description='Simple configuration tool. Get config from yaml, json, or xml.', long_description=readme...
Update setup.py to develop version
py
diff --git a/gimmemotifs/background.py b/gimmemotifs/background.py index <HASH>..<HASH> 100644 --- a/gimmemotifs/background.py +++ b/gimmemotifs/background.py @@ -182,7 +182,7 @@ def matched_gc_bedfile(bedfile, matchfile, genome, number): try: fa = Fasta(matchfile) - gc = [(seq.count("C") + seq.c...
argh. also count lower-case
py
diff --git a/dvc/daemon.py b/dvc/daemon.py index <HASH>..<HASH> 100644 --- a/dvc/daemon.py +++ b/dvc/daemon.py @@ -102,6 +102,6 @@ def daemon(args): env[cast_bytes_py2("PYTHONPATH")] = cast_bytes_py2( os.path.dirname(os.path.dirname(file_path)) ) - env[cast_bytes_py2(DVC_DAEMON)] = "1" + env[ca...
daemon: don't forget to convert to bytes on py2
py
diff --git a/openquake/calculators/views.py b/openquake/calculators/views.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/views.py +++ b/openquake/calculators/views.py @@ -817,6 +817,16 @@ def view_events_by_mag(token, dstore): return rst_table(counts.items(), ['mag', 'num_events']) +@view.add('ebru...
Added a view ebrups_by_mag [skip CI]
py
diff --git a/bcbio/variation/effects.py b/bcbio/variation/effects.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/effects.py +++ b/bcbio/variation/effects.py @@ -101,7 +101,7 @@ def prep_vep_cache(dbkey, ref_file, tooldir=None, config=None): vep_path = "%s/bin/" % tooldir if tooldir else "" ...
added flags to vep cache install command
py
diff --git a/simuvex/s_arch.py b/simuvex/s_arch.py index <HASH>..<HASH> 100755 --- a/simuvex/s_arch.py +++ b/simuvex/s_arch.py @@ -24,7 +24,7 @@ class SimArch: self.nop_instruction = None self.instruction_alignment = None self.function_prologs = None - self.cache_irsb = None + s...
disable caching IRSBs for now
py
diff --git a/pdf/utils/_version.py b/pdf/utils/_version.py index <HASH>..<HASH> 100644 --- a/pdf/utils/_version.py +++ b/pdf/utils/_version.py @@ -1 +1 @@ -__version__ = '1.0.0' +__version__ = '1.0.1'
Updated to version <I> Fixed conditional import bug
py
diff --git a/shopify/resources.py b/shopify/resources.py index <HASH>..<HASH> 100644 --- a/shopify/resources.py +++ b/shopify/resources.py @@ -152,6 +152,11 @@ class Blog(ShopifyResource, mixins.Metafields, mixins.Events): class Article(ShopifyResource, mixins.Metafields, mixins.Events): _prefix_source = "/admin/...
Add _prefix classmethod to Article resource handling blog_id presence or absence same as the Variant resource does for product_id
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from os import path from distutils.version import LooseVersion from setuptools import find_packages, setup -VERSION = '1.14.3' +VERSION = '1.14.4' # Import README.md into long_description pwd = path.abspat...
Bump package version to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -43,6 +43,9 @@ setup( 'pyudev >= 0.16', ], entry_points = { - 'console_scripts': ['rshell=rshell.command_line:main'], + 'console_scripts': [ + 'pyboard=rshell.pyboard:main', + ...
Add console script entrypoint for pyboard script
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='pyThreadpool', url='http://github.com/srirams6/py-threadpool', author='Sriram Sundarraj', author_email='sriram.s.1994@gmail.com', - license='MIT', + license='GNU v3', ...
:scroll: Added correct license.
py
diff --git a/neurom/_compat.py b/neurom/_compat.py index <HASH>..<HASH> 100644 --- a/neurom/_compat.py +++ b/neurom/_compat.py @@ -51,6 +51,8 @@ def is_new_style(obj): def bounding_box(neurite): '''Get a neurite's X,Y,Z bounding box''' if is_new_style(neurite): + if isinstance(neurite, Tree): + ...
Enable _compat module to deal with section Trees and Neurites.
py
diff --git a/permissions/tests/test_registry.py b/permissions/tests/test_registry.py index <HASH>..<HASH> 100644 --- a/permissions/tests/test_registry.py +++ b/permissions/tests/test_registry.py @@ -1,3 +1,5 @@ +from unittest import skip + from django.contrib.auth.models import AnonymousUser from django.core.exceptio...
Add a failing test for decorating a class with a model perm
py
diff --git a/gwpy/detector/channel.py b/gwpy/detector/channel.py index <HASH>..<HASH> 100644 --- a/gwpy/detector/channel.py +++ b/gwpy/detector/channel.py @@ -93,6 +93,12 @@ class Channel(object): key, value pairs for attributes of new channel """ # init properties + self._name = N...
Channel: init some more attributes name components
py
diff --git a/flask_dance/contrib/zoho.py b/flask_dance/contrib/zoho.py index <HASH>..<HASH> 100644 --- a/flask_dance/contrib/zoho.py +++ b/flask_dance/contrib/zoho.py @@ -26,7 +26,7 @@ def make_zoho_blueprint( this constructor, or make sure that your Flask application config defines them, using the variables ...
Fix spacing issue causing Zoho docs not to render correctly
py
diff --git a/examples/utils.py b/examples/utils.py index <HASH>..<HASH> 100644 --- a/examples/utils.py +++ b/examples/utils.py @@ -19,7 +19,7 @@ def plot_high_chart(time, data, title="title", yax="Y", type="high_chart"): type_b = "type: 'linear'" else: type_a = "Highcharts.stockChart" - ty...
Changed StockChart to considere the xAxis continuous
py
diff --git a/cheroot/server.py b/cheroot/server.py index <HASH>..<HASH> 100644 --- a/cheroot/server.py +++ b/cheroot/server.py @@ -2024,7 +2024,7 @@ class HTTPServer: # Just drop the conn. TODO: write 503 back? conn.close() - self.connections.expire() + #self.connection...
Experiment with disabling the expiration of keep-alive connections.
py
diff --git a/test/test_motor_pool.py b/test/test_motor_pool.py index <HASH>..<HASH> 100644 --- a/test/test_motor_pool.py +++ b/test/test_motor_pool.py @@ -178,7 +178,7 @@ class MotorPoolTest(MotorTest): self.assertEqual(1, len(pool.sockets)) # All ops completed - docs = yield motor.Op(collect...
Avoid warning in test_connections_unacknowledged_writes
py
diff --git a/bids/layout/index.py b/bids/layout/index.py index <HASH>..<HASH> 100644 --- a/bids/layout/index.py +++ b/bids/layout/index.py @@ -205,7 +205,12 @@ class BIDSLayoutIndexer(object): if ext == 'json': with open(bf.path, 'r') as handle: - payload =...
identify JSON file generating exception; closes #<I>
py
diff --git a/runscript/cli.py b/runscript/cli.py index <HASH>..<HASH> 100644 --- a/runscript/cli.py +++ b/runscript/cli.py @@ -100,11 +100,11 @@ def process_command_line(): if config['global'].get('django_settings_module'): os.environ['DJANGO_SETTINGS_MODULE'] = config['global']['django_settings_module'...
Small fix to django settings processing
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -60,9 +60,9 @@ setup( classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: ...
Updating setup.py with python version.
py
diff --git a/fc/plot.py b/fc/plot.py index <HASH>..<HASH> 100644 --- a/fc/plot.py +++ b/fc/plot.py @@ -3,7 +3,7 @@ Functions for visualizing flow cytometry data. Functions in this module are divided in two categories: -- Simple Plot Functions, with a signature similar to the following: +- Simple Plot Functions, wi...
Small changes in fc/plot docstrings to improve sphinx output.
py
diff --git a/test_project/settings.py b/test_project/settings.py index <HASH>..<HASH> 100644 --- a/test_project/settings.py +++ b/test_project/settings.py @@ -7,14 +7,14 @@ STATIC_URL = '/static/' BASE_DIR = os.path.dirname(os.path.dirname(__file__)) DATABASES = { - 'default': { - 'ENGINE': 'django.db.bac...
just sqlite for now for depenency reasons
py
diff --git a/pystache/template.py b/pystache/template.py index <HASH>..<HASH> 100644 --- a/pystache/template.py +++ b/pystache/template.py @@ -23,6 +23,10 @@ def call(val, view, template=None): val = val(template) else: val = val(view, template) + + if val is None: + val = '...
6 more tests passing: handle call() returning None. Now at-- Ran <I> tests in <I>s FAILED (errors=1, failures=<I>)
py
diff --git a/ella/imports/models.py b/ella/imports/models.py index <HASH>..<HASH> 100644 --- a/ella/imports/models.py +++ b/ella/imports/models.py @@ -1,6 +1,6 @@ import re from datetime import datetime -import time +import calendar from django.db import models from django.contrib import admin @@ -51,7 +51,7 @@ c...
DST and timezones seem to be OK now. git-svn-id: <URL>
py
diff --git a/nautilus/services/authService.py b/nautilus/services/authService.py index <HASH>..<HASH> 100644 --- a/nautilus/services/authService.py +++ b/nautilus/services/authService.py @@ -1,5 +1,6 @@ # local imports from .service import Service +import nautilus from nautilus.conventions.services import auth_servi...
auth service can be managed like a model service
py
diff --git a/bridgepoint/consistency_check.py b/bridgepoint/consistency_check.py index <HASH>..<HASH> 100644 --- a/bridgepoint/consistency_check.py +++ b/bridgepoint/consistency_check.py @@ -18,13 +18,22 @@ def main(): parser.add_option("-r", dest="r", type='int', metavar="<number>", help="...
consistency_check: expose logging verbosity to cli
py
diff --git a/pyxcli/__init__.py b/pyxcli/__init__.py index <HASH>..<HASH> 100644 --- a/pyxcli/__init__.py +++ b/pyxcli/__init__.py @@ -22,7 +22,7 @@ IBM XCLI Client Module XCLI_DEFAULT_LOGGER = "xcli" XCLI_DEFAULT_PORT = 7778 -version_tuple = (1, 2, 0) +version_tuple = (1, 2, 1) def get_version_string():
Develop (#<I>) update version number to <I>
py
diff --git a/checkers/classes.py b/checkers/classes.py index <HASH>..<HASH> 100644 --- a/checkers/classes.py +++ b/checkers/classes.py @@ -288,7 +288,7 @@ instance attributes.'} if klass is None or not (callee == klass.name or callee in klass.basenames or (isinstance(node....
CallFunc as now a func attribute, not node --HG-- branch : astng2
py
diff --git a/yt_array.py b/yt_array.py index <HASH>..<HASH> 100644 --- a/yt_array.py +++ b/yt_array.py @@ -36,6 +36,7 @@ from yt.utilities.exceptions import \ YTUnitOperationError, YTUnitConversionError, \ YTUfuncUnitError, YTIterableUnitCoercionError, \ YTInvalidUnitEquivalence, YTEquivalentDimsError +f...
units: add lru_cache to possibly expensive unit operations in yt_array --HG-- branch : yt
py
diff --git a/ipyrad/analysis/window_extracter.py b/ipyrad/analysis/window_extracter.py index <HASH>..<HASH> 100644 --- a/ipyrad/analysis/window_extracter.py +++ b/ipyrad/analysis/window_extracter.py @@ -360,10 +360,14 @@ class WindowExtracter(object): # use provided name else auto gen a name (scaff-start-end) ...
Allow scaffold idxs to be int
py
diff --git a/raiden/transfer/architecture.py b/raiden/transfer/architecture.py index <HASH>..<HASH> 100644 --- a/raiden/transfer/architecture.py +++ b/raiden/transfer/architecture.py @@ -1,7 +1,9 @@ # pylint: disable=too-few-public-methods +import time from copy import deepcopy from dataclasses import dataclass, fie...
Measure and log duration of state deepcopy Step 1 of <URL>
py
diff --git a/tests/calculators/hazard/classical/post_processing_test.py b/tests/calculators/hazard/classical/post_processing_test.py index <HASH>..<HASH> 100644 --- a/tests/calculators/hazard/classical/post_processing_test.py +++ b/tests/calculators/hazard/classical/post_processing_test.py @@ -243,7 +243,7 @@ class Bug...
tests/calcs/hazard/classical/post_processing_test: Updated a comment (s/poes_hazard_maps/poes/g).
py
diff --git a/lib/bx/align/core.py b/lib/bx/align/core.py index <HASH>..<HASH> 100644 --- a/lib/bx/align/core.py +++ b/lib/bx/align/core.py @@ -80,6 +80,9 @@ class Alignment( object ): def slice( self, start, end ): new = Alignment( score=self.score, attributes=self.attributes ) for component in s...
Working around empty components and slicing.
py
diff --git a/dbt/runner.py b/dbt/runner.py index <HASH>..<HASH> 100644 --- a/dbt/runner.py +++ b/dbt/runner.py @@ -6,7 +6,8 @@ import psycopg2 import os, sys import fnmatch -from dbt.compilation import Linker +from dbt.compilation import Linker, Compiler +from dbt.templates import BaseCreateTemplate class Redshi...
always recompile before the 'run' task
py
diff --git a/tests/unit/test_cf_client.py b/tests/unit/test_cf_client.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_cf_client.py +++ b/tests/unit/test_cf_client.py @@ -502,6 +502,19 @@ class CF_ClientTest(unittest.TestCase): headers={"X-Copy-From": "/%s/o1" % self.cont_name}) client.del...
Added a unit test for content-type method.
py
diff --git a/master/buildbot/util/__init__.py b/master/buildbot/util/__init__.py index <HASH>..<HASH> 100644 --- a/master/buildbot/util/__init__.py +++ b/master/buildbot/util/__init__.py @@ -198,6 +198,7 @@ def unicode2bytes(x, encoding='utf8'): x = x.encode(encoding) return x + _hush_pyflakes = [json]...
Fix whitespace as reported by flake8
py
diff --git a/ryu/services/protocols/vrrp/__init__.py b/ryu/services/protocols/vrrp/__init__.py index <HASH>..<HASH> 100644 --- a/ryu/services/protocols/vrrp/__init__.py +++ b/ryu/services/protocols/vrrp/__init__.py @@ -13,3 +13,6 @@ # implied. # See the License for the specific language governing permissions and # l...
register monitor_linux and monitor_openflow for VRRPInterfaceMonitor class
py
diff --git a/ipcalc.py b/ipcalc.py index <HASH>..<HASH> 100644 --- a/ipcalc.py +++ b/ipcalc.py @@ -580,7 +580,8 @@ class Network(IP): ''' warnings.warn('%s.in_network is deprecated, use check_collision in ' 'stead' % (self.__class__.__name__,), - Deprecation...
Changed warning stacklevel to 2, so you can actually see what calls Network.in_network
py
diff --git a/punk/feature_selection/rf.py b/punk/feature_selection/rf.py index <HASH>..<HASH> 100644 --- a/punk/feature_selection/rf.py +++ b/punk/feature_selection/rf.py @@ -8,7 +8,7 @@ from sklearn.preprocessing import normalize import pandas as pd class RFFeatures(): - def rank_features(self, inputs: pd.DataF...
control randomness in rf feature selection
py
diff --git a/angr/analyses/cfg.py b/angr/analyses/cfg.py index <HASH>..<HASH> 100644 --- a/angr/analyses/cfg.py +++ b/angr/analyses/cfg.py @@ -379,7 +379,7 @@ class CFG(Analysis, CFGBase): # Create a temporary block tmp_block = self._project.block(function_addr) - num_instr = tmp_block.instru...
fix for new_pyvex
py
diff --git a/dscan/common/release_api.py b/dscan/common/release_api.py index <HASH>..<HASH> 100644 --- a/dscan/common/release_api.py +++ b/dscan/common/release_api.py @@ -11,7 +11,7 @@ CHANGELOG = './CHANGELOG' TEST_RUNS_BASE = ['./droopescan'] TEST_RUNS_APPEND = ['-n', '100'] TEST_RUNS = [ - ['scan', 'drupal...
Update release api to fix issue with broken release script.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ def read(fname): return io.open(file_path, encoding='utf-8').read() -version = '0.3.0.dev0' +version = '0.3.0' setuptools.setup(
Preparing release <I>
py
diff --git a/sumo/plotting/phonon_bs_plotter.py b/sumo/plotting/phonon_bs_plotter.py index <HASH>..<HASH> 100644 --- a/sumo/plotting/phonon_bs_plotter.py +++ b/sumo/plotting/phonon_bs_plotter.py @@ -70,17 +70,6 @@ class SPhononBSPlotter(PhononBSPlotter): :obj:`matplotlib.pyplot`: The phonon band structure ...
Remove commented code on phonon plotter
py
diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py index <HASH>..<HASH> 100644 --- a/spyderlib/spyder.py +++ b/spyderlib/spyder.py @@ -40,7 +40,8 @@ from spyderlib.qt.QtGui import (QApplication, QMainWindow, QSplashScreen, QPixmap, QMessageBox, QMenu, QColor, ...
spyderlib/spyder.py: added missing import
py
diff --git a/plexapi/library.py b/plexapi/library.py index <HASH>..<HASH> 100644 --- a/plexapi/library.py +++ b/plexapi/library.py @@ -969,6 +969,10 @@ class MovieSection(LibrarySection): METADATA_TYPE = 'movie' CONTENT_TYPE = 'video' + def searchMovies(self, **kwargs): + """ Search for a movie. S...
Add searchMovies method to MovieSection
py
diff --git a/test_piplicenses.py b/test_piplicenses.py index <HASH>..<HASH> 100644 --- a/test_piplicenses.py +++ b/test_piplicenses.py @@ -248,14 +248,6 @@ class TestGetLicenses(CommandLineTestCase): self.assertIn('Count', output_string) self.assertNotIn('Name', output_string) - def test_summary(...
Remove duplicate test This test_summary() overwrites the one above it with the same name and yet duplicates the functionality in test_summary_sort_by_count()
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -14,7 +14,7 @@ # import os import sys -sys.path.insert(0, os.path.abspath('../..')) +sys.path.insert(0, os.path.abspath('../../src')) # -- Project information ---------------...
Fix path to source code in docs config. This should fix API docs, which went AWOL with yesterday's changes.
py
diff --git a/bitshares/storage.py b/bitshares/storage.py index <HASH>..<HASH> 100644 --- a/bitshares/storage.py +++ b/bitshares/storage.py @@ -340,6 +340,9 @@ class Configuration(DataDir): connection.commit() def __iter__(self): + return iter(self.items()) + + def items(self): query =...
[config] allow to iterate all elements in the database
py
diff --git a/pygsp/tests/test_filters.py b/pygsp/tests/test_filters.py index <HASH>..<HASH> 100644 --- a/pygsp/tests/test_filters.py +++ b/pygsp/tests/test_filters.py @@ -37,7 +37,7 @@ class TestCase(unittest.TestCase): self.assertIs(f.G, self._G) f.evaluate(self._G.e) - f.evaluate(np.random....
the domain of the filters is [0, 1]
py
diff --git a/tests/python/unittest/test_operator.py b/tests/python/unittest/test_operator.py index <HASH>..<HASH> 100644 --- a/tests/python/unittest/test_operator.py +++ b/tests/python/unittest/test_operator.py @@ -838,7 +838,7 @@ def test_convolution_grouping(): exe2.backward(exe2.outputs[0]) for arr1, arr...
Made test pass deterministically in the presence of cuDNN algo find. (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,6 @@ import sys import os import re import glob -import scipy try: from setuptools import setup from setuptools import Extension @@ -59,6 +58,7 @@ class lazy_cythonize(list): def extensions(): """...
during setup, import `scipy` after installation
py
diff --git a/spinoff/actor/_actor.py b/spinoff/actor/_actor.py index <HASH>..<HASH> 100644 --- a/spinoff/actor/_actor.py +++ b/spinoff/actor/_actor.py @@ -477,6 +477,7 @@ class Guardian(_BaseCell, _BaseRef): if ('_error', ANY, IS_INSTANCE(Exception), IS_INSTANCE(types.TracebackType) | IS_INSTANCE(basestring)) ...
Use a very simple supervision strategy in the Guardian for now: simply stop the failing top-level actor; so in case of startnode, the process itself will exit
py
diff --git a/psamm/lpsolver/cplex.py b/psamm/lpsolver/cplex.py index <HASH>..<HASH> 100644 --- a/psamm/lpsolver/cplex.py +++ b/psamm/lpsolver/cplex.py @@ -210,9 +210,10 @@ class Problem(BaseProblem): self._cp.objective.set_linear((var, 0) for var in reset_vars) # Set actual objective values - ...
cplex: Fix failure to set objective to empty expression
py
diff --git a/aiogram/types/inline_keyboard.py b/aiogram/types/inline_keyboard.py index <HASH>..<HASH> 100644 --- a/aiogram/types/inline_keyboard.py +++ b/aiogram/types/inline_keyboard.py @@ -55,16 +55,15 @@ class InlineKeyboardMarkup(base.TelegramObject): self.inline_keyboard.append(row) return se...
Refactor: inline keboard row (#<I>) * Refactor: just removed some bad code... * Fix: tuple to list * FIx: type error * Update aiogram/types/inline_keyboard.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ def get_long_description(): setup( name='pybadges', - version='1.0.2', + version='1.0.3', author='Brian Quinlan', author_email='brian@sweetapp.com', classifiers=[ @@ -72,4 +72,4 @@ s...
Fix the project url and increment the version number for release
py
diff --git a/ncpol2sdpa/sdprelaxation.py b/ncpol2sdpa/sdprelaxation.py index <HASH>..<HASH> 100644 --- a/ncpol2sdpa/sdprelaxation.py +++ b/ncpol2sdpa/sdprelaxation.py @@ -164,17 +164,19 @@ class SdpRelaxation(object): return facvar def __process_monomial(self, monomial, row, column, monomial_block_index...
Faster dictionary lookup with exceptions in Pypy
py
diff --git a/salt/modules/aptpkg.py b/salt/modules/aptpkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/aptpkg.py +++ b/salt/modules/aptpkg.py @@ -159,12 +159,12 @@ def _check_apt(): ) -def _call_apt(args, **kwargs): +def _call_apt(args, scope=True, **kwargs): ''' Call apt* utilities. ''...
Allow to bypass scope within the caller
py
diff --git a/plenum/test/consensus/view_change/test_new_view_builder.py b/plenum/test/consensus/view_change/test_new_view_builder.py index <HASH>..<HASH> 100644 --- a/plenum/test/consensus/view_change/test_new_view_builder.py +++ b/plenum/test/consensus/view_change/test_new_view_builder.py @@ -441,8 +441,8 @@ def test_...
INDY-<I>: Fix code review comments
py
diff --git a/glances/plugins/glances_docker.py b/glances/plugins/glances_docker.py index <HASH>..<HASH> 100644 --- a/glances/plugins/glances_docker.py +++ b/glances/plugins/glances_docker.py @@ -162,7 +162,7 @@ class Plugin(GlancesPlugin): try: self.docker_stats[c['Id']] = ...
Add catch if Docker lib is not in the good version
py
diff --git a/lime/submodular_pick.py b/lime/submodular_pick.py index <HASH>..<HASH> 100644 --- a/lime/submodular_pick.py +++ b/lime/submodular_pick.py @@ -1,3 +1,6 @@ +import numpy as np +import warnings + class SubmodularPick(object): """Class for submodular pick
Update submodular_pick.py add numpy and warnings
py
diff --git a/quart/app.py b/quart/app.py index <HASH>..<HASH> 100644 --- a/quart/app.py +++ b/quart/app.py @@ -1156,7 +1156,7 @@ class Quart(PackageStatic): status = status_or_headers if not isinstance(value, Response): - response = self.response_class(value, content_type='text/html')...
Bugfix stop setting the content-type in make_response It should be using the defaults or set explicitly in the ResponseReturnValue.
py
diff --git a/girder/utility/gridfs_assetstore_adapter.py b/girder/utility/gridfs_assetstore_adapter.py index <HASH>..<HASH> 100644 --- a/girder/utility/gridfs_assetstore_adapter.py +++ b/girder/utility/gridfs_assetstore_adapter.py @@ -56,11 +56,11 @@ class GridFsAssetstoreAdapter(AbstractAssetstoreAdapter): ...
getDbConnection can now throw ServerSelectionTimeoutError Because of this, we must move it within the try/except block in the validator for GridFS assetstores. This fixes the failing web client admin test.
py
diff --git a/fabfile.py b/fabfile.py index <HASH>..<HASH> 100644 --- a/fabfile.py +++ b/fabfile.py @@ -76,14 +76,14 @@ def test(args=None): def release(): test() make_tag() - descriptor = release_descriptor(".") - print(green("Building release %s" % descriptor)) + env.descriptor = release_descriptor...
Fix release descriptor usage in fabfile.
py
diff --git a/abilian/web/forms/widgets.py b/abilian/web/forms/widgets.py index <HASH>..<HASH> 100644 --- a/abilian/web/forms/widgets.py +++ b/abilian/web/forms/widgets.py @@ -605,8 +605,8 @@ class DateTimeInput(object): if field_value: value = datetime.strptime(field_value, '%d/%m/%Y %H:%M') - date...
datetimeinput: don't use None but empty string for empty value
py
diff --git a/raiden_contracts/deploy/etherscan_verify.py b/raiden_contracts/deploy/etherscan_verify.py index <HASH>..<HASH> 100644 --- a/raiden_contracts/deploy/etherscan_verify.py +++ b/raiden_contracts/deploy/etherscan_verify.py @@ -103,6 +103,7 @@ api_of_chain_id = { 4: "https://api-rinkeby.etherscan.io/api", ...
add API endpoint to verify Arbitrum One deployment
py
diff --git a/datatableview/columns.py b/datatableview/columns.py index <HASH>..<HASH> 100644 --- a/datatableview/columns.py +++ b/datatableview/columns.py @@ -338,13 +338,16 @@ if get_version().split('.') >= ['1', '6']: class BooleanColumn(Column): model_field_class = models.BooleanField handles_field_classe...
Fix lookup types for boolean/number fields Relying on the generic Column base class for these is too implicit.
py
diff --git a/learning.py b/learning.py index <HASH>..<HASH> 100644 --- a/learning.py +++ b/learning.py @@ -398,6 +398,7 @@ def AdaBoost(L, K): """[Fig. 18.34]""" def train(dataset): examples, target = dataset.examples, dataset.target + epsilon = 1./(2*N) N = len(examples) w =...
Probably-saner divide-by-0 handling in AdaBoost.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -73,7 +73,7 @@ pytest_runner = ['pytest-runner'] if 'ptr' in sys.argv else [] setup_params = dict( name = 'keyring', - version = "2.0.3", + version = "2.0.4", description = "Store and access your passwords s...
Bumped to <I> in preparation for next release.
py
diff --git a/src/pyforce/xmltramp.py b/src/pyforce/xmltramp.py index <HASH>..<HASH> 100644 --- a/src/pyforce/xmltramp.py +++ b/src/pyforce/xmltramp.py @@ -36,7 +36,8 @@ def quote(x, elt=True): return x -class Element(object): +# This needs to remain old style class until more investigation can be done +class ...
Corrected regression bug in xmltramp when updating to new style classes.
py
diff --git a/tests/test_hash_store.py b/tests/test_hash_store.py index <HASH>..<HASH> 100644 --- a/tests/test_hash_store.py +++ b/tests/test_hash_store.py @@ -7,7 +7,9 @@ from moban.hashstore import HashStore class TestHashStore: def setUp(self): - self.source_template = os.path.join("tests", "fixtures",...
:green_heart: update hash store unit test to be windows friendly
py
diff --git a/python/pyspark/sql/readwriter.py b/python/pyspark/sql/readwriter.py index <HASH>..<HASH> 100644 --- a/python/pyspark/sql/readwriter.py +++ b/python/pyspark/sql/readwriter.py @@ -575,7 +575,7 @@ class DataFrameWriter(OptionUtils): .. note:: Applicable for file-based data sources in combination with...
[SPARK-<I>][PYSPARK] python doctest leaking bucketed table ## What changes were proposed in this pull request? It turns out pyspark doctest is calling saveAsTable without ever dropping them. Since we have separate python tests for bucketed table, and there is no checking of results, there is really no need to run the...
py
diff --git a/pypika/__init__.py b/pypika/__init__.py index <HASH>..<HASH> 100644 --- a/pypika/__init__.py +++ b/pypika/__init__.py @@ -56,4 +56,4 @@ from .dialects import (MSSQLQuery, __author__ = "Timothy Heys" __email__ = "theys@kayak.com" -__version__ = "0.6.6" +__version__ = "0.7.0"
Bumped version to <I>
py
diff --git a/cookiecutter/prompt.py b/cookiecutter/prompt.py index <HASH>..<HASH> 100644 --- a/cookiecutter/prompt.py +++ b/cookiecutter/prompt.py @@ -106,7 +106,8 @@ def read_user_dict(var_name, default_value): def render_variable(env, raw, cookiecutter_dict): """Inside the prompting taken from the cookiecutte...
Fix flake8 issue in prompt.py and address PR comments
py
diff --git a/src/passa/internals/_pip.py b/src/passa/internals/_pip.py index <HASH>..<HASH> 100644 --- a/src/passa/internals/_pip.py +++ b/src/passa/internals/_pip.py @@ -201,7 +201,7 @@ def _obtrain_ref(vcs_obj, src_dir, name, rev=None): def get_vcs_ref(requirement): - backend = VCS_SUPPORT._registry.get(requi...
Don't use private-private API
py
diff --git a/saharaclient/api/v2/jobs.py b/saharaclient/api/v2/jobs.py index <HASH>..<HASH> 100644 --- a/saharaclient/api/v2/jobs.py +++ b/saharaclient/api/v2/jobs.py @@ -60,7 +60,7 @@ class JobsManagerV2(base.ResourceManager): """Refresh Job Status.""" return self._get( '/jobs/%s?refresh...
Correct a missed job_execution->job Followup to f<I>c4a<I>ad6ec<I>a1f<I>d<I>f<I> Change-Id: I<I>b3d<I>da<I>be<I>f<I>ee<I>da<I>cfb9
py
diff --git a/pcef/core/system.py b/pcef/core/system.py index <HASH>..<HASH> 100644 --- a/pcef/core/system.py +++ b/pcef/core/system.py @@ -71,13 +71,13 @@ class TextStyle(object): assert len(tokens) == 4 self.color = QtGui.QColor(tokens[0]) self.bold = False - if bool(tokens[1]) == "bo...
Fix bug with text format from string (text attribute were not recognized)
py
diff --git a/smartcard/ExclusiveTransmitCardConnection.py b/smartcard/ExclusiveTransmitCardConnection.py index <HASH>..<HASH> 100644 --- a/smartcard/ExclusiveTransmitCardConnection.py +++ b/smartcard/ExclusiveTransmitCardConnection.py @@ -49,7 +49,7 @@ class ExclusiveTransmitCardConnection(CardConnectionDecorator): ...
Exclusive lock: update exception message Change the exception message from: "smartcard.Exceptions.CardConnectionException: Failed to lock with SCardBeginTransactionCard was reset." to "smartcard.Exceptions.CardConnectionException: Failed to lock with SCardBeginTransaction: Card was reset."
py