diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/taxi/commands/status.py b/taxi/commands/status.py index <HASH>..<HASH> 100644 --- a/taxi/commands/status.py +++ b/taxi/commands/status.py @@ -3,12 +3,11 @@ from __future__ import unicode_literals import click from ..timesheet.parser import ParseError -from .base import cli, get_timesheet_collection_for...
Don't use AliasedCommand for status since it's already matched by prefix
py
diff --git a/pywb/rewrite/regex_rewriters.py b/pywb/rewrite/regex_rewriters.py index <HASH>..<HASH> 100644 --- a/pywb/rewrite/regex_rewriters.py +++ b/pywb/rewrite/regex_rewriters.py @@ -137,10 +137,10 @@ class JSLocationRewriterMixin(object): (r'(?<=document\.)cookie', RegexRewriter.add_prefix(prefix), 0)...
rewrite: top rewrite: avoid rewriting 'top('
py
diff --git a/src/unity/python/turicreate/toolkits/image_classifier/_annotate.py b/src/unity/python/turicreate/toolkits/image_classifier/_annotate.py index <HASH>..<HASH> 100644 --- a/src/unity/python/turicreate/toolkits/image_classifier/_annotate.py +++ b/src/unity/python/turicreate/toolkits/image_classifier/_annotate....
Fix mxnet being imported on turicreate import (#<I>) Once again, we are importing mxnet on turicreate import. Seems the place it's being imported is not even used (at all). Removing it. We have a unit test for this, but it's flaky due to some lambda worker issues, so it's not running at the moment.
py
diff --git a/django_select2/views.py b/django_select2/views.py index <HASH>..<HASH> 100644 --- a/django_select2/views.py +++ b/django_select2/views.py @@ -56,8 +56,6 @@ class Select2View(JSONResponseMixin, View): term = request.GET.get('term', None) if term is None: return sel...
Removed empty term validation. Why are you validating that term is filled? If I want to suggest values immediately after opening select2 input, I specify select2_options {"minimumResultsForSearch": 0, "minimumInputLength": 0,}. Why isn't this valid case? Maybe I'm missing something, but see it very useful to sugges...
py
diff --git a/jira/resources.py b/jira/resources.py index <HASH>..<HASH> 100644 --- a/jira/resources.py +++ b/jira/resources.py @@ -1000,7 +1000,7 @@ def dict2resource(raw, top=None, options=None, session=None): or a ``PropertyHolder`` object (if no ``self`` link is present). """ if top is None: - ...
Make JIRA resources work with pickle Fixes #<I>
py
diff --git a/ga4gh/cli.py b/ga4gh/cli.py index <HASH>..<HASH> 100644 --- a/ga4gh/cli.py +++ b/ga4gh/cli.py @@ -576,7 +576,7 @@ class GetVariantRunner(AbstractGetRunner): super(GetVariantRunner, self).__init__(args) def run(self): - self._run(self._httpClient.runGetVariant) + self._run(self...
Fix client runGetVariant error Issue #<I>
py
diff --git a/contrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py b/contrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py index <HASH>..<HASH> 100644 --- a/contrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py +++ b/contrib/fb303/py/fb303_scripts/fb303_simple_mgmt.py @@ -82,7 +82,7 @@ def service_ctrl( try: ...
THRIFT-<I>: (scribe ctrl counters) fix encoding in name of counter avoiding outage in monitoring Client: fb<I> This closes #<I>
py
diff --git a/foursquare/__init__.py b/foursquare/__init__.py index <HASH>..<HASH> 100644 --- a/foursquare/__init__.py +++ b/foursquare/__init__.py @@ -641,11 +641,9 @@ class Foursquare(object): def get_next(self): """ Get the next multi response and verify""" - if not self.has_remaini...
multi get_next() controll flow changed for readability
py
diff --git a/host/calibrate_plsr_dac.py b/host/calibrate_plsr_dac.py index <HASH>..<HASH> 100644 --- a/host/calibrate_plsr_dac.py +++ b/host/calibrate_plsr_dac.py @@ -79,7 +79,7 @@ class PlsrDacScan(ScanBase): fit_plt, = plt.plot(x, fit_fn(x), '--k') plt.title('PlsrDAC calibration') plt.xla...
ENH: unit in mV not V
py
diff --git a/test_flask_pymemcache.py b/test_flask_pymemcache.py index <HASH>..<HASH> 100644 --- a/test_flask_pymemcache.py +++ b/test_flask_pymemcache.py @@ -15,7 +15,7 @@ class TestFlaskPyMemcache(TestCase): app.config['PYMEMCACHE'] = { 'server': ('localhost', 11211), 'key_prefix': ...
test: close_on_teardown=False Get from second connection may be executed before Set on first connection. This cause test failure.
py
diff --git a/salt/version.py b/salt/version.py index <HASH>..<HASH> 100644 --- a/salt/version.py +++ b/salt/version.py @@ -105,7 +105,7 @@ class SaltStackVersion(object): 'Nitrogen' : (2017, 7), 'Oxygen' : (2018, 3), 'Fluorine' : (2019, 2), - 'Neon' : (MAX_SIZ...
one more neon/<I> update
py
diff --git a/example/rnn/bucket_io.py b/example/rnn/bucket_io.py index <HASH>..<HASH> 100644 --- a/example/rnn/bucket_io.py +++ b/example/rnn/bucket_io.py @@ -24,8 +24,9 @@ def default_read_content(path): def default_build_vocab(path): content = default_read_content(path) content = content.split(' ') - id...
fix a bug in vocabulary size reporting in bucket_io.py
py
diff --git a/categories/management/commands/import_categories.py b/categories/management/commands/import_categories.py index <HASH>..<HASH> 100644 --- a/categories/management/commands/import_categories.py +++ b/categories/management/commands/import_categories.py @@ -29,7 +29,7 @@ class Command(BaseCommand): ""...
Ensure that the slug is always within the <I> characters it needs to be.
py
diff --git a/internetarchive/item.py b/internetarchive/item.py index <HASH>..<HASH> 100644 --- a/internetarchive/item.py +++ b/internetarchive/item.py @@ -32,7 +32,6 @@ from fnmatch import fnmatch from logging import getLogger from time import sleep import math -from xml.dom.minidom import parseString from xml.pars...
Further simplify the code extraction logic by requesting JSON instead of XML, resulting in a dictionary lookup instead of the traversal of a DOM.
py
diff --git a/pyad2usb/devices.py b/pyad2usb/devices.py index <HASH>..<HASH> 100644 --- a/pyad2usb/devices.py +++ b/pyad2usb/devices.py @@ -655,7 +655,7 @@ class SocketDevice(Device): ctx.use_privatekey_file(self.ssl_key) ctx.use_certificate_file(self.ssl_certificate) ...
Removed ignored SSL verify flags.
py
diff --git a/cli/sawtooth_cli/identity.py b/cli/sawtooth_cli/identity.py index <HASH>..<HASH> 100644 --- a/cli/sawtooth_cli/identity.py +++ b/cli/sawtooth_cli/identity.py @@ -332,7 +332,7 @@ def _do_identity_policy_list(args): output = [policy.name] for entry in policy.entries: ...
Update Policy.Type to EntryType in identity cli This change was left out during <I> release changes in identity.proto file. This fixes identity cli app crashing for cmd options addressed in this commit.
py
diff --git a/ngram.py b/ngram.py index <HASH>..<HASH> 100644 --- a/ngram.py +++ b/ngram.py @@ -102,7 +102,7 @@ class ngram: """ if ic is None: ic = self.__ic if only_alnum is None: only_alnum = self.__only_alnum - if padding is None: padding = 'X' * self.__padding + if paddi...
[svn r4] exhuma's patch to use unicode non-breaking space as the padding character
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,8 +11,6 @@ try: except (IOError, ImportError): long_description = 'Always know what to expect from your data. (See https://github.com/great-expectations/great_expectations for full description).' -exec(open('great_...
Remove extraneous version reference in setup.py
py
diff --git a/src/_pytest/junitxml.py b/src/_pytest/junitxml.py index <HASH>..<HASH> 100644 --- a/src/_pytest/junitxml.py +++ b/src/_pytest/junitxml.py @@ -311,7 +311,7 @@ def record_xml_attribute(request): attr_func = add_attr_noop xml = getattr(request.config, "_xml", None) - if xml.family != "xunit1": ...
Ensure xml object is viable before testing family type
py
diff --git a/indra/assemblers/pysb_assembler.py b/indra/assemblers/pysb_assembler.py index <HASH>..<HASH> 100644 --- a/indra/assemblers/pysb_assembler.py +++ b/indra/assemblers/pysb_assembler.py @@ -586,7 +586,10 @@ def set_base_initial_condition(model, monomer, value): sites_dict = {} for site in monomer.sit...
Make cytoplasm default initial compartment if it exists
py
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py index <HASH>..<HASH> 100644 --- a/OpenSSL/test/test_ssl.py +++ b/OpenSSL/test/test_ssl.py @@ -1912,7 +1912,7 @@ class ConnectionTests(TestCase, _LoopbackMixin): client_socket, server_socket = socket_pair() # Fill up the client's send buf...
Fill the send buffer with smaller strings in order to more completely fill it. This makes the test pass on OS X. Previously it failed with the wrong exception type probably because there was enough room left in the send buffer for the handshake to start.
py
diff --git a/hamlpy/test/hamlpy_test.py b/hamlpy/test/hamlpy_test.py index <HASH>..<HASH> 100644 --- a/hamlpy/test/hamlpy_test.py +++ b/hamlpy/test/hamlpy_test.py @@ -103,6 +103,13 @@ class HamlPyTest(unittest.TestCase): hamlParser = hamlpy.Compiler() result = hamlParser.process(haml) eq_(htm...
Added an additional test for interpolation
py
diff --git a/galpy/df_src/streamdf.py b/galpy/df_src/streamdf.py index <HASH>..<HASH> 100644 --- a/galpy/df_src/streamdf.py +++ b/galpy/df_src/streamdf.py @@ -166,6 +166,23 @@ class streamdf: out= numpy.arccos(numpy.sum(self._progenitor_Omega*self._dsigomeanProgDirection)/numpy.sqrt(numpy.sum(self._progenitor_...
add function that returns the ration between the largest and second-to-largest eigenvalue of dOdJ
py
diff --git a/tests/test_parser.py b/tests/test_parser.py index <HASH>..<HASH> 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -379,6 +379,20 @@ def _make_parser_test(LEXER, PARSER): x = g.parse('Hello HelloWorld') self.assertSequenceEqual(x.children, ['HelloWorld']) + ...
Added a test suggested by James McLaughlin
py
diff --git a/jsonrpcserver/http_server.py b/jsonrpcserver/http_server.py index <HASH>..<HASH> 100644 --- a/jsonrpcserver/http_server.py +++ b/jsonrpcserver/http_server.py @@ -6,7 +6,7 @@ https://docs.python.org/3/library/http.server.html import logging try: # Python 2 - import SimpleHTTPServer as HTTPServer +...
Fixed HTTPServer import problem for Python2 While calling methods.serve_forever() (using Python 2), I was receiving the error "TypeError: 'module' object is not callable". This is because jsonrpcserver.http_server is importing HTTPServer from SimpleHTTPServer rather than BaseHTTPServer, which results in HTTPServer bei...
py
diff --git a/salt/utils/event.py b/salt/utils/event.py index <HASH>..<HASH> 100644 --- a/salt/utils/event.py +++ b/salt/utils/event.py @@ -208,8 +208,8 @@ class SaltEvent(object): The linger timeout must be at least as long as this timeout ''' self.push = self.context.socket(zmq.PUSH) - ...
Reposition comment to bring it into context.
py
diff --git a/test/rowcache_invalidator.py b/test/rowcache_invalidator.py index <HASH>..<HASH> 100755 --- a/test/rowcache_invalidator.py +++ b/test/rowcache_invalidator.py @@ -101,9 +101,9 @@ def teardown(): replica_tablet.teardown_mysql()] utils.wait_procs(teardown_procs, raise_on_error=False) ...
changed the kill order to kill vttablet before tearing down zk or other sub_processes.
py
diff --git a/openquake/calculators/base.py b/openquake/calculators/base.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/base.py +++ b/openquake/calculators/base.py @@ -142,6 +142,9 @@ class BaseCalculator(with_metaclass(abc.ABCMeta)): """ Update the current calculation parameters and save e...
Ssetting `hazard_calculation_id` in the job.ini is now possible
py
diff --git a/pyrax/clouddns.py b/pyrax/clouddns.py index <HASH>..<HASH> 100644 --- a/pyrax/clouddns.py +++ b/pyrax/clouddns.py @@ -483,15 +483,15 @@ class CloudDNSManager(BaseManager): """ def _fmt_error(err): # Remove the cumbersome Java-esque message - details = err["details"...
Improved error handling in DNS calls. GitHub #<I>
py
diff --git a/spacy/tests/regression/test_issue5230.py b/spacy/tests/regression/test_issue5230.py index <HASH>..<HASH> 100644 --- a/spacy/tests/regression/test_issue5230.py +++ b/spacy/tests/regression/test_issue5230.py @@ -1,3 +1,4 @@ +# coding: utf8 import warnings import numpy
issue<I>: added unicode declaration at top of the file
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -108,14 +108,18 @@ class FetchPatchelfCommand(Command): filename = os.path.basename(self.patchelf_url) with pushd(self.download_dir, makedirs=True, exist_ok=True): - self.announce('Downloading {}...
Use cached patchelf tarball if it's found and the SHA matches
py
diff --git a/quark/plugin.py b/quark/plugin.py index <HASH>..<HASH> 100644 --- a/quark/plugin.py +++ b/quark/plugin.py @@ -60,11 +60,11 @@ class Plugin(quantum_plugin_base_v2.QuantumPluginBaseV2): def __init__(self): db_api.configure_db() - models.BASEV2.metadata.create_all(db_api._ENGINE) ...
Moved db load for future use
py
diff --git a/anyconfig/backend/xml.py b/anyconfig/backend/xml.py index <HASH>..<HASH> 100644 --- a/anyconfig/backend/xml.py +++ b/anyconfig/backend/xml.py @@ -161,7 +161,7 @@ def _dicts_have_unique_keys(dics): return len(set(key_itr)) == sum(len(d) for d in dics) -def _sum_dicts(dics, to_container=dict): +def ...
refactor: rename of a function, s/_sum_dicts/_merge_dicts/g
py
diff --git a/python/tests/phonenumberutiltest.py b/python/tests/phonenumberutiltest.py index <HASH>..<HASH> 100755 --- a/python/tests/phonenumberutiltest.py +++ b/python/tests/phonenumberutiltest.py @@ -2006,3 +2006,6 @@ class PhoneNumberUtilTest(unittest.TestCase): self.assertEquals(('1', '41234567'), ...
Add extra UT case to restore <I>% coverage
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -191,7 +191,7 @@ html_context = { # html_split_index = False # If true, links to the reST sources are added to the pages. -# html_show_sourcelink = True +html_show_sourcelink = False # If true, "Created usin...
Remove 'view source' links from docs Closes #<I>
py
diff --git a/ppb/sprites.py b/ppb/sprites.py index <HASH>..<HASH> 100644 --- a/ppb/sprites.py +++ b/ppb/sprites.py @@ -137,9 +137,6 @@ class RectangleShapeMixin: """ A Mixin that provides a rectangular area to sprites. - You should include RectangleShapeMixin before your BaseSprite in your - parent cl...
Removes additional detail on where to put RectangleShapeMixin in your parent class definitions.
py
diff --git a/andes/models/exciter/excbase.py b/andes/models/exciter/excbase.py index <HASH>..<HASH> 100644 --- a/andes/models/exciter/excbase.py +++ b/andes/models/exciter/excbase.py @@ -117,3 +117,32 @@ class ExcBase(Model): # Note: # Subclasses need to define `self.vref0` in the appropriate place. ...
Added subclass ExcVsum for exciter model.
py
diff --git a/flask_unchained/bundle.py b/flask_unchained/bundle.py index <HASH>..<HASH> 100644 --- a/flask_unchained/bundle.py +++ b/flask_unchained/bundle.py @@ -14,6 +14,10 @@ class ModuleNameDescriptor: class NameDescriptor: def __get__(self, instance, cls): + if cls.app_bundle: + if '.' no...
set the app_bundle bundle name from its module name
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -268,7 +268,7 @@ issuetracker_project = 'PyCQA/pydocstyle' def generate_error_code_table(): - from violations import ErrorRegistry + from pydocstyle.violations import ErrorRegistry with open(os....
Attempt to fix docs build.
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -38,7 +38,7 @@ master_doc = 'index' # General information about the project. project = u'scriptine' -copyright = u'2009, Oliver Tonnhofer' +copyright = u'2009-2013 Oliver Tonnhofer' # The version info for th...
bumped version in docs
py
diff --git a/py3status/py3.py b/py3status/py3.py index <HASH>..<HASH> 100644 --- a/py3status/py3.py +++ b/py3status/py3.py @@ -1049,7 +1049,6 @@ class Py3: if output_oneline: msg += " ({output})" msg = msg.format(cmd=pretty_cmd, error=retcode, output=output_oneline...
core: some commands expectedly return non 0 output, dont log them
py
diff --git a/tests.py b/tests.py index <HASH>..<HASH> 100644 --- a/tests.py +++ b/tests.py @@ -143,9 +143,12 @@ class KVPersistenceTest(unittest.TestCase): th.start() try: q1.get() - with self.assertRaises(sqlite3.OperationalError) as cm: + with self.assertRaises(sql...
extra assertion: make sure any write is blocked
py
diff --git a/jarn/mkrelease/scm.py b/jarn/mkrelease/scm.py index <HASH>..<HASH> 100644 --- a/jarn/mkrelease/scm.py +++ b/jarn/mkrelease/scm.py @@ -1,5 +1,6 @@ import os import re +import tee from operator import itemgetter from os.path import abspath, join, expanduser, dirname, exists, isdir, isfile @@ -272,8 +27...
Use NotEmpty filter in Subversion.create_tag only.
py
diff --git a/kombine/sampler.py b/kombine/sampler.py index <HASH>..<HASH> 100644 --- a/kombine/sampler.py +++ b/kombine/sampler.py @@ -12,9 +12,10 @@ from scipy.stats import chisquare from .clustered_kde import optimized_kde, TransdimensionalKDE -def print_fn(iter, test_size, acc, pbar): - pbar.set_postfix_str(...
change logic to not fail with progress=False
py
diff --git a/assemblerflow/generator/inspect.py b/assemblerflow/generator/inspect.py index <HASH>..<HASH> 100644 --- a/assemblerflow/generator/inspect.py +++ b/assemblerflow/generator/inspect.py @@ -474,8 +474,8 @@ class NextflowInspector: len([x for x in vals if x["status"] in good_status])) ...
Added different listener to failed processe/sample
py
diff --git a/src/canmatrix/canmatrix.py b/src/canmatrix/canmatrix.py index <HASH>..<HASH> 100644 --- a/src/canmatrix/canmatrix.py +++ b/src/canmatrix/canmatrix.py @@ -1564,11 +1564,11 @@ class CanMatrix(object): if ecu in self.ecus: self.ecus.remove(ecu) for frame in self....
- rely on del_transmitter and del_receiver (#<I>) Thanks!
py
diff --git a/anyconfig/backend/properties_.py b/anyconfig/backend/properties_.py index <HASH>..<HASH> 100644 --- a/anyconfig/backend/properties_.py +++ b/anyconfig/backend/properties_.py @@ -54,17 +54,17 @@ class PropertiesParser(Base.ConfigParser): # return load_impl(config_fp, cls.container()) @classme...
[properties backend] follow internal API changes in base class
py
diff --git a/tagging_autocomplete/views.py b/tagging_autocomplete/views.py index <HASH>..<HASH> 100644 --- a/tagging_autocomplete/views.py +++ b/tagging_autocomplete/views.py @@ -11,10 +11,14 @@ except ImportError: def list_tags(request): max_results = getattr(settings, 'MAX_NUMBER_OF_RESULTS', 100) + search...
Added ability to suggest tags that contain given term.
py
diff --git a/spyderlib/widgets/externalshell/namespacebrowser.py b/spyderlib/widgets/externalshell/namespacebrowser.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/externalshell/namespacebrowser.py +++ b/spyderlib/widgets/externalshell/namespacebrowser.py @@ -39,7 +39,8 @@ class NamespaceBrowser(QWidget): ...
Spyder light mode's variable explorer was broken: fixed!
py
diff --git a/magic.py b/magic.py index <HASH>..<HASH> 100644 --- a/magic.py +++ b/magic.py @@ -31,7 +31,7 @@ class Magic: """ - def __init__(self, mime=False, mime_encoding=False, magic_file=None): + def __init__(self, mime=False, magic_file=None, mime_encoding=False): """ Create a ...
reorder Mime args to preserve compatability
py
diff --git a/pcef/core/modes/code_completion.py b/pcef/core/modes/code_completion.py index <HASH>..<HASH> 100644 --- a/pcef/core/modes/code_completion.py +++ b/pcef/core/modes/code_completion.py @@ -74,7 +74,7 @@ class CodeCompletionMode(Mode, QtCore.QObject): QtCore.QObject.__init__(self) self.__curr...
Adapted delay (still need more tests, especially with jedi)
py
diff --git a/spinoff/util/logging.py b/spinoff/util/logging.py index <HASH>..<HASH> 100644 --- a/spinoff/util/logging.py +++ b/spinoff/util/logging.py @@ -240,9 +240,12 @@ def _do_write(level, *args, **kwargs): (os.getpid(), levelname, loc, logname, statestr, logstring)), file=OUTF...
Allow logging of arbitrarily many callers
py
diff --git a/rllib/examples/custom_logger.py b/rllib/examples/custom_logger.py index <HASH>..<HASH> 100644 --- a/rllib/examples/custom_logger.py +++ b/rllib/examples/custom_logger.py @@ -59,7 +59,7 @@ class MyPrintLogger(Logger): # Custom init function. print("Initializing ...") # Setting up ...
[rllib] Read "logger_config" first before "prefix". (#<I>)
py
diff --git a/sphinx_gallery/gen_rst.py b/sphinx_gallery/gen_rst.py index <HASH>..<HASH> 100644 --- a/sphinx_gallery/gen_rst.py +++ b/sphinx_gallery/gen_rst.py @@ -197,9 +197,9 @@ def split_code_and_text_blocks(source_file): return blocks -def codestr2rst(codestr): +def codestr2rst(codestr, lang='python'): ...
Highlight python traceback Sphinx with Pygments provides syntax highlighting for python traceback messages is the same way as for python code. Use those
py
diff --git a/bcbio/rnaseq/count.py b/bcbio/rnaseq/count.py index <HASH>..<HASH> 100644 --- a/bcbio/rnaseq/count.py +++ b/bcbio/rnaseq/count.py @@ -27,7 +27,7 @@ def combine_count_files(files, out_file=None, ext=".fpkm"): "Some count files in %s do not exist." % files for f in files: assert file_e...
When combining counts, trim off multiple extensions if passed in.
py
diff --git a/discord/client.py b/discord/client.py index <HASH>..<HASH> 100644 --- a/discord/client.py +++ b/discord/client.py @@ -109,6 +109,7 @@ class Client: self.gateway = None self.voice = None self.session_id = None + self.connection = None self.sequence = 0 sel...
Client.get_invite now works without a websocket connection
py
diff --git a/sysconfig.py b/sysconfig.py index <HASH>..<HASH> 100644 --- a/sysconfig.py +++ b/sysconfig.py @@ -36,10 +36,8 @@ if (os.name == 'nt' and # python_build: (Boolean) if true, we're either building Python or # building an extension with an un-installed Python, so we use # different (hard-wired) directories....
bpo-<I>: Rename Modules/Setup.dist to Modules/Setup (GH-<I>) bpo-<I>: Rename Modules/Setup.dist to Modules/Setup Remove the necessity to copy the former manually to the latter when updating the local source tree.
py
diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index <HASH>..<HASH> 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -303,6 +303,7 @@ class TargetAndroid(Target): if not self.buildozer.file_exists(pa_dir): system_p4a_dir = self.buildozer.con...
Added realpath modifier to p4a_dir token
py
diff --git a/src/python/dxpy/scripts/dx_build_app.py b/src/python/dxpy/scripts/dx_build_app.py index <HASH>..<HASH> 100755 --- a/src/python/dxpy/scripts/dx_build_app.py +++ b/src/python/dxpy/scripts/dx_build_app.py @@ -23,6 +23,7 @@ logging.basicConfig(level=logging.WARNING) logging.getLogger('requests.packages.urllib...
PTFM-<I> Skip dx build bash syn check on Windows Summary: Don't run the bash syntax check on bash applets when the current system is a Windows machine, since bash is not likely to be in the path. Test Plan: Built dxpy with the change and manually tested dx build on Windows. Reviewers: brogoff, nicolasbockg Reviewed...
py
diff --git a/useraudit/urls.py b/useraudit/urls.py index <HASH>..<HASH> 100644 --- a/useraudit/urls.py +++ b/useraudit/urls.py @@ -1,4 +1,4 @@ -from django.conf.urls import patterns, include, url +from django.conf.urls import include, url from .views import reactivate_user app_name = "useraudit"
Django <I> support when including useraudit's urls
py
diff --git a/bitshares/wallet.py b/bitshares/wallet.py index <HASH>..<HASH> 100644 --- a/bitshares/wallet.py +++ b/bitshares/wallet.py @@ -209,9 +209,10 @@ class Wallet(): """ account = self.rpc.get_account(name) for authority in account["active"]["key_auths"]: - key = self.getPriv...
Fix getActiveKeyForAccount failing when multiple keys installed
py
diff --git a/sentinelhub/geopedia.py b/sentinelhub/geopedia.py index <HASH>..<HASH> 100644 --- a/sentinelhub/geopedia.py +++ b/sentinelhub/geopedia.py @@ -248,3 +248,12 @@ class GeopediaFeatureIterator(GeopediaService): """ for feature in self: yield feature['properties'].get(field, []) +...
Added method to extend query sent to geopedia, allowing filtering directly on geopedia.
py
diff --git a/config.py b/config.py index <HASH>..<HASH> 100644 --- a/config.py +++ b/config.py @@ -85,7 +85,7 @@ PACKAGES_EXCLUDE = [ 'invenio.modules.archiver', 'invenio.modules.cloudconnector', 'invenio.modules.comments', - 'invenio.modules.communities', # remove with invenio/modules/communities + ...
global: communities module leftovers removal * Cleans communities module leftovers.
py
diff --git a/tcex/tcex_local.py b/tcex/tcex_local.py index <HASH>..<HASH> 100644 --- a/tcex/tcex_local.py +++ b/tcex/tcex_local.py @@ -10,6 +10,7 @@ import subprocess import sys import time import zipfile +import platform # from builtins import bytes from setuptools.command import easy_install @@ -259,7 +260,10 ...
package : fix windows platform temp folder creation
py
diff --git a/pygooglechart.py b/pygooglechart.py index <HASH>..<HASH> 100644 --- a/pygooglechart.py +++ b/pygooglechart.py @@ -32,7 +32,7 @@ import copy # Helper variables and functions # ----------------------------------------------------------------------------- -__version__ = '0.2.1' +__version__ = '0.2.2' __a...
- version bump to <I>
py
diff --git a/examples/ccxt.pro/py/binance-watch-spot-futures-balances-continuously.py b/examples/ccxt.pro/py/binance-watch-spot-futures-balances-continuously.py index <HASH>..<HASH> 100644 --- a/examples/ccxt.pro/py/binance-watch-spot-futures-balances-continuously.py +++ b/examples/ccxt.pro/py/binance-watch-spot-future...
examples/ccxt.pro/py/binance-watch-spot-futures-balances-continuously.py minor edit
py
diff --git a/djournal/admin.py b/djournal/admin.py index <HASH>..<HASH> 100644 --- a/djournal/admin.py +++ b/djournal/admin.py @@ -1,10 +1,21 @@ '''Admin specification for Djournal.''' +from datetime import datetime + from django.contrib import admin from djournal.models import Entry class EntryAdmin(admin.Mo...
Add autofill/exclude of author, created and modified fields in admin.
py
diff --git a/raiden/utils/typing.py b/raiden/utils/typing.py index <HASH>..<HASH> 100644 --- a/raiden/utils/typing.py +++ b/raiden/utils/typing.py @@ -156,7 +156,7 @@ TransactionHash = NewType('TransactionHash', T_TransactionHash) # This should be changed to `Optional[str]` SuccessOrError = Tuple[bool, Optional[str]]...
Block Specification should include the blockhash
py
diff --git a/botskeleton/outputs/output_birdsite.py b/botskeleton/outputs/output_birdsite.py index <HASH>..<HASH> 100644 --- a/botskeleton/outputs/output_birdsite.py +++ b/botskeleton/outputs/output_birdsite.py @@ -45,7 +45,7 @@ class BirdsiteSkeleton(OutputSkeleton): self.owner_handle = f.read().strip...
use the fact that empty sequences are false
py
diff --git a/src/urh/dev/native/LimeSDR.py b/src/urh/dev/native/LimeSDR.py index <HASH>..<HASH> 100644 --- a/src/urh/dev/native/LimeSDR.py +++ b/src/urh/dev/native/LimeSDR.py @@ -15,7 +15,7 @@ class LimeSDR(Device): SEND_FIFO_SIZE = 5 * SEND_SAMPLES LIME_TIMEOUT_RECEIVE_MS = 10 - LIME_TIMEOUT_SEND_MS = 1...
set send timeout to <I> ms
py
diff --git a/motor/core.py b/motor/core.py index <HASH>..<HASH> 100644 --- a/motor/core.py +++ b/motor/core.py @@ -1066,6 +1066,7 @@ class AgnosticCursor(AgnosticBaseCursor): __motor_class_name__ = 'MotorCursor' __delegate_class__ = Cursor address = ReadOnlyProperty() + conn_id = ReadOnlyP...
MOTOR-<I> Restore MotorCursor.conn_id property.
py
diff --git a/vc_vidyo/indico_vc_vidyo/zodbimport.py b/vc_vidyo/indico_vc_vidyo/zodbimport.py index <HASH>..<HASH> 100644 --- a/vc_vidyo/indico_vc_vidyo/zodbimport.py +++ b/vc_vidyo/indico_vc_vidyo/zodbimport.py @@ -97,7 +97,7 @@ class VidyoImporter(Importer): continue value = match...
VC/Vidyo: Don't call legacy method in zodb import
py
diff --git a/can/util.py b/can/util.py index <HASH>..<HASH> 100644 --- a/can/util.py +++ b/can/util.py @@ -153,7 +153,9 @@ def load_config(path=None, config=None, context=None): config_sources = [ given_config, can.rc, - lambda _context: load_environment_config(_context), + lambda _...
Disable unnecessary lambda pylint warning. This line is more readable and consistent with the other lines with the use of lambda
py
diff --git a/src/arcrest/manageags/_clusters.py b/src/arcrest/manageags/_clusters.py index <HASH>..<HASH> 100644 --- a/src/arcrest/manageags/_clusters.py +++ b/src/arcrest/manageags/_clusters.py @@ -369,7 +369,7 @@ class Cluster(BaseAGSServer): url = self._url + "/editProtocol" params = { ...
Fixed editProtocol method of class Clusters In _clusters.py, edited editProtocol() method to use the correct tcpClusterPort element (string from integer instead of dictionary).
py
diff --git a/fablib.py b/fablib.py index <HASH>..<HASH> 100644 --- a/fablib.py +++ b/fablib.py @@ -37,7 +37,8 @@ def cron(name, timespec, user, command, environ=None): envstr = '\n'.join('{}={}'.format(k, v) for k, v in environ.iteritems()) entry = '{}\n{}'.format(envstr, e...
Fix cron helper to set root ownership
py
diff --git a/pyspider/scheduler/scheduler.py b/pyspider/scheduler/scheduler.py index <HASH>..<HASH> 100644 --- a/pyspider/scheduler/scheduler.py +++ b/pyspider/scheduler/scheduler.py @@ -518,7 +518,7 @@ class Scheduler(object): project._selected_tasks = False project._send_fini...
fix potential scheduler block when `on_finished` triggered when newtask_queue is full ref #<I>
py
diff --git a/src/streamlink/plugins/ine.py b/src/streamlink/plugins/ine.py index <HASH>..<HASH> 100644 --- a/src/streamlink/plugins/ine.py +++ b/src/streamlink/plugins/ine.py @@ -15,7 +15,7 @@ class INE(Plugin): (.*?)""", re.VERBOSE) play_url = "https://streaming.ine.com/play/{vid}/watch" js_re =...
plugins.ine: update to extract the relocated jwplayer config Update to fix a small change in the jwplayer embed code, fixes #<I>.
py
diff --git a/intranet/apps/emerg/views.py b/intranet/apps/emerg/views.py index <HASH>..<HASH> 100644 --- a/intranet/apps/emerg/views.py +++ b/intranet/apps/emerg/views.py @@ -15,6 +15,8 @@ logger = logging.getLogger(__name__) def check_emerg(): status = True message = None + if not settings.FCPS_EMERGENCY...
ignore fcps emerg when not set
py
diff --git a/urlfetch/__init__.py b/urlfetch/__init__.py index <HASH>..<HASH> 100644 --- a/urlfetch/__init__.py +++ b/urlfetch/__init__.py @@ -145,7 +145,13 @@ def _encode_multipart(data, files): #body.write(b(content_type)) return content_type, body.getvalue() + +class Headers(object): + ''' Headers ...
class Headers added to simplify of manipulation header parameters
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -14,11 +14,16 @@ def identity(f, *a, **k): def f1(): "f1" +def getfname(func): + fname = os.path.basename(func.func_globals['__file__']) + return os.path.splitext(fname)[0] + '.py' + def test0(): - assert os.path...
Fixed two tests of the decorator module
py
diff --git a/autograd/util.py b/autograd/util.py index <HASH>..<HASH> 100644 --- a/autograd/util.py +++ b/autograd/util.py @@ -148,7 +148,7 @@ def flatten(value): if not value: return np.array([]), lambda x : constructor() flat_pieces, unflatteners = zip(*map(flatten, value)) - spl...
splits indices in flatten don't need the last elt
py
diff --git a/wikitextparser/wikitextparser.py b/wikitextparser/wikitextparser.py index <HASH>..<HASH> 100644 --- a/wikitextparser/wikitextparser.py +++ b/wikitextparser/wikitextparser.py @@ -79,7 +79,7 @@ class WikiText(WikiText): self._common_init(string, spans) def _common_init(self, string, spans): -...
rewrite "type(string) is list" as "isinstance(string, list)"
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,5 +28,5 @@ setup(name='python-amazon-simple-product-api', packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, zip_safe=True, - install_requires=["bottleno...
Added lxml as an requirement
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 @@ -229,7 +229,7 @@ def pulled(name, force=False, *args, **kwargs): <http://docs.docker.io/en/latest/reference/commandline/cli/#import>`_). NOTE that w...
Fixing pylint violations in dockerio
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ test_requirements = [str(ir.req) for ir in setup( name='rip', version='0.0.1', - description='A python framework for writing restful apis.', + description='A python framework for writing restful...
Correcting a minor typo in setup.py
py
diff --git a/pysnmp/entity/rfc3413/cmdrsp.py b/pysnmp/entity/rfc3413/cmdrsp.py index <HASH>..<HASH> 100644 --- a/pysnmp/entity/rfc3413/cmdrsp.py +++ b/pysnmp/entity/rfc3413/cmdrsp.py @@ -251,7 +251,7 @@ class BulkCommandResponder(CommandResponderBase): if nonRepeaters: rspVarBinds = cont...
sequence index must be integer (in Python < <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 @@ -5900,7 +5900,8 @@ class DataFrameLocal(DataFrame): def _filtered_range_to_unfiltered_indices(self, i1, i2)...
🐛 fill masks for non-parallel evaluate
py
diff --git a/couchbase/views/params.py b/couchbase/views/params.py index <HASH>..<HASH> 100644 --- a/couchbase/views/params.py +++ b/couchbase/views/params.py @@ -510,9 +510,9 @@ class Query(object): Returns the (uri_part, post_data_part) for a long query. """ uristr = self._encode(omit_keys=...
PYCBC-<I>, PYCBC-<I>: Don't send invalid JSON in POST when no keys We might still want to consider what to do in this case, but sending 'None' is certainly wrong :) Change-Id: I<I>f<I>f<I>cc1f<I>a<I>e<I>ea<I> Reviewed-on: <URL>
py
diff --git a/gns3server/compute/docker/__init__.py b/gns3server/compute/docker/__init__.py index <HASH>..<HASH> 100644 --- a/gns3server/compute/docker/__init__.py +++ b/gns3server/compute/docker/__init__.py @@ -200,7 +200,10 @@ class Docker(BaseManager): if progress_callback: progress_callback("...
Add explicit error when trying to pull a Docker image from Docker Hub without Internet access. Fixes #<I>.
py
diff --git a/tests/test_llcp_llc.py b/tests/test_llcp_llc.py index <HASH>..<HASH> 100644 --- a/tests/test_llcp_llc.py +++ b/tests/test_llcp_llc.py @@ -264,7 +264,6 @@ class TestLogicalLinkController: threading.Timer(0.01, collect_and_dispatch, (llc,)).start() assert llc.resolve(name) == sap ...
Fix flake8 error "too many blank lines"
py
diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py index <HASH>..<HASH> 100644 --- a/testing/acceptance_test.py +++ b/testing/acceptance_test.py @@ -410,15 +410,20 @@ class TestInvocationVariants: "*1 passed*" ]) + def join_pythonpath(what): + cur = py.std.os....
propogate current PYTHONPATH
py
diff --git a/grimoirelab/toolkit/_version.py b/grimoirelab/toolkit/_version.py index <HASH>..<HASH> 100644 --- a/grimoirelab/toolkit/_version.py +++ b/grimoirelab/toolkit/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.1.6" +__version__ = "0.1.7"
Update version number to <I>
py
diff --git a/keanu-python/keanu/plots/traceplot.py b/keanu-python/keanu/plots/traceplot.py index <HASH>..<HASH> 100644 --- a/keanu-python/keanu/plots/traceplot.py +++ b/keanu-python/keanu/plots/traceplot.py @@ -1,7 +1,7 @@ try: import matplotlib.pyplot as plt from matplotlib.ticker import MaxNLocator -except...
Apply gradlew formatApply.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -36,7 +36,7 @@ class Mock(MagicMock): @classmethod def __getattr__(cls, name): return Mock() -MOCK_MODULES = ['Bio', 'biopython', 'emase', 'g2gtools', 'pysam', 'tables', 'numpy', 'scipy', 'sc...
Updated docs/conf.py
py
diff --git a/pipenv/cli.py b/pipenv/cli.py index <HASH>..<HASH> 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -909,7 +909,7 @@ def uninstall(package_name=False, more_packages=False, three=None, python=False, click.echo(crayons.blue(c.out)) if pipfile_remove: - norm_name = pep426_name(...
Fixes Typo ... Fixes typo and closes #<I> ...
py
diff --git a/angr/analyses/cgc.py b/angr/analyses/cgc.py index <HASH>..<HASH> 100644 --- a/angr/analyses/cgc.py +++ b/angr/analyses/cgc.py @@ -36,11 +36,22 @@ class CGC(Analysis): return False + @staticmethod + def check_for_eip_control(p): + if not p.reachable: + return False + ...
added a function to search for a controlled eip in the cgc analysis
py
diff --git a/src/trackers/base.py b/src/trackers/base.py index <HASH>..<HASH> 100644 --- a/src/trackers/base.py +++ b/src/trackers/base.py @@ -129,7 +129,7 @@ class IssueTracker(): try: text = issue_data['text'] childs = issue_data.get('childs', {}) - except (Ke...
Preventive additional AttributeError to except clause
py
diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/dependencies.py b/datadog_checks_dev/datadog_checks/dev/tooling/dependencies.py index <HASH>..<HASH> 100644 --- a/datadog_checks_dev/datadog_checks/dev/tooling/dependencies.py +++ b/datadog_checks_dev/datadog_checks/dev/tooling/dependencies.py @@ -61,7 +61,7 @@...
Allow double quote on requirement (#<I>) * Allow double quote on requirement
py
diff --git a/eulfedora/views.py b/eulfedora/views.py index <HASH>..<HASH> 100644 --- a/eulfedora/views.py +++ b/eulfedora/views.py @@ -33,7 +33,7 @@ Using these views (in the simpler cases) should be as easy as:: from __future__ import unicode_literals import logging -from django.contrib.auth import views as authvi...
Removes deprecated authviews.login
py
diff --git a/multiqc/modules/seqyclean/seqyclean.py b/multiqc/modules/seqyclean/seqyclean.py index <HASH>..<HASH> 100644 --- a/multiqc/modules/seqyclean/seqyclean.py +++ b/multiqc/modules/seqyclean/seqyclean.py @@ -17,7 +17,8 @@ class MultiqcModule(BaseMultiqcModule): # Initialise the parent object super(MultiqcM...
Update multiqc/modules/seqyclean/seqyclean.py
py