diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/rows/utils.py b/rows/utils.py index <HASH>..<HASH> 100644 --- a/rows/utils.py +++ b/rows/utils.py @@ -648,8 +648,8 @@ def get_psql_copy_command(table_name, header, encoding='utf-8', "ENCODING '{encoding}' " "CSV HEADER;" ).format(table_name=table_name, header=header, direction=direct...
Fix quote escaping in psql command
py
diff --git a/gns3server/version.py b/gns3server/version.py index <HASH>..<HASH> 100644 --- a/gns3server/version.py +++ b/gns3server/version.py @@ -23,7 +23,7 @@ # or negative for a release candidate or beta (after the base version # number has been incremented) -__version__ = "2.1.0" +__version__ = "2.1.0dev11" __...
Development on <I>de<I>
py
diff --git a/acestream/stream.py b/acestream/stream.py index <HASH>..<HASH> 100644 --- a/acestream/stream.py +++ b/acestream/stream.py @@ -66,8 +66,9 @@ class Stream(Extendable, Observable): self._check_required_args(id=id, url=url, infohash=infohash) self._parse_stream_params(id=id, url=url, infohash=infohas...
add hls argument in stream start method
py
diff --git a/src/masonite/drivers/mail/MailSmtpDriver.py b/src/masonite/drivers/mail/MailSmtpDriver.py index <HASH>..<HASH> 100644 --- a/src/masonite/drivers/mail/MailSmtpDriver.py +++ b/src/masonite/drivers/mail/MailSmtpDriver.py @@ -1,6 +1,7 @@ """SMTP Driver Module.""" import smtplib +import ssl from email.mime...
Added TLS support for MailSmtpDriver
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,8 +9,11 @@ setup( author_email='roman.zeyde@gmail.com', url='http://github.com/romanz/trezor-agent', packages=['trezor_agent', 'trezor_agent.device', 'trezor_agent.gpg'], - install_requires=['ecdsa>=0.13',...
setup: temporary pin dependency for keepkey compatibilty
py
diff --git a/nipap-cli/nipap_cli/nipap_cli.py b/nipap-cli/nipap_cli/nipap_cli.py index <HASH>..<HASH> 100755 --- a/nipap-cli/nipap_cli/nipap_cli.py +++ b/nipap-cli/nipap_cli/nipap_cli.py @@ -1243,7 +1243,7 @@ cmds = { 'complete': complete_node, } ...
Rename order to order_id This was missed when we renamed order - we simply forgot to update the CLI! Thanks to dosomder for pointing this out! Fixes #<I>.
py
diff --git a/fits_section.py b/fits_section.py index <HASH>..<HASH> 100755 --- a/fits_section.py +++ b/fits_section.py @@ -82,6 +82,13 @@ def sub_image(filename, box, outfile=None): ymax,xmax = map(lambda x: int(floor(x)), np.max(corners_pix, axis=0)) ymin,xmin = map(lambda x: int(floor(x)), np.min(corners_pi...
checks are now made to see if the region is within the file requested.
py
diff --git a/cihai/datasets/unihan.py b/cihai/datasets/unihan.py index <HASH>..<HASH> 100644 --- a/cihai/datasets/unihan.py +++ b/cihai/datasets/unihan.py @@ -179,6 +179,17 @@ class Unihan(CihaiDatabase): """ + def __init__(self): + super(Unihan, self).__init__() + + self.fields = [f for t, f ...
unihan tables, fields. wip.
py
diff --git a/pyArango/theExceptions.py b/pyArango/theExceptions.py index <HASH>..<HASH> 100644 --- a/pyArango/theExceptions.py +++ b/pyArango/theExceptions.py @@ -127,7 +127,7 @@ class AbstractInstanciationError(Exception): def __str__(self): return self.message -class DocumentNotFoundError(Exception): ...
DocumentNotFoundError inherit from pyarangoException as opposed to Exception
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 @@ -3410,6 +3410,7 @@ def check_layer_normalization(in_shape, axis, eps, dtype=np.float32, ...
add flaky to norm (#<I>)
py
diff --git a/util/pyauto/util/j2util.py b/util/pyauto/util/j2util.py index <HASH>..<HASH> 100644 --- a/util/pyauto/util/j2util.py +++ b/util/pyauto/util/j2util.py @@ -30,12 +30,12 @@ def build_env(dirname): def get_template_renderer(templates_dirname): env = build_env(templates_dirname) - def _render(filenam...
renamed arg of j2util render in util
py
diff --git a/benchexec/tools/ultimate.py b/benchexec/tools/ultimate.py index <HASH>..<HASH> 100644 --- a/benchexec/tools/ultimate.py +++ b/benchexec/tools/ultimate.py @@ -48,6 +48,7 @@ class UltimateTool(benchexec.tools.template.BaseTool): "config", "configuration", "cvc4", + "cvc4nyu"...
added cvc4nyu to toolinfo
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -351,7 +351,6 @@ class Syndic(salt.client.LocalClient, Minion): ''' Take the now clear load and forward it on to the client cmd ''' - #{'tgt_type': 'glob', 'jid': '2011...
heh, I should not have left that in there
py
diff --git a/looper/submission_manager.py b/looper/submission_manager.py index <HASH>..<HASH> 100644 --- a/looper/submission_manager.py +++ b/looper/submission_manager.py @@ -315,6 +315,7 @@ class SubmissionConductor(object): # Determine whether to actually do the submission; regardless, # r...
fix command accounting when clearing out the pool ahead of time
py
diff --git a/blockstack_client/utils.py b/blockstack_client/utils.py index <HASH>..<HASH> 100644 --- a/blockstack_client/utils.py +++ b/blockstack_client/utils.py @@ -35,7 +35,7 @@ def exit_with_error(error_message, help_message=None): if help_message is not None: result['help'] = help_message - prin...
print_result() to a specific file
py
diff --git a/ccmlib/node.py b/ccmlib/node.py index <HASH>..<HASH> 100644 --- a/ccmlib/node.py +++ b/ccmlib/node.py @@ -2099,9 +2099,9 @@ def _grep_log_for_errors(log): def handle_external_tool_process(process, cmd_args): out, err = process.communicate() - if out and isinstance(out, bytes): + if (out is no...
Issue #<I>: also decode empty stdout and stderr to strings
py
diff --git a/mongo_orchestration/server.py b/mongo_orchestration/server.py index <HASH>..<HASH> 100644 --- a/mongo_orchestration/server.py +++ b/mongo_orchestration/server.py @@ -142,14 +142,11 @@ def await_connection(host, port): """Wait for the mongo-orchestration server to accept connections.""" for i in r...
Use socket.create_connection to create the connection, supporting IPv6-bound servers and fixes #<I>. (#<I>)
py
diff --git a/pygsp/filters/filter.py b/pygsp/filters/filter.py index <HASH>..<HASH> 100644 --- a/pygsp/filters/filter.py +++ b/pygsp/filters/filter.py @@ -411,7 +411,7 @@ class Filter(object): See also -------- - analysis: more efficient way to filter signals + filter: more efficient w...
doc: analysis --> filter
py
diff --git a/pymc3/tuning/scaling.py b/pymc3/tuning/scaling.py index <HASH>..<HASH> 100644 --- a/pymc3/tuning/scaling.py +++ b/pymc3/tuning/scaling.py @@ -126,7 +126,7 @@ def adjust_scaling(s): def adjust_precision(tau): mag = sqrt(abs(tau)) - bounded = bound(log(mag), log(1e-10), log(1e10)) + bounded = b...
Narrowed bounds of precision in adjust_precision
py
diff --git a/openquake/calculators/disaggregation.py b/openquake/calculators/disaggregation.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/disaggregation.py +++ b/openquake/calculators/disaggregation.py @@ -218,6 +218,9 @@ producing too small PoEs.''' tl = oq.truncation_level src_filter = ...
Raise an error for disaggregation with atomic groups [skip hazardlib] Former-commit-id: bf<I>f<I>fefecc<I>e<I>dbb<I>
py
diff --git a/h2o-docs/src/booklets/v2_2015/source/DeepLearning_Vignette_code_examples/deeplearning_gridsearch_random.py b/h2o-docs/src/booklets/v2_2015/source/DeepLearning_Vignette_code_examples/deeplearning_gridsearch_random.py index <HASH>..<HASH> 100644 --- a/h2o-docs/src/booklets/v2_2015/source/DeepLearning_Vignett...
minor adjustment to pybooklet example
py
diff --git a/tensorpack/callbacks/prof.py b/tensorpack/callbacks/prof.py index <HASH>..<HASH> 100644 --- a/tensorpack/callbacks/prof.py +++ b/tensorpack/callbacks/prof.py @@ -67,7 +67,7 @@ class GPUUtilizationTracker(Callback): self._evt.set() stats = self._queue.get() for idx, dev in enumera...
rename GPUUtil statistics for better tensorboard grouping
py
diff --git a/doc/source/conf.py b/doc/source/conf.py index <HASH>..<HASH> 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -20,6 +20,9 @@ import shlex # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here...
Set doc to use sphinx theme
py
diff --git a/grimoire_elk/raw/confluence.py b/grimoire_elk/raw/confluence.py index <HASH>..<HASH> 100644 --- a/grimoire_elk/raw/confluence.py +++ b/grimoire_elk/raw/confluence.py @@ -64,16 +64,3 @@ class ConfluenceOcean(ElasticOcean): """Confluence Ocean feeder""" mapping = Mapping - - @classmethod - ...
[raw] Remove `get_p2o_params_from_url` from Confluence raw connector This code removes the method `get_p2o_params_from_url` from the Confluence raw connector. which now uses the one defined in the raw/elastic.py
py
diff --git a/system_tests/speech.py b/system_tests/speech.py index <HASH>..<HASH> 100644 --- a/system_tests/speech.py +++ b/system_tests/speech.py @@ -87,7 +87,7 @@ class TestSpeechClient(unittest.TestCase): self.assertGreater(top_result.confidence, 0.90) def test_sync_recognize_local_file(self): - ...
Fix forgotten reference to AUDIO_FILE.
py
diff --git a/holoviews/plotting/bokeh/plot.py b/holoviews/plotting/bokeh/plot.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/plot.py +++ b/holoviews/plotting/bokeh/plot.py @@ -23,14 +23,6 @@ class BokehPlot(Plot): height = param.Integer(default=300) renderer = BokehRenderer - - def...
BokehPlot.update now has redraw option
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ """Censys Python Setup.""" import os + from setuptools import find_namespace_packages, setup NAME = "censys" @@ -32,7 +33,7 @@ setup( include_package_data=True, package_data={"censys": ["py.typed"]...
build(deps): Add types-requests
py
diff --git a/tcconfig/_error.py b/tcconfig/_error.py index <HASH>..<HASH> 100644 --- a/tcconfig/_error.py +++ b/tcconfig/_error.py @@ -66,11 +66,13 @@ class ContainerNotFoundError(TargetNotFoundError): from ._docker import DockerClient dclient = DockerClient() - container_list = dclient.extra...
Refactor: rename a variable
py
diff --git a/python/thunder/rdds/series.py b/python/thunder/rdds/series.py index <HASH>..<HASH> 100644 --- a/python/thunder/rdds/series.py +++ b/python/thunder/rdds/series.py @@ -43,7 +43,7 @@ class Series(Data): def __init__(self, rdd, index=None, dims=None, dtype=None): super(Series, self).__init__(rd...
using the indx setter in Series.__init__ breaks to many tests where the Series index is abused; revert to setting it directly in this function
py
diff --git a/django_extensions/db/fields/json.py b/django_extensions/db/fields/json.py index <HASH>..<HASH> 100644 --- a/django_extensions/db/fields/json.py +++ b/django_extensions/db/fields/json.py @@ -16,20 +16,11 @@ from decimal import Decimal from django.db import models from django.conf import settings from dja...
Use DjangoJSONEncoder instead of a custom Encoder It's better to use built-in django JSON encoder, it's there since django <I> so doesn't need backwards compatibility code. Fixes #<I>
py
diff --git a/isochrones/__init__.py b/isochrones/__init__.py index <HASH>..<HASH> 100644 --- a/isochrones/__init__.py +++ b/isochrones/__init__.py @@ -7,8 +7,7 @@ except NameError: if not __ISOCHRONES_SETUP__: __all__ = ['dartmouth','basti','padova', - 'Isochrone', 'StarModel', 'BinaryStarModel', ...
removed binary and triple starmodel imports
py
diff --git a/src/feat/test/integration/common.py b/src/feat/test/integration/common.py index <HASH>..<HASH> 100644 --- a/src/feat/test/integration/common.py +++ b/src/feat/test/integration/common.py @@ -52,8 +52,9 @@ class ControlProtocol(protocol.ProcessProtocol, log.Logger): def outReceived(self, data): ...
Make integration tests log output less verbose
py
diff --git a/bids/variables/variables.py b/bids/variables/variables.py index <HASH>..<HASH> 100644 --- a/bids/variables/variables.py +++ b/bids/variables/variables.py @@ -448,25 +448,7 @@ class DenseRunVariable(BIDSVariable): self.index = self._build_entity_index(self.run_info, sampling_rate) x = np...
rely exclusively on self.index length during resampling
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages setup( name="daemonize", - version="2.2.1", + version="2.2.2", py_modules=["daemonize"], author="Ilya Otyutskiy", author_email="ilya.otyutsk...
New version: <I>.
py
diff --git a/splinter/driver/__init__.py b/splinter/driver/__init__.py index <HASH>..<HASH> 100644 --- a/splinter/driver/__init__.py +++ b/splinter/driver/__init__.py @@ -233,6 +233,8 @@ class DriverAPI(InheritedDocs('_DriverAPI', (object,), {})): Types the ``value`` in the field identified by ``name``. ...
Document behavior of `slowly` in `type()` I was surprised to find that passing `slowly=True` changes the function's behavior so that it doesn't perform the action directly, but instead returns an iterator. Hopefully this will help keep others from being surprised.
py
diff --git a/pyswagger/scan.py b/pyswagger/scan.py index <HASH>..<HASH> 100644 --- a/pyswagger/scan.py +++ b/pyswagger/scan.py @@ -4,9 +4,9 @@ from .utils import scope_compose import six -def default_tree_traversal(app): +def default_tree_traversal(root): """ default tree traversal """ - objs = [(None, Non...
scanner change need to pass 'root of tree' when scanning.
py
diff --git a/pytest-shutil/pytest_shutil/workspace.py b/pytest-shutil/pytest_shutil/workspace.py index <HASH>..<HASH> 100644 --- a/pytest-shutil/pytest_shutil/workspace.py +++ b/pytest-shutil/pytest_shutil/workspace.py @@ -6,7 +6,11 @@ import shutil import logging import subprocess -from path import Path +try: + ...
Handle older versions of path.py. Error log subprocess output on workspace.run when it fails
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 @@ -525,9 +525,7 @@ class TestDaemon(object): Create a roster file for salt's syndic ''' roster_path = os.path.join(FI...
Syndic roster not in <I>
py
diff --git a/classylss/version.py b/classylss/version.py index <HASH>..<HASH> 100644 --- a/classylss/version.py +++ b/classylss/version.py @@ -1,2 +1,2 @@ -version = '0.2.4' +version = '0.2.5.dev0' class_version = '2.6.1'
dev version of <I>
py
diff --git a/tests/test.py b/tests/test.py index <HASH>..<HASH> 100644 --- a/tests/test.py +++ b/tests/test.py @@ -9445,7 +9445,8 @@ class TestMySQLBinaryTypeAwareDecryptionWithoutDefaults(TestMySQLTextTypeAwareDe self.assertIsInstance(value, bytearray, column) self.assertNotEqual(data[column]...
Remove cyrillic symbols from test (#<I>) Ukrainization is good, but only on the battlefield and during destruction of the rashists :)
py
diff --git a/spyderlib/plugins/__init__.py b/spyderlib/plugins/__init__.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/__init__.py +++ b/spyderlib/plugins/__init__.py @@ -55,11 +55,15 @@ class SpyderDockWidget(QDockWidget): """Subclass to override needed methods""" DARWIN_STYLE = '''QDockWidget::clos...
Added 2px margin (and fixed wrong use of padding)
py
diff --git a/internetarchive/internetarchive.py b/internetarchive/internetarchive.py index <HASH>..<HASH> 100755 --- a/internetarchive/internetarchive.py +++ b/internetarchive/internetarchive.py @@ -207,18 +207,19 @@ class Item(object): # Convert metadata from :meta_dict: into S3 headers for key,v in ...
Only encode values that are type str to utf-8. Use built-in enumerate() rather that i+=1 ...
py
diff --git a/thumbnails/tests/settings.py b/thumbnails/tests/settings.py index <HASH>..<HASH> 100644 --- a/thumbnails/tests/settings.py +++ b/thumbnails/tests/settings.py @@ -26,7 +26,7 @@ THUMBNAILS = { 'BASEDIR': 'thumbs', 'POST_PROCESSORS': [{ 'processor': 'thumbnails.post_processors.optimize', - ...
Redirect optipng output in tests/settings.py to /dev/null.
py
diff --git a/tools/fontbakery-metadata-vs-api.py b/tools/fontbakery-metadata-vs-api.py index <HASH>..<HASH> 100644 --- a/tools/fontbakery-metadata-vs-api.py +++ b/tools/fontbakery-metadata-vs-api.py @@ -79,13 +79,18 @@ if __name__ == '__main__': print('OK: [{} {}] Saved to {}'.format(family, style,...
issue #<I>: do not check for menu subsets
py
diff --git a/tests/schema_test.py b/tests/schema_test.py index <HASH>..<HASH> 100644 --- a/tests/schema_test.py +++ b/tests/schema_test.py @@ -58,10 +58,7 @@ def test_schema_local(): for key in ['time', 'duration']: assert key in schema['properties'] - os.environ['JAMS_SCHEMA_DIR'] = resource...
fixed schema loader test after test move
py
diff --git a/gns3server/controller/topology.py b/gns3server/controller/topology.py index <HASH>..<HASH> 100644 --- a/gns3server/controller/topology.py +++ b/gns3server/controller/topology.py @@ -125,7 +125,10 @@ def load_topology(path): if "revision" not in topo or topo["revision"] < GNS3_FILE_FORMAT_REVISION: ...
Catch error when we can't backup the topology Fix #<I>
py
diff --git a/tempodb/client.py b/tempodb/client.py index <HASH>..<HASH> 100644 --- a/tempodb/client.py +++ b/tempodb/client.py @@ -168,12 +168,17 @@ class Client(object): if 'error' in json: return json - history = [] - for dp in json: - ts = parser.parse(dp.get('t', '')...
Update single series read to parse a DataSet
py
diff --git a/dashboard_app/helpers.py b/dashboard_app/helpers.py index <HASH>..<HASH> 100644 --- a/dashboard_app/helpers.py +++ b/dashboard_app/helpers.py @@ -98,7 +98,7 @@ class BundleDeserializer(object): s_test_run = TestRun.objects.create( bundle = s_bundle, test = s_t...
Fix test suite failure on lucid where sqlite does not have a native uuid type
py
diff --git a/glue/ligolw/types.py b/glue/ligolw/types.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/types.py +++ b/glue/ligolw/types.py @@ -80,8 +80,9 @@ IDTypes = ["ilwd:char", "ilwd:char_u"] StringTypes = IDTypes + ["char_s", "char_v", "lstring", "string"] IntTypes = ["int_2s", "int_2u", "int_4s", "int_4u", "int...
Add TimeTypes with entries from the DTD.
py
diff --git a/salt/states/win_wua.py b/salt/states/win_wua.py index <HASH>..<HASH> 100644 --- a/salt/states/win_wua.py +++ b/salt/states/win_wua.py @@ -335,14 +335,14 @@ def removed(name, updates=None): return ret -def up_to_date(name, - software=True, - drivers=False, - ...
Rename new state to `uptodate`
py
diff --git a/pytest_raises/pytest_raises.py b/pytest_raises/pytest_raises.py index <HASH>..<HASH> 100644 --- a/pytest_raises/pytest_raises.py +++ b/pytest_raises/pytest_raises.py @@ -15,7 +15,7 @@ class ExpectedMessage(Exception): @pytest.hookimpl(hookwrapper=True) def pytest_runtest_call(item): outcome = yield ...
Update marker call for pytest <I>+
py
diff --git a/detectem/response.py b/detectem/response.py index <HASH>..<HASH> 100644 --- a/detectem/response.py +++ b/detectem/response.py @@ -117,7 +117,10 @@ def get_response(url, plugins): json_data = res.json() if res.status_code in ERROR_STATUS_CODES: - raise SplashError(json_data['description']...
Show more information about Splash errors The 'description' is sometimes too generic. The 'error' key in the 'info' dictionary provides a more detailed description, when present.
py
diff --git a/hca/dss/__init__.py b/hca/dss/__init__.py index <HASH>..<HASH> 100644 --- a/hca/dss/__init__.py +++ b/hca/dss/__init__.py @@ -75,7 +75,7 @@ class DSSClient(SwaggerClient): logger.info("Uploading %i files from %s to %s", len(files_to_upload), src_dir, staging_bucket) file_uuids, uploaded_k...
Remove vestigal filter on file handles It was meant to filter out S3 URLs, but we no longer handle those here.
py
diff --git a/pyang/plugins/jtox.py b/pyang/plugins/jtox.py index <HASH>..<HASH> 100644 --- a/pyang/plugins/jtox.py +++ b/pyang/plugins/jtox.py @@ -17,7 +17,7 @@ """JTOX output plugin This plugin takes a YANG data model and produces a JSON driver file that can -be used by the *json2xml* script for translating a vali...
JTOX: ignore rpcs and notifications.
py
diff --git a/tests/test_basic.py b/tests/test_basic.py index <HASH>..<HASH> 100644 --- a/tests/test_basic.py +++ b/tests/test_basic.py @@ -1,4 +1,8 @@ import unittest +try: + import mock +except ImportError: + from unittest import mock import sympy @@ -105,12 +109,10 @@ class FieldPlotterTestCase(unittest.T...
Correctly use mock_open to mock writing file.
py
diff --git a/typedjsonrpc/registry.py b/typedjsonrpc/registry.py index <HASH>..<HASH> 100644 --- a/typedjsonrpc/registry.py +++ b/typedjsonrpc/registry.py @@ -17,11 +17,17 @@ RETURNS_KEY = "returns" class Registry(object): """The registry for storing and calling jsonrpc methods. + :attribute debug: Debug opt...
Added documentation for debug attribute of registry
py
diff --git a/src/toil/fileStore.py b/src/toil/fileStore.py index <HASH>..<HASH> 100644 --- a/src/toil/fileStore.py +++ b/src/toil/fileStore.py @@ -1843,7 +1843,9 @@ class FileID(str): return super(FileID, cls).__new__(cls, fileStoreID) def __init__(self, fileStoreID, size): - super(str, self).__i...
Don't call str's __init__ with an argument because it may be object's __init__
py
diff --git a/runtests.py b/runtests.py index <HASH>..<HASH> 100755 --- a/runtests.py +++ b/runtests.py @@ -128,7 +128,7 @@ class TracGitHubTests(unittest.TestCase): shutil.rmtree(ENV) @classmethod - def startTracd(cls): + def startTracd(cls, **kwargs): if COVERAGE: tracd = ['...
Show trac server output while running tests.
py
diff --git a/cqlengine/tests/statements/test_select_statement.py b/cqlengine/tests/statements/test_select_statement.py index <HASH>..<HASH> 100644 --- a/cqlengine/tests/statements/test_select_statement.py +++ b/cqlengine/tests/statements/test_select_statement.py @@ -32,11 +32,15 @@ class SelectStatementTests(TestCase):...
adding tests around misc select statement rendering
py
diff --git a/django-openstack/django_openstack/syspanel/views/flavors.py b/django-openstack/django_openstack/syspanel/views/flavors.py index <HASH>..<HASH> 100644 --- a/django-openstack/django_openstack/syspanel/views/flavors.py +++ b/django-openstack/django_openstack/syspanel/views/flavors.py @@ -39,11 +39,12 @@ class...
deleting flavors now works, as well as displays a proper flash message
py
diff --git a/pgtool/pgtool.py b/pgtool/pgtool.py index <HASH>..<HASH> 100755 --- a/pgtool/pgtool.py +++ b/pgtool/pgtool.py @@ -72,7 +72,8 @@ def terminate(db, databases): for term, app, user, addr in c: log.info("%s %s by %s@%s", "Killed" if term else "Cannot kill", - app...
Improve output of 'kill' for local connections
py
diff --git a/livereload/__init__.py b/livereload/__init__.py index <HASH>..<HASH> 100644 --- a/livereload/__init__.py +++ b/livereload/__init__.py @@ -1,5 +1,5 @@ """django-livereload""" -__version__ = '1.1' +__version__ = '1.2' __license__ = 'BSD License' __author__ = 'Fantomas42'
Bumping to version <I>
py
diff --git a/src/inquirer/render/console/base.py b/src/inquirer/render/console/base.py index <HASH>..<HASH> 100644 --- a/src/inquirer/render/console/base.py +++ b/src/inquirer/render/console/base.py @@ -33,4 +33,9 @@ class BaseConsoleRender: if error.reason: return error.reason - return f...
Fix bug: crash when an invalid answer contains braces
py
diff --git a/armstrong/core/arm_layout/templatetags/layout_helpers.py b/armstrong/core/arm_layout/templatetags/layout_helpers.py index <HASH>..<HASH> 100644 --- a/armstrong/core/arm_layout/templatetags/layout_helpers.py +++ b/armstrong/core/arm_layout/templatetags/layout_helpers.py @@ -73,10 +73,7 @@ class RenderIterNo...
change the way iterators are stored so you can use them in for loops
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ base_packages = _read_requirements("requirements/base.txt") test_packages = _read_requirements("requirements/tests.txt") setup( - name='dash', + name='rapidpro-dash', version=__import__('dash').__...
Change package name to rapidpro-dash as dash isn't available
py
diff --git a/ansi2html/converter.py b/ansi2html/converter.py index <HASH>..<HASH> 100755 --- a/ansi2html/converter.py +++ b/ansi2html/converter.py @@ -377,11 +377,11 @@ class Ansi2HTMLConverter(object): # Go back, deleting every token in the last 'line' if part == CursorMoveUp: - ...
Fix handling cursor move up with unique and empty lines
py
diff --git a/pysat/__init__.py b/pysat/__init__.py index <HASH>..<HASH> 100644 --- a/pysat/__init__.py +++ b/pysat/__init__.py @@ -85,10 +85,12 @@ if not os.path.isdir(pysat_dir) or \ data_dir = '/home/travis/build/pysatData' params['data_dirs'] = [data_dir] - print(''.join(("\nHi there! Pysat w...
ENH: Updated first-run text
py
diff --git a/pyrogram/client/methods/users/get_me.py b/pyrogram/client/methods/users/get_me.py index <HASH>..<HASH> 100644 --- a/pyrogram/client/methods/users/get_me.py +++ b/pyrogram/client/methods/users/get_me.py @@ -30,10 +30,10 @@ class GetMe(BaseClient): Raises: :class:`Error <pyrogram.Error>...
Fix get_me not being properly awaited
py
diff --git a/glitter/pages/admin.py b/glitter/pages/admin.py index <HASH>..<HASH> 100644 --- a/glitter/pages/admin.py +++ b/glitter/pages/admin.py @@ -9,6 +9,7 @@ from django.conf.urls import url from django.contrib import admin from django.contrib.admin.options import csrf_protect_m from django.core.urlresolvers im...
Add decorators on duplicate_page view
py
diff --git a/cumulusci/tasks/push/pushfails.py b/cumulusci/tasks/push/pushfails.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/push/pushfails.py +++ b/cumulusci/tasks/push/pushfails.py @@ -12,7 +12,7 @@ from cumulusci.tasks.salesforce import BaseSalesforceApiTask class ReportPushFailures(BaseSalesforceApiTas...
Stripping out any changes not specifically made to test_push_tasks.py and tasks.py
py
diff --git a/django_cron/backends/lock/base.py b/django_cron/backends/lock/base.py index <HASH>..<HASH> 100644 --- a/django_cron/backends/lock/base.py +++ b/django_cron/backends/lock/base.py @@ -26,7 +26,7 @@ class DjangoCronJobLock(object): * self.silent for you. The rest is backend-specific. ...
name locks by modulename.class_name for higher distinction
py
diff --git a/bcbio/variation/gatkjoint.py b/bcbio/variation/gatkjoint.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/gatkjoint.py +++ b/bcbio/variation/gatkjoint.py @@ -69,6 +69,8 @@ def _run_combine_gvcfs(vrn_files, region, ref_file, out_file, data): "-L", bamprep.region_to_gatk(region)] ...
Enable CombineGVCFs to use maximum memory for associated cores to handle merging of large sample groups.
py
diff --git a/alot/helper.py b/alot/helper.py index <HASH>..<HASH> 100644 --- a/alot/helper.py +++ b/alot/helper.py @@ -133,7 +133,7 @@ def string_decode(string, enc='ascii'): def shorten(string, maxlen): """shortens string if longer than maxlen, appending ellipsis""" - if maxlen > 1 and len(string) > maxlen:...
Simplify arithmetic comparison
py
diff --git a/tests/python_package_test/test_dask.py b/tests/python_package_test/test_dask.py index <HASH>..<HASH> 100644 --- a/tests/python_package_test/test_dask.py +++ b/tests/python_package_test/test_dask.py @@ -7,7 +7,6 @@ import random import socket from itertools import groupby from os import getenv -from plat...
[dask] run Dask tests on aarch<I> architecture (#<I>) * run Dask tests on aarch<I> architecture * make random Dask test to fail * Revert "make random Dask test to fail" This reverts commit c<I>c<I>f<I>bb<I>b4f7d<I>ecad3b<I>eb. * empty commit * empty commit * empty commit * empty commit
py
diff --git a/werkzeug/debug/console.py b/werkzeug/debug/console.py index <HASH>..<HASH> 100644 --- a/werkzeug/debug/console.py +++ b/werkzeug/debug/console.py @@ -51,7 +51,7 @@ class HTMLStringO(object): return val def _write(self, x): - if isinstance(x, str): + if isinstance(x, bytes): ...
str -> bytes in HTMLStringO._write
py
diff --git a/textplot/text.py b/textplot/text.py index <HASH>..<HASH> 100644 --- a/textplot/text.py +++ b/textplot/text.py @@ -162,7 +162,8 @@ class Text(object): signals = [] for term in query_text.terms: - signals.append(self.kde(term, **kwargs)) + if term in self.terms: + ...
When running a KDE query, check that a term is present in the base text before trying to generate the estimate.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -156,8 +156,11 @@ else: INSTALL_REQUIRES = requires +# TODO: decide whether to use find_packages() instead. I'm not sure that +# find_packages() is available with distutils, for example. PACKAGES = [ 'pystache', ...
Added pystache-test as a console script entry point in setup.py.
py
diff --git a/pyaxiom/urn.py b/pyaxiom/urn.py index <HASH>..<HASH> 100644 --- a/pyaxiom/urn.py +++ b/pyaxiom/urn.py @@ -65,26 +65,26 @@ class IoosUrn(object): try: assert self.authority is not None except AssertionError: - logger.error('An "authority" is required') + ...
Don't log errors so much in the URN class
py
diff --git a/airflow/contrib/example_dags/example_qubole_operator.py b/airflow/contrib/example_dags/example_qubole_operator.py index <HASH>..<HASH> 100644 --- a/airflow/contrib/example_dags/example_qubole_operator.py +++ b/airflow/contrib/example_dags/example_qubole_operator.py @@ -87,7 +87,7 @@ with DAG( task...
[AIRFLOW-<I>] Fix typo in example_qubole_operator.py (#<I>)
py
diff --git a/tools/pyboard.py b/tools/pyboard.py index <HASH>..<HASH> 100755 --- a/tools/pyboard.py +++ b/tools/pyboard.py @@ -300,6 +300,7 @@ def main(): pyb.enter_raw_repl() except PyboardError as er: print(er) + pyb.close() sys.exit(1) def execbuf...
tools/pyboard: Tighten up Pyboard object closure on errors. Some "device" implementations may be sensitive to this.
py
diff --git a/dj_database_url.py b/dj_database_url.py index <HASH>..<HASH> 100644 --- a/dj_database_url.py +++ b/dj_database_url.py @@ -103,20 +103,3 @@ def parse(url, engine=None): config['ENGINE'] = SCHEMES[url.scheme] return config - - -def main(): - import django.db - from django.conf import se...
Don't need this `main()` stuff for prod
py
diff --git a/lib/molecules.py b/lib/molecules.py index <HASH>..<HASH> 100644 --- a/lib/molecules.py +++ b/lib/molecules.py @@ -231,6 +231,9 @@ class Molecule(ReadOnly): # Generate a graph with a more permissive threshold for bond lengths: # (is convenient in case of transition state geometries) ...
Raise an understandable warning when the symmetry number can not be computed
py
diff --git a/example/ssd/symbol/symbol_factory.py b/example/ssd/symbol/symbol_factory.py index <HASH>..<HASH> 100644 --- a/example/ssd/symbol/symbol_factory.py +++ b/example/ssd/symbol/symbol_factory.py @@ -86,7 +86,7 @@ def get_config(network, data_shape, **kwargs): num_layers = 101 image_shape = '3,...
Fix 'from_layers' of resnet<I> by changing names of extract-layer from base network (#<I>)
py
diff --git a/spyderlib/widgets/calltip.py b/spyderlib/widgets/calltip.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/calltip.py +++ b/spyderlib/widgets/calltip.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- #----------------------------------------------------------------------------- -# Copyright (c) 2010, IPyth...
Calltip Widget: Fix error reported by a user
py
diff --git a/acceptancetests/jujupy/exceptions.py b/acceptancetests/jujupy/exceptions.py index <HASH>..<HASH> 100644 --- a/acceptancetests/jujupy/exceptions.py +++ b/acceptancetests/jujupy/exceptions.py @@ -28,9 +28,6 @@ class StatusTimeout(Exception): class ControllersTimeout(Exception): """Raised when 'juju sho...
Remove BackupTimeout as it's no longer required
py
diff --git a/doc/source/conf.py b/doc/source/conf.py index <HASH>..<HASH> 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -416,7 +416,10 @@ intersphinx_mapping = { 'numpy': ('https://docs.scipy.org/doc/numpy',None), 'scipy': ('https://docs.scipy.org/doc/scipy/reference',None), 'IPython': ('ht...
Added intersphinx link for QuTiP.
py
diff --git a/safe_qgis/report/test/test_map.py b/safe_qgis/report/test/test_map.py index <HASH>..<HASH> 100644 --- a/safe_qgis/report/test/test_map.py +++ b/safe_qgis/report/test/test_map.py @@ -100,6 +100,7 @@ class MapTest(unittest.TestCase): 405359, # Ubuntu 13.04_64 427172, # Ubuntu 13.1...
Updated the tests on report directory so it all pass on linut mint.
py
diff --git a/services/tasks.py b/services/tasks.py index <HASH>..<HASH> 100644 --- a/services/tasks.py +++ b/services/tasks.py @@ -60,7 +60,7 @@ class PollService(Task): """ def get_health(self, url, token=None): - url = "%s/api/health" % (url, ) + url = "%s/api/health/" % (url, ) ...
Avoid <I>'s on health look up
py
diff --git a/hug/use.py b/hug/use.py index <HASH>..<HASH> 100644 --- a/hug/use.py +++ b/hug/use.py @@ -243,7 +243,7 @@ class Socket(Service): def _dgram_send_and_receive(self, _socket, message, buffer_size=4096, *args): """User Datagram Protocol sender and receiver""" - _socket.sendto(message.enc...
Fixed failing build on OSX by replacing socket sendto by send since OSX is more restrictive on the which function can be called once a socket is connected
py
diff --git a/hnv/client.py b/hnv/client.py index <HASH>..<HASH> 100644 --- a/hnv/client.py +++ b/hnv/client.py @@ -448,8 +448,11 @@ class LogicalSubnetworks(_BaseHNVModel): if the subnet is not associated with a vlan. """ + # Note(alexcoman): The endpoint from the Northbound API (NBI) definition + # o...
Update the endpoint for LogicalSubnetworks
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -6,6 +6,7 @@ from __pkginfo__ import ( author, author_email, entry_points, + install_requires, license, long_description, classifiers, @@ -25,6 +26,7 @@ setup( classifiers=classifiers, ...
Wasn't adding dependencies in setup.py Add "install_requires"
py
diff --git a/salt/utils/network.py b/salt/utils/network.py index <HASH>..<HASH> 100644 --- a/salt/utils/network.py +++ b/salt/utils/network.py @@ -518,6 +518,11 @@ def _interfaces_ifconfig(out): iface = miface.group(1) if mmac: data['hwaddr'] = mmac.group(1) + ...
fix for illumos/solaris hwaddr
py
diff --git a/tests/server/blueprints/cases/test_cases_views.py b/tests/server/blueprints/cases/test_cases_views.py index <HASH>..<HASH> 100644 --- a/tests/server/blueprints/cases/test_cases_views.py +++ b/tests/server/blueprints/cases/test_cases_views.py @@ -140,7 +140,8 @@ def test_matchmaker_matches(app, institute_ob...
add comment and make it clear that MME connection paramaters are testing params
py
diff --git a/pyres/worker.py b/pyres/worker.py index <HASH>..<HASH> 100644 --- a/pyres/worker.py +++ b/pyres/worker.py @@ -136,13 +136,18 @@ class Worker(object): logger.info("starting") self.startup() + check_worker_registration_wait = 3 + while True: if self._shutdown:...
checking the registration after 3 iterations
py
diff --git a/blazeutils/strings.py b/blazeutils/strings.py index <HASH>..<HASH> 100644 --- a/blazeutils/strings.py +++ b/blazeutils/strings.py @@ -67,6 +67,14 @@ def case_us2cw(x): s = case_us2mc(x) return s[0].upper()+s[1:] +def case_cw2dash(x): + """ capwords to dash notation """ + return re.sub(r'(...
added case_cw2dash and case_mc2dash
py
diff --git a/py3status/core.py b/py3status/core.py index <HASH>..<HASH> 100644 --- a/py3status/core.py +++ b/py3status/core.py @@ -503,7 +503,7 @@ class Py3statusWrapper: modules_list: ['weather_yahoo paris', 'pewpew', 'net_rate'] user_modules: { 'weather_yahoo': ('/etc/py3status.d/', 'we...
Fix entry_point typo in docstring (#<I>)
py
diff --git a/tests/runners.py b/tests/runners.py index <HASH>..<HASH> 100644 --- a/tests/runners.py +++ b/tests/runners.py @@ -1,6 +1,7 @@ from invoke.vendor.six import StringIO from spec import Spec, skip, ok_, eq_ +from invoke import pty_size from fabric.connection import Connection from fabric.runners import...
Failing test re: pty_size used in remote pty allocation
py
diff --git a/profiling/__main__.py b/profiling/__main__.py index <HASH>..<HASH> 100644 --- a/profiling/__main__.py +++ b/profiling/__main__.py @@ -417,10 +417,11 @@ def live_profile(script, argv, profiler_factory, interval, spawn, signum, try: loop.run() except KeyboardInterrupt: - ...
live-profile kills child process with proper signal
py
diff --git a/pdfminer/ccitt.py b/pdfminer/ccitt.py index <HASH>..<HASH> 100644 --- a/pdfminer/ccitt.py +++ b/pdfminer/ccitt.py @@ -25,6 +25,7 @@ class BitParser(object): @classmethod def add(klass, root, v, bits): p = root + b = None for i in xrange(len(bits)): if 0 < i: ...
Make pyflakes happy by defining variable
py
diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py index <HASH>..<HASH> 100644 --- a/pandas/core/arrays/base.py +++ b/pandas/core/arrays/base.py @@ -27,8 +27,6 @@ from pandas.core.algorithms import _factorize_array, unique from pandas.core.missing import backfill_1d, pad_1d from pandas.core.sorting ...
CLN: changed .format to f string in pandas/core/arrays/base.py (#<I>)
py