diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/xapian_backend.py b/xapian_backend.py index <HASH>..<HASH> 100755 --- a/xapian_backend.py +++ b/xapian_backend.py @@ -555,11 +555,11 @@ class SearchBackend(BaseSearchBackend): for field_name, field_class in fields.items(): if field_class.document is True: - co...
Added the ability to override field names within the index as added in Haystack SHA f3bf9b7f
py
diff --git a/girder/models/item.py b/girder/models/item.py index <HASH>..<HASH> 100644 --- a/girder/models/item.py +++ b/girder/models/item.py @@ -319,7 +319,8 @@ class Item(acl_mixin.AccessControlMixin, Model): item['meta'] = {} for field in fields: - del item['meta'][field] + ...
Ignore deletion fields that are not present in the metadata
py
diff --git a/qutepart/completer.py b/qutepart/completer.py index <HASH>..<HASH> 100644 --- a/qutepart/completer.py +++ b/qutepart/completer.py @@ -82,6 +82,8 @@ class _CompletionList(QListView): itemSelected = pyqtSignal(int) tabPressed = pyqtSignal() + _MAX_VISIBLE_ROWS = 20 # no any technical reas...
Max visible rows in completer is <I>
py
diff --git a/ELiDE/ELiDE/stepper.py b/ELiDE/ELiDE/stepper.py index <HASH>..<HASH> 100644 --- a/ELiDE/ELiDE/stepper.py +++ b/ELiDE/ELiDE/stepper.py @@ -89,20 +89,29 @@ Builder.load_string(""" RecycleGridLayout: cols: 1 <RuleStepperRuleButton>: - text: '>>>' + self.name + text: self.name + font_si...
Pretty up the stepper a little
py
diff --git a/salt/modules/state.py b/salt/modules/state.py index <HASH>..<HASH> 100644 --- a/salt/modules/state.py +++ b/salt/modules/state.py @@ -143,7 +143,11 @@ def _prior_running_states(jid): ret = [] active = __salt__['saltutil.is_running']('state.*') for data in active: - if int(data['jid'])...
Ignore states that do not have a numeric jid, i.e. 'req' (#<I>)
py
diff --git a/scraperwiki/sqlite.py b/scraperwiki/sqlite.py index <HASH>..<HASH> 100644 --- a/scraperwiki/sqlite.py +++ b/scraperwiki/sqlite.py @@ -130,7 +130,7 @@ def select(query, data=None): rows = [] for row in result: - rows.append(OrderedDict(row.items())) + rows.append(dict(row.items()))...
Get rows as dict, not OrderedDict, in select
py
diff --git a/pyiso.py b/pyiso.py index <HASH>..<HASH> 100644 --- a/pyiso.py +++ b/pyiso.py @@ -2260,7 +2260,6 @@ class PyIso(object): # After we've reshuffled the extents, we have to run through the list # of path table records and reset their extents appropriately. - import binascii ...
Remove import of binascii we don't need.
py
diff --git a/openquake/engine/calculators/base.py b/openquake/engine/calculators/base.py index <HASH>..<HASH> 100644 --- a/openquake/engine/calculators/base.py +++ b/openquake/engine/calculators/base.py @@ -123,6 +123,7 @@ class Calculator(object): initialize result records, perform detailed parsing of input d...
Added monitoring of the execute phase Former-commit-id: <I>c8b8bcb<I>c0eb7cfaa<I>a<I>a<I>ca
py
diff --git a/tibber/const.py b/tibber/const.py index <HASH>..<HASH> 100644 --- a/tibber/const.py +++ b/tibber/const.py @@ -1,6 +1,6 @@ """Constants used by pyTibber""" -__version__ = "0.21.7" +__version__ = "0.22.0" RESOLUTION_HOURLY = "HOURLY" RESOLUTION_DAILY = "DAILY"
<I> (#<I>)
py
diff --git a/test_tube/hpc.py b/test_tube/hpc.py index <HASH>..<HASH> 100644 --- a/test_tube/hpc.py +++ b/test_tube/hpc.py @@ -297,6 +297,14 @@ class SlurmCluster(AbstractCluster): ] sub_commands.extend(email_query) + # purge modules + sub_commands.append('\n') + command...
added purge slurm command
py
diff --git a/gary/integrate/core.py b/gary/integrate/core.py index <HASH>..<HASH> 100644 --- a/gary/integrate/core.py +++ b/gary/integrate/core.py @@ -11,7 +11,6 @@ import astropy.units as u import numpy as np # This project -from ..dynamics import CartesianPhaseSpacePosition, CartesianOrbit from ..units import Un...
move imports in because of circular imports
py
diff --git a/scripts/fix-ttf-vmet.py b/scripts/fix-ttf-vmet.py index <HASH>..<HASH> 100755 --- a/scripts/fix-ttf-vmet.py +++ b/scripts/fix-ttf-vmet.py @@ -267,9 +267,9 @@ class FontVerticalMetrics(object): maxval = self.ascents.get_max() minval = self.descents.get_min() for glyph, params in s...
highes and lowest glyphs collected incorrrectly as condition #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ acor = Extension("acor._acor", ["acor/_acor.c", "acor/acor.c"], setup( name="acor", - version="1.1.0", + version="1.1.1", author="Daniel Foreman-Mackey and Jonathan Goodman", author_email...
updating version number and publishing (#2)
py
diff --git a/geomdl/helpers.py b/geomdl/helpers.py index <HASH>..<HASH> 100644 --- a/geomdl/helpers.py +++ b/geomdl/helpers.py @@ -298,8 +298,8 @@ def basis_function_one(degree, knot_vector, span, knot): :rtype: float """ # Special case at boundaries - if (span == 0 and knot == knot_vector[0]) or \ - ...
Fix a bug related to tuple integer subtraction
py
diff --git a/pylast/__init__.py b/pylast/__init__.py index <HASH>..<HASH> 100644 --- a/pylast/__init__.py +++ b/pylast/__init__.py @@ -33,8 +33,9 @@ import time import xml.dom __version__ = '1.9.0' -__author__ = 'Amr Hassan, hugovk' -__copyright__ = "Copyright (C) 2008-2010 Amr Hassan, 2013-2017 hugovk" +__author__...
Fix unclosed SSLSocket warning, Update credits
py
diff --git a/great_expectations/render/renderer/column_section_renderer.py b/great_expectations/render/renderer/column_section_renderer.py index <HASH>..<HASH> 100644 --- a/great_expectations/render/renderer/column_section_renderer.py +++ b/great_expectations/render/renderer/column_section_renderer.py @@ -1,12 +1,11 @@...
Use builtins str to avoid unicode issues during str cast
py
diff --git a/settings.py b/settings.py index <HASH>..<HASH> 100755 --- a/settings.py +++ b/settings.py @@ -32,4 +32,6 @@ def getWikiDataUser(): def getWikiDataPassword(): return '<WikiData Password>' + + \ No newline at end of file
Changed name to PBB_settings.py
py
diff --git a/qtpylib/algo.py b/qtpylib/algo.py index <HASH>..<HASH> 100644 --- a/qtpylib/algo.py +++ b/qtpylib/algo.py @@ -75,8 +75,8 @@ class Algo(Broker): self.name = str(self.__class__).split('.')[-1].split("'")[0] self.log = logging.getLogger(__name__) - # Override args with any (non-defa...
added __class__ to args ignore list
py
diff --git a/mobly/controllers/android_device.py b/mobly/controllers/android_device.py index <HASH>..<HASH> 100644 --- a/mobly/controllers/android_device.py +++ b/mobly/controllers/android_device.py @@ -860,7 +860,7 @@ class AndroidDevice(object): """.. deprecated:: 1.8 Directly register with servic...
Fix a typo in docstring. (#<I>)
py
diff --git a/chess/gaviota.py b/chess/gaviota.py index <HASH>..<HASH> 100644 --- a/chess/gaviota.py +++ b/chess/gaviota.py @@ -2230,7 +2230,7 @@ def open_tablebases(directory=None, libgtb=None, LibraryLoader=ctypes.cdll): """ try: if LibraryLoader: - return open_native_tablebases(directory...
Forgot to change to open_tablebases_native()
py
diff --git a/scripts/experiments/remote.py b/scripts/experiments/remote.py index <HASH>..<HASH> 100755 --- a/scripts/experiments/remote.py +++ b/scripts/experiments/remote.py @@ -51,6 +51,7 @@ def remote_srl(argv): env.gateway = "%s:%s" % ("external.hltcoe.jhu.edu", "22") env.host_string = "%s:%s" % ("test2",...
Adding (commented) vector dependency
py
diff --git a/scdl/scdl.py b/scdl/scdl.py index <HASH>..<HASH> 100755 --- a/scdl/scdl.py +++ b/scdl/scdl.py @@ -491,7 +491,7 @@ def download_track(track, playlist_name=None, playlist_file=None): logger.info('{0} already Downloaded'.format(title)) return else: - logger.error(...
More meaningfull message when already music exits
py
diff --git a/rest_framework_json_api/utils.py b/rest_framework_json_api/utils.py index <HASH>..<HASH> 100644 --- a/rest_framework_json_api/utils.py +++ b/rest_framework_json_api/utils.py @@ -144,9 +144,8 @@ def build_json_resource_obj(fields, resource, resource_name): def get_related_resource_type(relation): - ...
Fixed issue where the wrong type was returned for HyperlinkedRouterField
py
diff --git a/fmn/lib/models.py b/fmn/lib/models.py index <HASH>..<HASH> 100644 --- a/fmn/lib/models.py +++ b/fmn/lib/models.py @@ -519,7 +519,10 @@ class Preference(BASE): @property def can_send(self): - return self.enabled and bool(self.detail_values) + return self.enabled and ( + ...
Make it so that you don't need to have detail values in the db in order for the desktop backend to work.
py
diff --git a/tests/test_ml_model.py b/tests/test_ml_model.py index <HASH>..<HASH> 100644 --- a/tests/test_ml_model.py +++ b/tests/test_ml_model.py @@ -106,7 +106,7 @@ def test_functional_model(spark_context, classification_model_functional, mnist_ def test_regression_model(spark_context, regression_model, boston_hou...
reduce epochs in test
py
diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py index <HASH>..<HASH> 100644 --- a/pyrogram/__init__.py +++ b/pyrogram/__init__.py @@ -16,7 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. -__version__ =...
Update Pyrogram to <I>
py
diff --git a/pymatbridge/matlab_magic.py b/pymatbridge/matlab_magic.py index <HASH>..<HASH> 100644 --- a/pymatbridge/matlab_magic.py +++ b/pymatbridge/matlab_magic.py @@ -264,4 +264,5 @@ def unload_ipython_extension(ip): if _loaded: magic = ip.magics_manager.registry.pop('MatlabMagics') magic.Mat...
unload_ext behaves correctly Set _loaded to False on unload so the module can be reloaded later.
py
diff --git a/telemetry/telemetry/core/timeline/trace_event_importer.py b/telemetry/telemetry/core/timeline/trace_event_importer.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/core/timeline/trace_event_importer.py +++ b/telemetry/telemetry/core/timeline/trace_event_importer.py @@ -248,7 +248,7 @@ class TraceEv...
Fix telemetry tests This was failing for me because the result of the subtraction was a long. Review URL: <URL>
py
diff --git a/blockstack/lib/storage/crawl.py b/blockstack/lib/storage/crawl.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/storage/crawl.py +++ b/blockstack/lib/storage/crawl.py @@ -109,8 +109,9 @@ def cached_zonefile_dir( zonefile_dir, zonefile_hash ): # split into directories, so we don't try to cram mill...
zonefile cache directories are broken down by byte
py
diff --git a/tests/acceptance/span_context_test.py b/tests/acceptance/span_context_test.py index <HASH>..<HASH> 100644 --- a/tests/acceptance/span_context_test.py +++ b/tests/acceptance/span_context_test.py @@ -109,3 +109,14 @@ def test_span_context( assert_extra_binary_annotations(child_span, {'foo': 'bar', 'chil...
Add test for ss, sr, cs, cr annotations in SpanContext
py
diff --git a/tests/test_utils.py b/tests/test_utils.py index <HASH>..<HASH> 100755 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -341,13 +341,11 @@ class UtilsTest(GorillaTestCase): self.assertEqual(patches, expected_patches) def test_find_patches_2(self): - global frommodule, tomodule, ...
Use the `tearDown` method
py
diff --git a/localized_fields/__init__.py b/localized_fields/__init__.py index <HASH>..<HASH> 100644 --- a/localized_fields/__init__.py +++ b/localized_fields/__init__.py @@ -3,7 +3,6 @@ from .forms import LocalizedFieldForm, LocalizedFieldWidget from .fields import (LocalizedField, LocalizedBleachField, ...
fixed "Apps aren't loaded yet." exception
py
diff --git a/gitlab/const.py b/gitlab/const.py index <HASH>..<HASH> 100644 --- a/gitlab/const.py +++ b/gitlab/const.py @@ -16,6 +16,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. NO_ACCESS = 0 +MINIMAL_ACCESS = 5 GUEST_ACCESS = 10 REPORTER_ACCESS = 20 DEVELOPER_ACCESS = 30
feat: add MINIMAL_ACCESS constant A "minimal access" access level was [introduced](<URL>) in GitLab <I>.
py
diff --git a/salt/states/git.py b/salt/states/git.py index <HASH>..<HASH> 100644 --- a/salt/states/git.py +++ b/salt/states/git.py @@ -2704,6 +2704,35 @@ def cloned(name, fetched. If your use case requires that you keep the clone up to date with the remote repository, then consider using ...
Finish the docstring for git.cloned state
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: setup( name='jupytext', - version='0.6.5', + version='0.7.0', author='Marc Wouts', author_email='marc.wouts@gmail.c...
Version <I> (way before pre release)
py
diff --git a/pyvirtualdisplay/abstractdisplay.py b/pyvirtualdisplay/abstractdisplay.py index <HASH>..<HASH> 100644 --- a/pyvirtualdisplay/abstractdisplay.py +++ b/pyvirtualdisplay/abstractdisplay.py @@ -144,7 +144,7 @@ class AbstractDisplay(EasyProcess): d = self.new_display_var ok = False - ...
account for possible race on slow X startup (or unlikely slow pipe reading..) with check_startup=True - if the select on displayfd has to wait to nearly as long as startup-timeout, the following xdpyinfo check block could be skipped causing the startup to fail without real reason because success not set by that block
py
diff --git a/openid/server/trustroot.py b/openid/server/trustroot.py index <HASH>..<HASH> 100644 --- a/openid/server/trustroot.py +++ b/openid/server/trustroot.py @@ -1,3 +1,4 @@ +# -*- test-case-name: openid.test.test_rpverify -*- """ This module contains the C{L{TrustRoot}} class, which helps handle trust root che...
[project @ server.trustroot: add test-case-name] This is not entirely correct, as there are at least two test_ modules that provide coverage for this one.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -38,7 +38,7 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] nitpicky = True # We need a recent sphinx because of the last update format. -needs_sphinx = '1.4' +# needs_sphinx = '1.4' html_last_u...
Remove hard-requirement on Sphinx to observe build behavior.
py
diff --git a/singularity/build/main.py b/singularity/build/main.py index <HASH>..<HASH> 100644 --- a/singularity/build/main.py +++ b/singularity/build/main.py @@ -162,6 +162,7 @@ def run_build(build_dir,params,verbose=True, compress_image=False): diff = get_diff(image_package=image_package) # Inspec...
missed one more instance of idxmax
py
diff --git a/werkzeug/debug/__init__.py b/werkzeug/debug/__init__.py index <HASH>..<HASH> 100644 --- a/werkzeug/debug/__init__.py +++ b/werkzeug/debug/__init__.py @@ -55,7 +55,7 @@ class DebuggedApplication(object): def __init__(self, app, evalex=False, request_key='werkzeug.request', console_pat...
Inverted console_init_func init logic was blocking /console
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,13 +5,13 @@ from setuptools import find_packages setup( name='omrdatasettools', packages=find_packages('.'), - version='0.15', + version='0.16', description='A collection of tools that simplify the dow...
Releasing <I> which allows to download MUSCIMA++ <I>
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 @@ release = get_release() extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.autosu...
add sphinx viewcode extension to add links in rendered docs to view the source code directly
py
diff --git a/centinel/experiments/baseline.py b/centinel/experiments/baseline.py index <HASH>..<HASH> 100644 --- a/centinel/experiments/baseline.py +++ b/centinel/experiments/baseline.py @@ -49,10 +49,10 @@ class BaselineExperiment(Experiment): "traceroute will be limited to UDP.") ...
added UDP traceroute back to the root version of baseline
py
diff --git a/umbra/globals/constants.py b/umbra/globals/constants.py index <HASH>..<HASH> 100644 --- a/umbra/globals/constants.py +++ b/umbra/globals/constants.py @@ -65,7 +65,7 @@ class Constants(): :param minorVersion: Package minor version. :type minorVersion: unicode """ - changeVersion = "8" + changeVersion ...
Raise application version number to <I>.
py
diff --git a/holoviews/plotting/mpl/chart.py b/holoviews/plotting/mpl/chart.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/mpl/chart.py +++ b/holoviews/plotting/mpl/chart.py @@ -514,7 +514,7 @@ class SideHistogramPlot(AdjoinedPlot, HistogramPlot): cidx = opts.options.get('color_index', None) ...
Fixed bug in non-colormapped SideHistogram (#<I>)
py
diff --git a/saltcloud/clouds/EC2.py b/saltcloud/clouds/EC2.py index <HASH>..<HASH> 100644 --- a/saltcloud/clouds/EC2.py +++ b/saltcloud/clouds/EC2.py @@ -52,24 +52,20 @@ def ssh_pub(vm_): def script(vm_): ''' - Return the deployment object for managing a script - ''' - os_ = '' - if 'os' in vm_: - ...
update EC2 to use correct script deployment
py
diff --git a/app/readers/fasta.py b/app/readers/fasta.py index <HASH>..<HASH> 100644 --- a/app/readers/fasta.py +++ b/app/readers/fasta.py @@ -47,12 +47,15 @@ def has_evidence_levels(fastafn): def get_uniprot_evidence_level(header): + """Returns uniprot protein existence evidence level for a fasta header. + ...
Evidence level inversing to sort high-low. Dirty.
py
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py index <HASH>..<HASH> 100644 --- a/pkg_resources/__init__.py +++ b/pkg_resources/__init__.py @@ -1525,6 +1525,17 @@ class MarkerEvaluation(object): """ return cls.interpret(parser.expr(text).totuple(1)[1]) + @staticmethod + def ...
Extract a a method to encapsulate behavior and documentation. Rewrite for loop as legacy-style dictionary comprehension.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -52,9 +52,10 @@ else: # This is a RELEASE version print("Version: " + version) if is_dev_version: - print("This is a DEV version.") - print("Target: " + target_version) - + print("This is a DEV version") + pri...
add: clear message when we are working with a release version
py
diff --git a/looper/models.py b/looper/models.py index <HASH>..<HASH> 100644 --- a/looper/models.py +++ b/looper/models.py @@ -120,7 +120,7 @@ class AttributeDict(object): # Create new AttributeDict self.__dict__[key] = AttributeDict(value) else: - if type(value) is not type(None): + if value is n...
change null check to match previous PR
py
diff --git a/soco/core.py b/soco/core.py index <HASH>..<HASH> 100755 --- a/soco/core.py +++ b/soco/core.py @@ -135,6 +135,7 @@ class SoCo(_SocoSingletonBase): search_track -- Search for an artist, artist's albums, or track. get_albums_for_artist -- Get albums for an artist. get_tracks_for_alb...
Add library update property and method to SoCo class docstring
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,35 +3,6 @@ from setuptools import find_packages from setuptools import setup -install_requires = [] # pylint: disable=invalid-name - -# pylint: disable=import-error -# pylint: disable=unused-import -# pylint: disable=w...
Explicitly list install requirements Resolves #<I>
py
diff --git a/test/test_tools.py b/test/test_tools.py index <HASH>..<HASH> 100644 --- a/test/test_tools.py +++ b/test/test_tools.py @@ -86,7 +86,7 @@ def test_recordplay(): record = Process(target=jps.tools.record, args=(file_path, ['/test_rec2'])) record.start() - time.sleep(0.1) + time.sleep(0.5) ...
Update tests to remove flacky test
py
diff --git a/Python/ibmcloudsql/SQLQuery.py b/Python/ibmcloudsql/SQLQuery.py index <HASH>..<HASH> 100644 --- a/Python/ibmcloudsql/SQLQuery.py +++ b/Python/ibmcloudsql/SQLQuery.py @@ -133,9 +133,14 @@ class SQLQuery(): print("You are not logged on to IBM Cloud") return - result_locatio...
Fix issue where a prefix and jobid would not be parsed correctly when fetching query results.
py
diff --git a/openupgradelib/openupgrade.py b/openupgradelib/openupgrade.py index <HASH>..<HASH> 100644 --- a/openupgradelib/openupgrade.py +++ b/openupgradelib/openupgrade.py @@ -2553,6 +2553,11 @@ def delete_records_safely_by_xml_id(env, xml_ids): :param xml_ids: List of XML-ID string identifiers of the records...
[FIX] delete_records_safely_by_xml_id: add UserError and versions
py
diff --git a/spyder_kernels/utils/nsview.py b/spyder_kernels/utils/nsview.py index <HASH>..<HASH> 100644 --- a/spyder_kernels/utils/nsview.py +++ b/spyder_kernels/utils/nsview.py @@ -603,7 +603,7 @@ def globalsfilter(input_dict, check_all=False, filters=None, REMOTE_SETTINGS = ('check_all', 'exclude_private', 'exclude...
Object Explorer: Remove refresh related settings
py
diff --git a/airflow/utils/log/gcs_task_handler.py b/airflow/utils/log/gcs_task_handler.py index <HASH>..<HASH> 100644 --- a/airflow/utils/log/gcs_task_handler.py +++ b/airflow/utils/log/gcs_task_handler.py @@ -138,10 +138,10 @@ class GCSTaskHandler(FileTaskHandler, LoggingMixin): if append: try: ...
[AIRFLOW-<I>] Do not reference unassigned variable Closes #<I> from wrp/old_log
py
diff --git a/modin/pandas/series.py b/modin/pandas/series.py index <HASH>..<HASH> 100644 --- a/modin/pandas/series.py +++ b/modin/pandas/series.py @@ -168,6 +168,9 @@ class Series(BasePandasDataset): pandas.RangeIndex(len(self.index))[key] ) ) + # TODO: More eff...
Default to pandas when trying to get slice from Series (#<I>) * Default to pandas when trying to get slice from Series * Resolves #<I> * Add TODO
py
diff --git a/ctypeslib/codegen/codegenerator.py b/ctypeslib/codegen/codegenerator.py index <HASH>..<HASH> 100644 --- a/ctypeslib/codegen/codegenerator.py +++ b/ctypeslib/codegen/codegenerator.py @@ -54,6 +54,8 @@ ctypes_names = { "double": "c_double", "float": "c_float", + "long double": "c_longdouble", ...
Catch another error in init_value(). Let the codegenerator handle 'long double'. This will currently generate ctypes code that will not work and has to be fixed manually. Until ctypes supports that type there is no other solution. git-svn-id: <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,5 @@ #!/usr/bin/env python -from setuptools import find_packages from setuptools import setup import base32_crockford @@ -17,7 +16,7 @@ setup( author_email='jason.bittel@gmail.com', url='https://github...
Fix base module not being included in setup
py
diff --git a/datacats/docker.py b/datacats/docker.py index <HASH>..<HASH> 100644 --- a/datacats/docker.py +++ b/datacats/docker.py @@ -72,6 +72,14 @@ def _get_docker(): raise DatacatsError('You have not created your boot2docker VM. ' 'Please run "boot2docker init" to do so....
Add a hack removing TLS verification... this solves issue #<I> kinda
py
diff --git a/looper/models.py b/looper/models.py index <HASH>..<HASH> 100644 --- a/looper/models.py +++ b/looper/models.py @@ -2311,7 +2311,7 @@ class Sample(object): _LOGGER.debug("Attempting to store %s's %s metadata", self.__class__.__name__, ...
need to convert AttributeDict instances returned within the Project data
py
diff --git a/HARK/utilities.py b/HARK/utilities.py index <HASH>..<HASH> 100644 --- a/HARK/utilities.py +++ b/HARK/utilities.py @@ -844,7 +844,7 @@ def determine_platform(): """ import platform - pform = platform.platform().lower() + pform = platform.system().lower() if "darwin" in pform: ...
utilities.determine_platform() should return, e.g., linux
py
diff --git a/tests/integration/test_project.py b/tests/integration/test_project.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_project.py +++ b/tests/integration/test_project.py @@ -233,8 +233,7 @@ def test_run_in_virtualenv(PipenvInstance): @pytest.mark.project @pytest.mark.sources -@pytest.mark.needs...
Added fix for bug <I>
py
diff --git a/tests/test_bootstrap_sampler.py b/tests/test_bootstrap_sampler.py index <HASH>..<HASH> 100644 --- a/tests/test_bootstrap_sampler.py +++ b/tests/test_bootstrap_sampler.py @@ -116,7 +116,6 @@ class SamplerTests(unittest.TestCase): # Perform the requisite tests self.assertIsInstance(func_r...
Removed superflous testing statements.
py
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -727,4 +727,4 @@ def get_server_id(): ''' # Provides: # server_id - return {'server_id': abs(hash(__opts__['id']) % (2 ** 31))} + return {'server_id': abs(hash...
Another reference to id in the grains
py
diff --git a/c7n/ipaddress.py b/c7n/ipaddress.py index <HASH>..<HASH> 100644 --- a/c7n/ipaddress.py +++ b/c7n/ipaddress.py @@ -1113,7 +1113,8 @@ class _BaseNetwork(_IPAddressBase): try: # Always false if one is v4 and the other is v6. if a._version != b._version: - rais...
core - vendored ipaddress use <I> compatible interpolation (#<I>)
py
diff --git a/pyinotify.py b/pyinotify.py index <HASH>..<HASH> 100755 --- a/pyinotify.py +++ b/pyinotify.py @@ -711,6 +711,12 @@ class _SysProcessEvent(_ProcessEvent): # to provide as additional information to the IN_MOVED_TO event # the original pathname of the moved file/directory. ...
Automatically watch a non watched tree moved to a watched directory with flag auto_add activated (contributed by John Feuerstein <EMAIL>).
py
diff --git a/timepiece/views.py b/timepiece/views.py index <HASH>..<HASH> 100644 --- a/timepiece/views.py +++ b/timepiece/views.py @@ -562,7 +562,7 @@ def time_sheet_invoice_project(request, project_id, year, month): if not request.user.has_perm('timepiece.edit_person_time_sheet'): return HttpResponseForb...
refs #<I> - Fixed value error bug for December
py
diff --git a/nodeconductor/core/views.py b/nodeconductor/core/views.py index <HASH>..<HASH> 100644 --- a/nodeconductor/core/views.py +++ b/nodeconductor/core/views.py @@ -277,7 +277,10 @@ class ActionsViewSet(viewsets.ModelViewSet): # check if action is allowed if self.action in getattr(self, 'disable...
Extract object validation into a separate method - wal-<I>
py
diff --git a/hdf5storage/utilities.py b/hdf5storage/utilities.py index <HASH>..<HASH> 100644 --- a/hdf5storage/utilities.py +++ b/hdf5storage/utilities.py @@ -150,12 +150,11 @@ def read_matlab_fields_attribute(attrs): dt = np.dtype([('length', np.uintp), ('pointer', np.intp)]) raw_buf = np.empty(attr_...
Fixed bug where utilities.read_matlab_fields_attribute was only reading half the elements of the Attribute. (cherry picked from commit 1dcc<I>b1e0e5bfef2f<I>f<I>c0aa<I>cb9c<I>)
py
diff --git a/PyFunceble.py b/PyFunceble.py index <HASH>..<HASH> 100755 --- a/PyFunceble.py +++ b/PyFunceble.py @@ -2081,6 +2081,7 @@ class Referer(object): "kh", "lb", "mc", + "mh", "mil", "mm", "mt", @@ -3985,7 +3986,7 @@ if __nam...
Introduction of `mh` into the list of ignored extensions cf: No whois server.
py
diff --git a/tests/test_git.py b/tests/test_git.py index <HASH>..<HASH> 100644 --- a/tests/test_git.py +++ b/tests/test_git.py @@ -29,7 +29,11 @@ import unittest from base import TestBaseBackend from grimoire_elk.raw.git import GitOcean -from grimoire_elk.enriched.enrich import logger +from grimoire_elk.enriched.en...
[tests] Extend tests for demography study This code extends the tests for the demography study, by checking that the alias `demographics` is correctly created at the end of the study.
py
diff --git a/telethon/_events/newmessage.py b/telethon/_events/newmessage.py index <HASH>..<HASH> 100644 --- a/telethon/_events/newmessage.py +++ b/telethon/_events/newmessage.py @@ -208,7 +208,6 @@ class NewMessage(EventBuilder): def _set_client(self, client): super()._set_client(client) ...
Remove _finish_init from newmessage.py This method was removed in <I>a<I>de<I>f<I>dbbcf<I>f2e<I>c<I>d0d4b7c<I>d
py
diff --git a/tests/test_behaviour.py b/tests/test_behaviour.py index <HASH>..<HASH> 100644 --- a/tests/test_behaviour.py +++ b/tests/test_behaviour.py @@ -666,13 +666,16 @@ def test_fsm_behaviour(fsm): assert fsm.current_state == STATE_ONE agent.add_behaviour(fsm) - agent.wait1_behaviour.wait() + whil...
Syncing tests with active waiting...
py
diff --git a/master/setup.py b/master/setup.py index <HASH>..<HASH> 100755 --- a/master/setup.py +++ b/master/setup.py @@ -217,6 +217,7 @@ setup_args = { "buildbot.steps.package.rpm", "buildbot.process", "buildbot.clients", + "buildbot.monkeypatches", ...
Add missing package to setup.py.
py
diff --git a/mythril/ether/contractstorage.py b/mythril/ether/contractstorage.py index <HASH>..<HASH> 100644 --- a/mythril/ether/contractstorage.py +++ b/mythril/ether/contractstorage.py @@ -105,6 +105,10 @@ class ContractStorage(persistent.Persistent): self.last_block = blockNum blockNum -= 1...
Once database initialization is complete, start from the end of the chain again
py
diff --git a/pyOCD/board/mbed_board.py b/pyOCD/board/mbed_board.py index <HASH>..<HASH> 100644 --- a/pyOCD/board/mbed_board.py +++ b/pyOCD/board/mbed_board.py @@ -64,6 +64,7 @@ BOARD_ID_TO_INFO = { "9012": BoardInfo( "Seeed-Tiny-BLE", "nrf51", "l1_nrf51.bin", ), ...
Add support for the LPCXpresso<I>-MAX Add board information for the LPCXpresso<I>-MAX.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ setup( version='0.1.0', namespace_packages=name.split('.')[:-1], license='GPLv3', - descrption = '[devops|security|dba|etc]reactions fetcher plugin for Legobot', + descrption='[devops|securi...
Flake8 fixup in setup.py
py
diff --git a/scrubadub/scrubbers.py b/scrubadub/scrubbers.py index <HASH>..<HASH> 100644 --- a/scrubadub/scrubbers.py +++ b/scrubadub/scrubbers.py @@ -37,11 +37,14 @@ class Scrubber(object): dirty ``text``. """ - # find the set of proper nouns using textblob + # find the set of proper ...
fixed problem with Skype capitalization, which is a workaround until #<I> is implemented
py
diff --git a/spacy/cli/train.py b/spacy/cli/train.py index <HASH>..<HASH> 100644 --- a/spacy/cli/train.py +++ b/spacy/cli/train.py @@ -78,6 +78,9 @@ def train( config = util.load_config( config_path, overrides=config_overrides, interpolate=True ) + # Keep a second un-interpolated c...
Construct nlp from uninterpolated config before training
py
diff --git a/holoviews/plotting/bokeh/__init__.py b/holoviews/plotting/bokeh/__init__.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/__init__.py +++ b/holoviews/plotting/bokeh/__init__.py @@ -155,7 +155,7 @@ options.Points = Options('style', color=Cycle(), size=point_size, cmap=dflt_cmap if not config.s...
added muted_alpha option to Distribution (#<I>)
py
diff --git a/fwdpy11/_tables_to_tskit.py b/fwdpy11/_tables_to_tskit.py index <HASH>..<HASH> 100644 --- a/fwdpy11/_tables_to_tskit.py +++ b/fwdpy11/_tables_to_tskit.py @@ -32,7 +32,8 @@ def _generate_mutation_metadata(pop): 'label': m.label, 'esizes': list(m.esizes), 'heffects':...
Add mutation key to mutation metadata when dumping tables to tskit.
py
diff --git a/shinken/commandcall.py b/shinken/commandcall.py index <HASH>..<HASH> 100644 --- a/shinken/commandcall.py +++ b/shinken/commandcall.py @@ -72,7 +72,6 @@ class CommandCall(DummyCommandCall): self.valid = True else: self.valid = False - self.command = tab[0] ...
Fix a bug in commandcall which was introduced with cf<I>f3
py
diff --git a/databuild/tests/test_functional.py b/databuild/tests/test_functional.py index <HASH>..<HASH> 100644 --- a/databuild/tests/test_functional.py +++ b/databuild/tests/test_functional.py @@ -25,11 +25,11 @@ class FunctionalTestCase(TestCase): assert functional.guess_type(values) == six.text_type ...
fixed test under python3
py
diff --git a/django_cms_tools/fixtures/pages.py b/django_cms_tools/fixtures/pages.py index <HASH>..<HASH> 100644 --- a/django_cms_tools/fixtures/pages.py +++ b/django_cms_tools/fixtures/pages.py @@ -7,7 +7,12 @@ import logging import pytest from django.utils import translation -from django.template.defaultfilters i...
try to use python-slugify first
py
diff --git a/pythainlp/tools/path.py b/pythainlp/tools/path.py index <HASH>..<HASH> 100644 --- a/pythainlp/tools/path.py +++ b/pythainlp/tools/path.py @@ -8,7 +8,7 @@ import os import pythainlp -PYTHAINLP_DATA_DIR = "pythainlp-data" +PYTHAINLP_DEFAULT_DATA_DIR = "pythainlp-data" def get_full_data_path(path: s...
Try again, looks like the error is random ?
py
diff --git a/sysconfig.py b/sysconfig.py index <HASH>..<HASH> 100644 --- a/sysconfig.py +++ b/sysconfig.py @@ -205,6 +205,21 @@ def parse_makefile(fp, g=None): # bogus variable reference; just drop it since we can't deal del notdone[name] + # "Fix" all pathnames in the Makefile th...
Added kludge to deal with the "./ld_so_aix" problem: force all strings in the Makefile that start with "./" to be absolute paths (with the implied root being the directory where the Makefile itself was found).
py
diff --git a/src/toil/leader.py b/src/toil/leader.py index <HASH>..<HASH> 100644 --- a/src/toil/leader.py +++ b/src/toil/leader.py @@ -228,10 +228,12 @@ class Leader(object): # Filter the failed jobs self.toilState.totalFailedJobs = [j for j in self.toilState.totalFailedJobs if self.jobStore.exists(j....
Fix log name when imported into jobstore.
py
diff --git a/km3pipe/tools.py b/km3pipe/tools.py index <HASH>..<HASH> 100644 --- a/km3pipe/tools.py +++ b/km3pipe/tools.py @@ -103,6 +103,7 @@ def pdg2name(pdg_id): -15: 'tau+', 16: 'nu_tau', -16: 'anu_tau', + 22: 'photon', 111: 'pi0', 130: 'K0L', 211: 'pi-...
Adds photon to pdg2name
py
diff --git a/fusesoc/edalizer.py b/fusesoc/edalizer.py index <HASH>..<HASH> 100644 --- a/fusesoc/edalizer.py +++ b/fusesoc/edalizer.py @@ -179,7 +179,14 @@ class Edalizer: _dstdir = os.path.dirname(dst) if not os.path.exists(_dstdir): os.makedirs(_dstdi...
feat_board_file_support: adding support for copying directories - copyto now supports copying directories to the workspace. This is useful for copying directories such as Xilinx board files for Vivado.
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1796,18 +1796,13 @@ might be an error, and you should e-mail kconfiglib@gmail.com. return "y" if (ev == "n") else "m" - if first_expr in (EQUAL, UNEQUAL): - _, sym_or_str...
Unconvolute evaluation of (in)equalities.
py
diff --git a/mautrix/util/async_db/aiosqlite.py b/mautrix/util/async_db/aiosqlite.py index <HASH>..<HASH> 100644 --- a/mautrix/util/async_db/aiosqlite.py +++ b/mautrix/util/async_db/aiosqlite.py @@ -11,6 +11,7 @@ from urllib.parse import urlparse import asyncio import logging import sqlite3 +import re import aios...
Add support for Postgres positional param syntax in sqlite helper
py
diff --git a/spyder/app/mainwindow.py b/spyder/app/mainwindow.py index <HASH>..<HASH> 100644 --- a/spyder/app/mainwindow.py +++ b/spyder/app/mainwindow.py @@ -2472,7 +2472,8 @@ class MainWindow(QMainWindow): @Slot() def report_issue(self, body=None, title=None, dialog=None): """Report a Spyder issu...
Add validation for pytest.
py
diff --git a/blockstack/lib/nameset/db.py b/blockstack/lib/nameset/db.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/nameset/db.py +++ b/blockstack/lib/nameset/db.py @@ -177,7 +177,7 @@ def namedb_create( path ): raise Exception("Database '%s' already exists" % path) lines = [l + ";" for l in BLOCK...
use a huge timeout for db connections
py
diff --git a/alot/commands/globals.py b/alot/commands/globals.py index <HASH>..<HASH> 100644 --- a/alot/commands/globals.py +++ b/alot/commands/globals.py @@ -479,20 +479,23 @@ class OpenBufferlistCommand(Command): ui.buffer_open(bl) -@registerCommand(MODE, 'taglist') +@registerCommand(MODE, 'taglist',...
add --tags option to global taglist command that sets a whitelist of tag strings to be displayed cf issue #<I>
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -70,6 +70,7 @@ def alice_driver(bdb_node, alice_privkey, alice_pubkey): from bigchaindb_driver import BigchainDB return BigchainDB(bdb_node) + @fixture def mock_requests_post(m...
Add missing blank line (pep 8)
py
diff --git a/salt/master.py b/salt/master.py index <HASH>..<HASH> 100644 --- a/salt/master.py +++ b/salt/master.py @@ -1701,6 +1701,7 @@ class ClearFuncs(object): return { 'enc': 'clear', 'load': { + 'jid': None, 'minions': minions ...
Add 'jid' back in as None to prevent KeyErrors
py
diff --git a/pyarlo/__init__.py b/pyarlo/__init__.py index <HASH>..<HASH> 100644 --- a/pyarlo/__init__.py +++ b/pyarlo/__init__.py @@ -64,7 +64,13 @@ class PyArlo(object): """Authenticate user and generate token.""" self.cleanup_headers() url = LOGIN_ENDPOINT - data = self.query(url, m...
Remove extraneous params from subsequent query requests
py
diff --git a/green/test/test_output.py b/green/test/test_output.py index <HASH>..<HASH> 100644 --- a/green/test/test_output.py +++ b/green/test/test_output.py @@ -61,4 +61,15 @@ class TestColors(unittest.TestCase): class TestGreenStream(unittest.TestCase): - pass + def testHTMLWriteNewlines(self): + "...
Wrote the first GreenStream test.
py