diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/tests/integration/modules/test_virt.py b/tests/integration/modules/test_virt.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/test_virt.py +++ b/tests/integration/modules/test_virt.py @@ -91,3 +91,13 @@ class VirtTest(ModuleCase): self.assertEqual(disk["format"], "raw") self...
Add virt.all_capabilities integration test
py
diff --git a/lib/tri_form/__init__.py b/lib/tri_form/__init__.py index <HASH>..<HASH> 100644 --- a/lib/tri_form/__init__.py +++ b/lib/tri_form/__init__.py @@ -30,7 +30,6 @@ from itertools import ( from tri_declarative import ( assert_kwargs_empty, class_shortcut, - creation_ordered, declarative, ...
Removed deprecated use of @creation_ordered
py
diff --git a/cleverbot/cleverbot.py b/cleverbot/cleverbot.py index <HASH>..<HASH> 100644 --- a/cleverbot/cleverbot.py +++ b/cleverbot/cleverbot.py @@ -110,7 +110,7 @@ class Cleverbot(object): # Add Cleverbot's reply to the conversation log self.conversation.append(parsed['answer']) - return p...
Fixed the unicode issue. Earlier it used to respond like: ت٠ربات چت ٠when it encountered a unicode character, now it wont.
py
diff --git a/redis_shard/commands.py b/redis_shard/commands.py index <HASH>..<HASH> 100644 --- a/redis_shard/commands.py +++ b/redis_shard/commands.py @@ -1,7 +1,6 @@ #!/usr/bin/env python SHARD_METHODS = frozenset(['restore', 'debug object', - 'renamenx', ...
Remove RENAME & RENAMENX from supported commands Remove RENAME & RENAMENX from supported commands, because they don't work properly (after rename dst key remains on the same node as src)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,8 @@ DRIVERS = [ # (module_name, module_dir, module_src_dir) ("tentacle_pi.AM2315","tentacle_pi/am2315","src"), ("tentacle_pi.BMP180", "tentacle_pi/bmp180", "src"), - ("tentacle_pi.TSL2561", "tentacle_pi/tsl2561"...
add support for i2c sensor mcp<I>
py
diff --git a/cache_manager.py b/cache_manager.py index <HASH>..<HASH> 100644 --- a/cache_manager.py +++ b/cache_manager.py @@ -17,6 +17,9 @@ """A manager of caches.""" +from bzrlib import lru_cache + + class CacheManager(object): def __init__(self, info, verbose=False, inventory_cache_size=10):
fix lru_cache import
py
diff --git a/tests/integration/modules/pkg.py b/tests/integration/modules/pkg.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/pkg.py +++ b/tests/integration/modules/pkg.py @@ -289,6 +289,11 @@ class PkgModuleTest(integration.ModuleCase, else: ret = self.run_function(func) ...
Skip pkg.upgrade test if pkg install/upgrade has problems Refs #<I>
py
diff --git a/ads/search.py b/ads/search.py index <HASH>..<HASH> 100644 --- a/ads/search.py +++ b/ads/search.py @@ -248,6 +248,9 @@ class SolrResponse(APIResponse): try: self.responseHeader = self.json['responseHeader'] self.params = self.json['responseHeader']['params'] + s...
SolrResponse: articles should be populated by all of their `fl` fields; references #<I>
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -68,7 +68,7 @@ author = u'Gregory M. Green' # built documents. # # The short X.Y version. -version = u'v1.0.1' +version = u'v1.0' # The full version, including alpha/beta/rc tags. release = u'v1.0.1'
Fix short version number in conf.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -261,8 +261,8 @@ def get_version_info(): # If this is a release or another kind of source distribution of PyCBC except: - version = '1.6.0dev' - release = 'False' + version = '1.5.6...
set for <I> release (#<I>)
py
diff --git a/fermipy/gtanalysis.py b/fermipy/gtanalysis.py index <HASH>..<HASH> 100644 --- a/fermipy/gtanalysis.py +++ b/fermipy/gtanalysis.py @@ -319,19 +319,19 @@ class GTAnalysis(fermipy.config.Configurable, sed.SEDGenerator, fileio=self.config['fileio'], ...
Fix bug in handling of ROIModel configuration.
py
diff --git a/satpy/readers/nucaps.py b/satpy/readers/nucaps.py index <HASH>..<HASH> 100644 --- a/satpy/readers/nucaps.py +++ b/satpy/readers/nucaps.py @@ -124,8 +124,7 @@ class NUCAPSFileHandler(NetCDF4FileHandler): res = self['/attr/platform_name'] if isinstance(res, np.ndarray): ...
Fix unnecessary else branch in nucaps reader
py
diff --git a/corpus/extract_possible_participle_phrases.py b/corpus/extract_possible_participle_phrases.py index <HASH>..<HASH> 100644 --- a/corpus/extract_possible_participle_phrases.py +++ b/corpus/extract_possible_participle_phrases.py @@ -192,8 +192,10 @@ def print_help(): if __name__ == '__main__': if len(sy...
fixed bug where directory picked wrong file [or non extant] file to read as input
py
diff --git a/proso_common/views.py b/proso_common/views.py index <HASH>..<HASH> 100644 --- a/proso_common/views.py +++ b/proso_common/views.py @@ -125,13 +125,13 @@ def csv(request, table_name=None): def _csv_list(request): response = map( - lambda table_name: {'table': table_name, 'url': reverse('csv_ta...
fix view for csv tables
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,16 +22,17 @@ version = __import__('geopy').get_version() setup(name='geopy', version=version, description='Python Geocoding Toolbox', - author='Mike Tigas', # update this as needed - author_email='mike.tig...
license updates (with permission from Brian)
py
diff --git a/tests/stl_corruption.py b/tests/stl_corruption.py index <HASH>..<HASH> 100644 --- a/tests/stl_corruption.py +++ b/tests/stl_corruption.py @@ -141,4 +141,4 @@ def test_duplicate_polygons(): [3, 0, 0], [0, 3, 1.]]) - assert no...
Edit stl_corruption.py rolled back from is_closed to check
py
diff --git a/mythril/analysis/modules/dos.py b/mythril/analysis/modules/dos.py index <HASH>..<HASH> 100644 --- a/mythril/analysis/modules/dos.py +++ b/mythril/analysis/modules/dos.py @@ -18,7 +18,7 @@ class VisitsAnnotation(StateAnnotation): """State annotation that stores the addresses of state-modifying operatio...
Attempt to fix mypy error
py
diff --git a/salt/modules/cmdmod.py b/salt/modules/cmdmod.py index <HASH>..<HASH> 100644 --- a/salt/modules/cmdmod.py +++ b/salt/modules/cmdmod.py @@ -313,7 +313,6 @@ def _run(cmd, if rstrip: if out is not None: out = out.rstrip() - # None lacks a rstrip() method if err is not...
rm comment that states the obvious
py
diff --git a/__init__.py b/__init__.py index <HASH>..<HASH> 100644 --- a/__init__.py +++ b/__init__.py @@ -22,5 +22,5 @@ __revision__ = "$Id$" # #--start constants-- -__version__ = "2.6.4rc1" +__version__ = "2.6.4rc2" #--end constants--
Bump to <I>rc2
py
diff --git a/autograd/numpy/numpy_extra.py b/autograd/numpy/numpy_extra.py index <HASH>..<HASH> 100644 --- a/autograd/numpy/numpy_extra.py +++ b/autograd/numpy/numpy_extra.py @@ -118,13 +118,19 @@ else: raise TypeError("Can't cast type {0} to array".format(type(val))) arraycast.defgrad(lambda ans, val: la...
use += instead of add.at only if fancy indexing is not used
py
diff --git a/openfisca_core/baremes.py b/openfisca_core/baremes.py index <HASH>..<HASH> 100644 --- a/openfisca_core/baremes.py +++ b/openfisca_core/baremes.py @@ -26,6 +26,7 @@ from __future__ import division from bisect import bisect_right +import itertools import numpy as np from numpy import maximum as max_,...
Cleanup Bareme __iter__ method.
py
diff --git a/gbdxtools/images/ipe_image.py b/gbdxtools/images/ipe_image.py index <HASH>..<HASH> 100644 --- a/gbdxtools/images/ipe_image.py +++ b/gbdxtools/images/ipe_image.py @@ -41,7 +41,4 @@ class IpeImage(DaskImage, Container): return super(IpeImage, self).__getitem__(geometry) def __contains__(s...
shape called on geometry works just fine, no need to do the BaseGeometry check
py
diff --git a/py/selenium/webdriver/remote/remote_connection.py b/py/selenium/webdriver/remote/remote_connection.py index <HASH>..<HASH> 100644 --- a/py/selenium/webdriver/remote/remote_connection.py +++ b/py/selenium/webdriver/remote/remote_connection.py @@ -564,5 +564,5 @@ class RemoteConnection(object): ...
[py] Revert change to debug logging upon request return
py
diff --git a/PySimpleGUI.py b/PySimpleGUI.py index <HASH>..<HASH> 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -6136,7 +6136,10 @@ def ConvertFlexToTK(MyFlexForm): InitializeResults(MyFlexForm) try: if MyFlexForm.NoTitleBar: - MyFlexForm.TKroot.wm_overrideredirect(True) + ...
Changed how no_titlebar is implemented on linux
py
diff --git a/aegean.py b/aegean.py index <HASH>..<HASH> 100644 --- a/aegean.py +++ b/aegean.py @@ -1617,7 +1617,8 @@ def find_sources_in_image(filename, hdu_index=0, outfile=None,rms=None, max_summ make_bkg_rms_from_global(mesh_size=20,forced_rms=rms,cores=cores) #if a forced rms was supplied use that i...
re-fixed a bug that occured when no forced rms was used
py
diff --git a/mythril/analysis/modules/ether_thief.py b/mythril/analysis/modules/ether_thief.py index <HASH>..<HASH> 100644 --- a/mythril/analysis/modules/ether_thief.py +++ b/mythril/analysis/modules/ether_thief.py @@ -67,7 +67,6 @@ class EtherThief(DetectionModule): :return: """ instruction ...
remove dependence on cfg & nodes from ether thief
py
diff --git a/wp_vae.py b/wp_vae.py index <HASH>..<HASH> 100755 --- a/wp_vae.py +++ b/wp_vae.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python """ Extract Wikipedia Vital Articles Extended
any python will do.
py
diff --git a/src/python/pants/cache/artifact_cache.py b/src/python/pants/cache/artifact_cache.py index <HASH>..<HASH> 100644 --- a/src/python/pants/cache/artifact_cache.py +++ b/src/python/pants/cache/artifact_cache.py @@ -21,7 +21,7 @@ class ArtifactCacheError(Exception): class NonfatalArtifactCacheError(Exception): ...
Subclasses of Exception have strange deserialization We pass these back from subprocs so they need to ser/de correctly, but Exception has special deserialization. UnreadableArtifact is basically just a sentinel value so subclassing Exception just adds complexity. Testing Done: <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ rootdir = os.path.abspath(os.path.dirname(__file__)) long_description = open(os.path.join(rootdir, 'README')).read() setup(name='Spartacus', - version='3.20', + version='3.23', description='...
<I>: Removing default values from reporting
py
diff --git a/neurokit/bio/bio_ecg.py b/neurokit/bio/bio_ecg.py index <HASH>..<HASH> 100644 --- a/neurokit/bio/bio_ecg.py +++ b/neurokit/bio/bio_ecg.py @@ -576,8 +576,7 @@ def ecg_hrv(rpeaks=None, rri=None, sampling_rate=1000, hrv_features=["time", "fr print("NeuroKit Warning: ecg_hrv(): Sequence too short ...
Removing double rescaling in ecg_hrv() Double rescaling of RRi already done at L<I>, causing "ECG_RR_Interval" units to be in microseconds units instead of milliseconds, and possibly resulting in scale errors in "frequency" and "non-linear" features.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import find_packages, setup setup( name='graphene-pynamodb', - version='2.3.0', + version='2.3.1', description='Graphene PynamoDB integration', long_description=open('READ...
bumping version for dependency change on Pynamo < 5
py
diff --git a/uncompyle6/main.py b/uncompyle6/main.py index <HASH>..<HASH> 100644 --- a/uncompyle6/main.py +++ b/uncompyle6/main.py @@ -126,8 +126,9 @@ def main(in_base, out_base, files, codes, outfile=None, prefix = prefix[:-len('.py')] junk, outfile = tempfile.mkstemp(suffix=".py"...
On --verify if we can't unbuffer output, don't
py
diff --git a/yamcs-client/yamcs/archive/client.py b/yamcs-client/yamcs/archive/client.py index <HASH>..<HASH> 100644 --- a/yamcs-client/yamcs/archive/client.py +++ b/yamcs-client/yamcs/archive/client.py @@ -656,8 +656,11 @@ class ArchiveClient: chunk = file_object.read(chunk_size) path = f"/...
Allow controlling chunk size of load on caller
py
diff --git a/foolbox/models/pytorch.py b/foolbox/models/pytorch.py index <HASH>..<HASH> 100644 --- a/foolbox/models/pytorch.py +++ b/foolbox/models/pytorch.py @@ -65,11 +65,13 @@ class PyTorchModel(DifferentiableModel): self._model = model.to(self.device) if model.training: - warnings.war...
always warn if pytorch model is in train mode, not just once
py
diff --git a/schema/test_queries.py b/schema/test_queries.py index <HASH>..<HASH> 100644 --- a/schema/test_queries.py +++ b/schema/test_queries.py @@ -374,7 +374,7 @@ def test_get_next_job_by_location(rethink): result_job = queries.get_next_job("TestPlugin", new_target["Location"], conn=connect()) assert is_t...
fixed a test case to compare jobs
py
diff --git a/pyaml/__init__.py b/pyaml/__init__.py index <HASH>..<HASH> 100644 --- a/pyaml/__init__.py +++ b/pyaml/__init__.py @@ -81,7 +81,7 @@ def dump(data, dst=unicode, safe=False, force_embed=False, vspacing=None): self.state = self.states.pop() else: self.write_indent() - self.write_indicator(' ...
Fix bug where arrays with dict displayed wrong When you have an OrderedDict with an array in it that contains dictionaries. pyaml would display this as eg. items: - key1: val1 key2: val2 This is clearly wrong and doesn't parse when loaded again with yaml.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -40,6 +40,7 @@ setup( description=("A dynamic nested sampling package for computing Bayesian " "posteriors and evidences."), long_description=long_description, + long_description_content_type="te...
setup.py: allow description markdown to be rendered on PyPI
py
diff --git a/multitasking/__init__.py b/multitasking/__init__.py index <HASH>..<HASH> 100644 --- a/multitasking/__init__.py +++ b/multitasking/__init__.py @@ -135,6 +135,9 @@ def wait_for_tasks(): for t in config["TASKS"] if t is not None and t.is_alive()]) except Exception: pa...
setting config["KILL_RECEIVED"]=False after .wait_for_tasks() (issues #5 and #9)
py
diff --git a/f5/bigip/__init__.py b/f5/bigip/__init__.py index <HASH>..<HASH> 100644 --- a/f5/bigip/__init__.py +++ b/f5/bigip/__init__.py @@ -116,12 +116,16 @@ class BaseManagement(PathElement): def _get_tmos_version(self): connect = self._meta_data['bigip']._meta_data['icr_session'] base_uri = ...
Handle exceptions raised by signal when used in flask (#<I>) Issues: Fixes #<issueid> Problem: Using the SDK in flask will raise an exception Analysis: This handles (and discards) the exception; disabling hard timeouts. Tests:
py
diff --git a/http.py b/http.py index <HASH>..<HASH> 100644 --- a/http.py +++ b/http.py @@ -116,7 +116,7 @@ class HttpUA(object): self.request = None self.sock = None self.CIPHERS = \ - 'ADH-AES256-SHA:ECDHE-ECDSA-AES128-GCM-SHA256: ' \ + 'ADH-AES256-SHA:ECDHE-ECDSA-AES12...
Changing CIPHER to have no spaces
py
diff --git a/main.py b/main.py index <HASH>..<HASH> 100755 --- a/main.py +++ b/main.py @@ -499,10 +499,6 @@ class PowerLogParser: entity = self._parse_entity(entity) node = TagChangeNode(ts, entity, tag, value) - if self.current_node.indent_level > indent_level: - # mismatched indent levels - closing the...
Remove an indent-mismatch hack causing incorrect replays
py
diff --git a/pymatgen/matproj/rest.py b/pymatgen/matproj/rest.py index <HASH>..<HASH> 100644 --- a/pymatgen/matproj/rest.py +++ b/pymatgen/matproj/rest.py @@ -100,6 +100,14 @@ class MPRester(object): self.api_key = SETTINGS.get("PMG_MAPI_KEY", "") self.preamble = endpoint import requests ...
Warn user about need to install matproj.snl extras
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,6 +12,7 @@ setup( packages=find_packages(exclude=["tests"]), install_requires=[ "Werkzeug >= 0.8", + "lxml >= 3.1", "six", ], )
add lxml as a new dependency.
py
diff --git a/proselint/checks/garner/preferred_forms.py b/proselint/checks/garner/preferred_forms.py index <HASH>..<HASH> 100644 --- a/proselint/checks/garner/preferred_forms.py +++ b/proselint/checks/garner/preferred_forms.py @@ -121,6 +121,7 @@ def check(text): ["lend me your", ["loan me your"]], ...
Add daily GMAU entry on midwifing
py
diff --git a/shutit_global.py b/shutit_global.py index <HASH>..<HASH> 100644 --- a/shutit_global.py +++ b/shutit_global.py @@ -462,8 +462,8 @@ class ShutIt(object): script = '\n'.join(lines) script = textwrap.dedent(script) # Send the script and run it in the manner specified - if in_shell: - script = ('set...
re-instate split, and delivery
py
diff --git a/seaworthy/dockerhelper.py b/seaworthy/dockerhelper.py index <HASH>..<HASH> 100644 --- a/seaworthy/dockerhelper.py +++ b/seaworthy/dockerhelper.py @@ -135,14 +135,14 @@ class ContainerHelper(HelperBase): } # Convert network & volume models to IDs - network = self._get_container_ne...
ContainerHelper: Rename methods to get network and volumes
py
diff --git a/pybar/fei4/register_utils.py b/pybar/fei4/register_utils.py index <HASH>..<HASH> 100644 --- a/pybar/fei4/register_utils.py +++ b/pybar/fei4/register_utils.py @@ -730,10 +730,10 @@ def test_global_register(self): commands = [] self.register.set_global_register_value('Conf_AddrEnable', 1) co...
ENH: do not read readonly pixels
py
diff --git a/src/collectors/entropy/entropy.py b/src/collectors/entropy/entropy.py index <HASH>..<HASH> 100644 --- a/src/collectors/entropy/entropy.py +++ b/src/collectors/entropy/entropy.py @@ -23,7 +23,7 @@ class EntropyStatCollector(diamond.collector.Collector): """ config = super(EntropyStatCollec...
Re #<I>, PEP8 fixes, also not re-use the file var name in collect. Also, all new collectors are disabled by default.
py
diff --git a/ipyleaflet/leaflet.py b/ipyleaflet/leaflet.py index <HASH>..<HASH> 100644 --- a/ipyleaflet/leaflet.py +++ b/ipyleaflet/leaflet.py @@ -637,17 +637,17 @@ class Map(DOMWidget, InteractMixin): def _default_layers(self): return (basemap_to_tiles(self.basemap, self.modisdate, base=True),) - @p...
Make bounds and bounds_polygon read-only traits instead of read-only properties to enable observing
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 @@ -20,7 +20,17 @@ import os # 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 he...
Added ReadTheDocs hook for sphinx-apidoc in conf.py.
py
diff --git a/flake8_quotes.py b/flake8_quotes.py index <HASH>..<HASH> 100644 --- a/flake8_quotes.py +++ b/flake8_quotes.py @@ -40,7 +40,6 @@ class QuoteChecker(object): def get_file_contents(self): if self.filename in ('stdin', '-', None): - self.filename = 'stdin' return pep8.st...
no need to override self.filename
py
diff --git a/dispatch/themes/ubyssey/views.py b/dispatch/themes/ubyssey/views.py index <HASH>..<HASH> 100644 --- a/dispatch/themes/ubyssey/views.py +++ b/dispatch/themes/ubyssey/views.py @@ -44,12 +44,15 @@ class UbysseyTheme(DefaultTheme): sections = Article.objects.get_sections(exclude=('blog',),frontpage=...
Throw more descriptive error when not enough articles to populate the frontpage (eg when first setup)
py
diff --git a/src/com/dtmilano/android/viewclient.py b/src/com/dtmilano/android/viewclient.py index <HASH>..<HASH> 100644 --- a/src/com/dtmilano/android/viewclient.py +++ b/src/com/dtmilano/android/viewclient.py @@ -2119,7 +2119,7 @@ class UiScrollable(UiCollection): self.bounds = view.getBounds() (sel...
Sometime scrollTextIntoView() fails because flingForward() passes the text provided. Increasing duration reduces this situation.
py
diff --git a/src/toil/provisioners/clusterScaler.py b/src/toil/provisioners/clusterScaler.py index <HASH>..<HASH> 100644 --- a/src/toil/provisioners/clusterScaler.py +++ b/src/toil/provisioners/clusterScaler.py @@ -540,9 +540,9 @@ class ScalerThread(ExceptionalThread): if self.stats: ...
Fix typo of log object in cluster-scaler
py
diff --git a/soco/core.py b/soco/core.py index <HASH>..<HASH> 100755 --- a/soco/core.py +++ b/soco/core.py @@ -9,6 +9,7 @@ import logging import re import socket from functools import wraps +import urllib.parse from xml.sax.saxutils import escape from xml.parsers.expat import ExpatError import warnings @@ -1571,8...
Avoid using radio URIs as titles (#<I>)
py
diff --git a/tests/test_js_instanceproperties.py b/tests/test_js_instanceproperties.py index <HASH>..<HASH> 100644 --- a/tests/test_js_instanceproperties.py +++ b/tests/test_js_instanceproperties.py @@ -42,6 +42,11 @@ def test_on_event(): x.fooclick = "bar"; """).failed() + assert not _do_test_raw(""" + ...
Fixed false-positive issue with on* test.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from distutils.core import setup setup(name="pysnmp", - version="4.0.0-alpha", + version="4.0.0a", description="SNMP framework for Python", author="Ilya Etingof", author_email="i...
refined version convention: alpha->a
py
diff --git a/fusesoc/main.py b/fusesoc/main.py index <HASH>..<HASH> 100644 --- a/fusesoc/main.py +++ b/fusesoc/main.py @@ -363,21 +363,17 @@ def init_coremanager(config, args_cores_root): env_cores_root = os.getenv("FUSESOC_CORES").split(":") env_cores_root.reverse() + core_libraries = [l['location']...
Give cores root specified by CLI highest priority
py
diff --git a/core/settings/__init__.py b/core/settings/__init__.py index <HASH>..<HASH> 100644 --- a/core/settings/__init__.py +++ b/core/settings/__init__.py @@ -145,7 +145,7 @@ MIDDLEWARE_CLASSES = ( 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddle...
Put django stronghold back into the project.
py
diff --git a/luma/oled/device/__init__.py b/luma/oled/device/__init__.py index <HASH>..<HASH> 100644 --- a/luma/oled/device/__init__.py +++ b/luma/oled/device/__init__.py @@ -367,7 +367,7 @@ class ssd1351(color_device): super(ssd1351, self).__init__(serial_interface, width, height, rotate, framebuffer, **kwarg...
adding support for ssd<I> <I>x<I> display (#<I>) * adding support for ssd<I> <I>x<I> display adding <I>x<I> and appropriate offset * Addressed PR comments
py
diff --git a/python/ray/tune/tests/test_commands.py b/python/ray/tune/tests/test_commands.py index <HASH>..<HASH> 100644 --- a/python/ray/tune/tests/test_commands.py +++ b/python/ray/tune/tests/test_commands.py @@ -57,7 +57,7 @@ def test_time(start_ray, tmpdir): subprocess.check_call(["tune", "ls", experiment_...
[tune] Hotfix for test_ls (#<I>)
py
diff --git a/scripts/create_feather.py b/scripts/create_feather.py index <HASH>..<HASH> 100644 --- a/scripts/create_feather.py +++ b/scripts/create_feather.py @@ -3,7 +3,6 @@ from argparse import ArgumentParser from nanoget import get_input -from nanoplot.version import __version__ import os @@ -50,10 +49,6 @@...
create_feather does not need nanoplot.__version__ to reduce dependencies
py
diff --git a/pyttsx3/engine.py b/pyttsx3/engine.py index <HASH>..<HASH> 100644 --- a/pyttsx3/engine.py +++ b/pyttsx3/engine.py @@ -97,7 +97,10 @@ class Engine(object): notifications about this utterance. @type name: str """ - self.proxy.say(text, name) + if text == None: + ...
Added check for text arg in say method (#<I>)
py
diff --git a/vlcp/service/debugging/console.py b/vlcp/service/debugging/console.py index <HASH>..<HASH> 100644 --- a/vlcp/service/debugging/console.py +++ b/vlcp/service/debugging/console.py @@ -120,7 +120,7 @@ subroutine(routine) - create a new routine in container. execute(routine) - - execute the routine in con...
unbuffered text I/O is not supported
py
diff --git a/tohu/derived_generators_NEW.py b/tohu/derived_generators_NEW.py index <HASH>..<HASH> 100644 --- a/tohu/derived_generators_NEW.py +++ b/tohu/derived_generators_NEW.py @@ -6,7 +6,7 @@ import numpy as np from .base_NEW import TohuUltraBaseGenerator from .generators_NEW import Constant, logger -__all__ = [...
Make SelectOne *-importable
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -95,7 +95,7 @@ setup( 'django-sortedm2m>=1.1.1', 'docutils>=0.12', 'gcloud>=0.8.0,<0.10.0', - 'google-api-python-client>=1.4.2',...
Added max version specifier in setup.py.
py
diff --git a/cnxepub/models.py b/cnxepub/models.py index <HASH>..<HASH> 100644 --- a/cnxepub/models.py +++ b/cnxepub/models.py @@ -332,7 +332,7 @@ class Document(object): # Unwrap the xml. content = [isinstance(node, str) and node or etree.tostring(node) for node in self._xml.xpath...
Make sure Document.content is a unicode object
py
diff --git a/openupgradelib/openupgrade.py b/openupgradelib/openupgrade.py index <HASH>..<HASH> 100644 --- a/openupgradelib/openupgrade.py +++ b/openupgradelib/openupgrade.py @@ -1858,7 +1858,8 @@ def migrate(no_version=False, use_env=None, uid=None, context=None): use_env2 = use_env is None and versio...
[IMP] openupgradelib: Since Odoo <I>, Environment.manage() is useless
py
diff --git a/sirmordred/_version.py b/sirmordred/_version.py index <HASH>..<HASH> 100644 --- a/sirmordred/_version.py +++ b/sirmordred/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.2.0" +__version__ = "0.2.1"
[release] Update version number to <I>
py
diff --git a/sample/tox-register-sha2.py b/sample/tox-register-sha2.py index <HASH>..<HASH> 100755 --- a/sample/tox-register-sha2.py +++ b/sample/tox-register-sha2.py @@ -28,16 +28,6 @@ dci_client.delete("/tests") dci_client.delete("/products") team = dci_client.get("/teams/partner") -remotecis = dci_client.get("/r...
tox-register-sha2: do not create the remoteci The remotecis are now registered by the agents. Change-Id: If<I>f<I>f2ad3eb<I>d3a<I>ff2ce5b<I>d
py
diff --git a/command/install_data.py b/command/install_data.py index <HASH>..<HASH> 100644 --- a/command/install_data.py +++ b/command/install_data.py @@ -30,7 +30,9 @@ class install_data (Command): self.outfiles = [] self.root = None self.force = 0 + self.data_files = self.distribut...
Added 'warn_dir' option so other code can sneak in and disable the sometimes inappropriate warning about where we're installing data files.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -200,8 +200,8 @@ def check_linker_need_libatomic(): """Test if linker on system needs libatomic.""" code_test = (b'#include <atomic>\n' + b'int main() { return std::atomic<int64_t>{}; }') - cxx =...
Fix fetching CXX variable in setup.py (#<I>) * Fix fetching CXX variable in setup.py * Preserve all elements of CXX variable in setup.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,10 +8,22 @@ try: except ImportError: from distutils.core import setup -try: - from distutils.command.build_py import build_py_2to3 as build_py -except ImportError: - from distutils.command.build_py import buil...
upgrading cmdclass declaration for working PyTest class vs the lib2to3 module errors with the previous versions
py
diff --git a/pymc3/model.py b/pymc3/model.py index <HASH>..<HASH> 100644 --- a/pymc3/model.py +++ b/pymc3/model.py @@ -277,16 +277,15 @@ class ContextMeta(type): return instance - def modelcontext(model: Optional['Model']) -> Optional['Model']: - """return the given model or try to find it in the conte...
Adopt Luciano's simplified modelcontext().
py
diff --git a/packages/vaex-viz/vaex/viz/mpl.py b/packages/vaex-viz/vaex/viz/mpl.py index <HASH>..<HASH> 100644 --- a/packages/vaex-viz/vaex/viz/mpl.py +++ b/packages/vaex-viz/vaex/viz/mpl.py @@ -20,6 +20,11 @@ def patch(f): setattr(Dataset, name, f) return f +from .vector import plot2d_vector +patch(plot2d_...
add plot2d_vector and tensor to Dataset
py
diff --git a/autograd/numpy/numpy_extra.py b/autograd/numpy/numpy_extra.py index <HASH>..<HASH> 100644 --- a/autograd/numpy/numpy_extra.py +++ b/autograd/numpy/numpy_extra.py @@ -23,12 +23,6 @@ class ArrayNode(Node): __getitem__ = take __array_priority__ = 100.0 - def __init__(self, value): - if t...
Removed array type casting in ArrayNode (shouldn't be needed any more)
py
diff --git a/influxdb/__init__.py b/influxdb/__init__.py index <HASH>..<HASH> 100644 --- a/influxdb/__init__.py +++ b/influxdb/__init__.py @@ -11,4 +11,4 @@ __all__ = [ ] -__version__ = '0.3.0' +__version__ = '0.3.1'
Bumped version to <I>
py
diff --git a/python/mxnet/contrib/onnx/onnx2mx/import_model.py b/python/mxnet/contrib/onnx/onnx2mx/import_model.py index <HASH>..<HASH> 100644 --- a/python/mxnet/contrib/onnx/onnx2mx/import_model.py +++ b/python/mxnet/contrib/onnx/onnx2mx/import_model.py @@ -67,15 +67,13 @@ def get_model_metadata(model_file): ----...
Fix Sphinx error in ONNX file (#<I>)
py
diff --git a/allauth/account/app_settings.py b/allauth/account/app_settings.py index <HASH>..<HASH> 100644 --- a/allauth/account/app_settings.py +++ b/allauth/account/app_settings.py @@ -296,10 +296,11 @@ class AppSettings(object): from django.core.exceptions import ImproperlyConfigured from allauth.u...
handle validators being a list (#<I>)
py
diff --git a/awkward/arrow.py b/awkward/arrow.py index <HASH>..<HASH> 100644 --- a/awkward/arrow.py +++ b/awkward/arrow.py @@ -152,9 +152,11 @@ def toarrow(obj, use_large_index=False): elif isinstance(obj, awkward.array.objects.StringArray): if obj.encoding is None and hasattr(pyarrow.BinaryArray,...
make sure to use right binary encoding type
py
diff --git a/librosa/core.py b/librosa/core.py index <HASH>..<HASH> 100644 --- a/librosa/core.py +++ b/librosa/core.py @@ -527,7 +527,8 @@ def cqt(y, sr=22050, hop_length=512, fmin=None, n_bins=108, bins_per_octave=12, pad=True)) # FFT the filters - n_fft = 4 * hop_length ...
derp, reverted fft change
py
diff --git a/io.py b/io.py index <HASH>..<HASH> 100644 --- a/io.py +++ b/io.py @@ -35,7 +35,8 @@ class BufferedFile(object): if len(s) + len(self.buf) >= self.n: self.f.write(self.buf + s) self.buf = '' - self.buf += s + else: + self.buf += s def flush(self): self.f.write(self.buf)
io: obscure bug in BufferedFile
py
diff --git a/python/herald/remote/herald_rpc.py b/python/herald/remote/herald_rpc.py index <HASH>..<HASH> 100644 --- a/python/herald/remote/herald_rpc.py +++ b/python/herald/remote/herald_rpc.py @@ -53,6 +53,7 @@ import logging # XML RPC modules try: # Python 3 + # pylint: disable=F0401 from xmlrpc.serve...
Added a pylint deactivation comment in Herald RPC
py
diff --git a/salt/states/rabbitmq_vhost.py b/salt/states/rabbitmq_vhost.py index <HASH>..<HASH> 100644 --- a/salt/states/rabbitmq_vhost.py +++ b/salt/states/rabbitmq_vhost.py @@ -98,7 +98,7 @@ def present(name, if vhost_exists: owner_perms = __salt__['rabbitmq.list_permissions'](name, runas=runas) - ...
bugfix use of 'iteritem' in <I> branch
py
diff --git a/superset/views/core.py b/superset/views/core.py index <HASH>..<HASH> 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -1142,7 +1142,7 @@ class Superset(BaseSupersetView): def get_raw_results(self, viz_obj): return self.json_response({ - 'data': viz_obj.get_df()...
Retrieve df from get_df_payload to hit cache (#<I>)
py
diff --git a/spyderlib/widgets/externalshell/sitecustomize.py b/spyderlib/widgets/externalshell/sitecustomize.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/externalshell/sitecustomize.py +++ b/spyderlib/widgets/externalshell/sitecustomize.py @@ -450,7 +450,7 @@ __umd__ = None def _get_globals(): """Retu...
Fixed typo in revision <I>dc<I> (now Issue <I> is really fixed) Update Issue <I> Status: Fixed Thanks Jed for pointing that out!
py
diff --git a/lib/svtplay_dl/service/viaplay.py b/lib/svtplay_dl/service/viaplay.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/viaplay.py +++ b/lib/svtplay_dl/service/viaplay.py @@ -68,6 +68,9 @@ class Viaplay(Service, OpenGraphThumbMixin): filename = xml.find("Product").find("Videos").find("Video...
viaplay: move subtitle force thing before download_hds
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,5 @@ setup( 'Operating System :: MacOS :: MacOS X', 'Operating System :: POSIX :: Linux'], install_requires=['nibabel', 'pydicom', 'numpy', 'six', 'future'], - setup_requires=['nose', 'cover...
MSMET-<I>: Exclude package data as the file becomes to large
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 @@ -45,9 +45,9 @@ copyright = u'2010 - 2013, Jo Bovy' # built documents. # # The short X.Y version. -version = '0' +version = '0.1' # The full version, including alpha/beta/rc tags. -re...
change version tag to <I>
py
diff --git a/armstrong/cli/main.py b/armstrong/cli/main.py index <HASH>..<HASH> 100644 --- a/armstrong/cli/main.py +++ b/armstrong/cli/main.py @@ -112,13 +112,14 @@ def in_armstrong_project(): def main(): - if len(sys.argv) < 2: + if len(sys.argv) < 2 and not in_armstrong_project(): usage() ...
allow 'armstrong' to pass through without main usage if in a project
py
diff --git a/somber/batch/som.py b/somber/batch/som.py index <HASH>..<HASH> 100644 --- a/somber/batch/som.py +++ b/somber/batch/som.py @@ -506,7 +506,7 @@ class Som(object): else: return res.get() - def quant_error(self, X): + def quant_error(self, X, batch_size=1): """ C...
Added param to quantization error Added batch size param to quantization error function
py
diff --git a/quilt/cli/add.py b/quilt/cli/add.py index <HASH>..<HASH> 100644 --- a/quilt/cli/add.py +++ b/quilt/cli/add.py @@ -36,4 +36,8 @@ class AddCommand(Command): def run(self, options, args): add = Add(os.getcwd(), self.get_pc_dir(), self.get_patches_dir()) + add.file_added.connect(self.fil...
Add slot for file_added in cli add command Print which file was added to which patch.
py
diff --git a/src/saml2/entity.py b/src/saml2/entity.py index <HASH>..<HASH> 100644 --- a/src/saml2/entity.py +++ b/src/saml2/entity.py @@ -49,7 +49,7 @@ from saml2 import VERSION from saml2 import class_name from saml2.config import config_factory from saml2.httpbase import HTTPBase -from saml2.sigver import securit...
Signature verification raises MissingKey (SigverError) if only_use_keys_in_metadata config option is set and we have no certs for issuer.
py
diff --git a/salt/pillar/git_pillar.py b/salt/pillar/git_pillar.py index <HASH>..<HASH> 100644 --- a/salt/pillar/git_pillar.py +++ b/salt/pillar/git_pillar.py @@ -179,9 +179,9 @@ class GitPillar(object): def map_branch(self, branch, opts=None): opts = __opts__ if opts is None else opts if branch ...
Catch the unset (empty/None) environment case
py
diff --git a/fusesoc/main.py b/fusesoc/main.py index <HASH>..<HASH> 100644 --- a/fusesoc/main.py +++ b/fusesoc/main.py @@ -471,21 +471,26 @@ def parse_args(): parser_update.add_argument('libraries', nargs='*', help='The libraries (or core roots) to update (defaults to all)') parser_update.set_defaults(func=up...
Fix crash when fusesoc is called without arguments
py
diff --git a/tests/unittest_brain.py b/tests/unittest_brain.py index <HASH>..<HASH> 100644 --- a/tests/unittest_brain.py +++ b/tests/unittest_brain.py @@ -62,8 +62,6 @@ except ImportError: import pytest -HAS_PYTEST = True - try: import attr as attr_module # pylint: disable=unused-import @@ -904,7 +902,6 @...
Remove conditional for having pytest, we have pytest
py
diff --git a/girder/api/rest.py b/girder/api/rest.py index <HASH>..<HASH> 100644 --- a/girder/api/rest.py +++ b/girder/api/rest.py @@ -386,7 +386,7 @@ class Resource(ModelImporter): def requireAdmin(self, user): """ Calling this on a user will ensure that they have admin rights. - an Acces...
Fix docstring typo from long ago.
py
diff --git a/warrant/tests/tests.py b/warrant/tests/tests.py index <HASH>..<HASH> 100644 --- a/warrant/tests/tests.py +++ b/warrant/tests/tests.py @@ -90,15 +90,16 @@ class CognitoAuthTestCase(unittest.TestCase): # self.assertEqual(self.user.access_token,None) @patch('warrant.Cognito', autospec=True) - ...
Fixed a test, applied a new style of adding attributes
py
diff --git a/rtree/index.py b/rtree/index.py index <HASH>..<HASH> 100644 --- a/rtree/index.py +++ b/rtree/index.py @@ -499,10 +499,14 @@ class Index(object): to the user to ensure they are unique if this is a requirement. :param coordinates: sequence or array - This may be an object t...
apply Andrew Byrd's patch for documenting the delete function
py
diff --git a/timepiece/tests/timesheet.py b/timepiece/tests/timesheet.py index <HASH>..<HASH> 100644 --- a/timepiece/tests/timesheet.py +++ b/timepiece/tests/timesheet.py @@ -117,11 +117,12 @@ class ClockInTest(TimepieceDataTestCase): """ self.client.login(username='user', password='abc') dat...
testClockIn now represents are more targeted test.
py