diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/conf/ldap_schemas.py b/conf/ldap_schemas.py
index <HASH>..<HASH> 100644
--- a/conf/ldap_schemas.py
+++ b/conf/ldap_schemas.py
@@ -45,7 +45,7 @@ class account(
class Meta:
base_dn_setting = "LDAP_ACCOUNT_BASE"
object_classes = set([ 'top' ])
- search_classes = set([ 'posixAccou... | Detect all accounts. Some accounts are people, for legacy reasons. Make sure we detect them. Required for uprades to work properly, in particularly we need to be able to tell if the account is locked or not. Change-Id: I7e<I>d<I>ee2d<I>db<I>ae<I> | py |
diff --git a/mistletoe/core_tokens.py b/mistletoe/core_tokens.py
index <HASH>..<HASH> 100644
--- a/mistletoe/core_tokens.py
+++ b/mistletoe/core_tokens.py
@@ -199,7 +199,7 @@ def match_link_dest(string, offset):
else:
escaped = False
count = 1
- for i, c in enumerate(string[offset+1:], sta... | fixed: match_link_dest skips char when not in angles | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import find_packages, setup
setup(
name='ActionCableZwei',
- version='0.1.1',
+ version='0.1.2',
license='MIT',
description='Action Cable Client for Python 3',
author='... | Update version number to <I> | py |
diff --git a/steenzout/sphinx/__init__.py b/steenzout/sphinx/__init__.py
index <HASH>..<HASH> 100644
--- a/steenzout/sphinx/__init__.py
+++ b/steenzout/sphinx/__init__.py
@@ -21,6 +21,7 @@ from steenzout.object import Object
class ResourceGenerator(Object):
+ """Class to generate Sphinx resources."""
def... | added ResourceGenerator docstring. | py |
diff --git a/gcloud/bigtable/test_table.py b/gcloud/bigtable/test_table.py
index <HASH>..<HASH> 100644
--- a/gcloud/bigtable/test_table.py
+++ b/gcloud/bigtable/test_table.py
@@ -281,11 +281,11 @@ class TestTable(unittest2.TestCase):
self.assertEqual(mock_created,
[(table.name, self.R... | Rename testcases for clarity. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -58,7 +58,7 @@ data_files=[
('gimmemotifs/score_dists', ['score_dists/total_wic_mean_score_dist.txt']),
('gimmemotifs/genes', ['genes/hg18.bed', 'genes/hg19.bed', 'genes/xenTro2.bed', 'genes/mm9.bed']),
('gimmemotifs/bg'... | Cop all pwm/pfm files on setup | py |
diff --git a/pywal/colors.py b/pywal/colors.py
index <HASH>..<HASH> 100644
--- a/pywal/colors.py
+++ b/pywal/colors.py
@@ -87,9 +87,11 @@ def cache_fname(img, backend, light, cache_dir, sat=""):
"""Create the cache file name."""
color_type = "light" if light else "dark"
file_name = re.sub("[/|\\|.]", "_"... | general: Add file size to caching to avoid collisions. Closes #<I> | py |
diff --git a/pycm/pycm_util.py b/pycm/pycm_util.py
index <HASH>..<HASH> 100644
--- a/pycm/pycm_util.py
+++ b/pycm/pycm_util.py
@@ -243,11 +243,9 @@ def statistic_recommend(classes, P):
:type P : dict
:return: recommendation_list as list
"""
- recommendation_list = []
if imbalance_check(P):
- ... | fix : minor bug in statistic_recommend fixed | py |
diff --git a/nipap-cli/nipap_cli/nipap_cli.py b/nipap-cli/nipap_cli/nipap_cli.py
index <HASH>..<HASH> 100755
--- a/nipap-cli/nipap_cli/nipap_cli.py
+++ b/nipap-cli/nipap_cli/nipap_cli.py
@@ -82,9 +82,9 @@ def get_vrf(arg = None, opts = None, abort = False):
else:
vrf_rt = arg
- if vrf_rt == 'none':
+... | Make vrf_rt case-insensitive Hmm, could this be dangerous in that two VRFs could have the "same" name but in upper / lower cases!? Fixes #<I>. | py |
diff --git a/dipper/sources/FlyBase.py b/dipper/sources/FlyBase.py
index <HASH>..<HASH> 100644
--- a/dipper/sources/FlyBase.py
+++ b/dipper/sources/FlyBase.py
@@ -1480,7 +1480,7 @@ class FlyBase(PostgreSQLSource):
if did == feature_id:
continue
... | we do not seem to like 'FBpp' | py |
diff --git a/lib/svtplay_dl/service/__init__.py b/lib/svtplay_dl/service/__init__.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/__init__.py
+++ b/lib/svtplay_dl/service/__init__.py
@@ -131,6 +131,12 @@ class Generic(object):
for i in sites:
if i.handles(url):
... | generic: detect embeded svtplay streams | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ with open('requirements.txt') as f:
setup(
name='microclient',
- version='0.0.3',
+ version='0.1.0',
author=u'Tangent Solutions',
author_email='admin@tangentsolutions.co.za',
packages=... | Bumps version to <I> (first beta release) | py |
diff --git a/phypno/widgets/traces.py b/phypno/widgets/traces.py
index <HASH>..<HASH> 100644
--- a/phypno/widgets/traces.py
+++ b/phypno/widgets/traces.py
@@ -335,4 +335,6 @@ def _select_channels(data, channels):
chan_list = list(data.axis['chan'][0])
idx_chan = [chan_list.index(i_chan) for i_chan in channels... | same as commit before, but fix the fact that the list of channels was not updated | py |
diff --git a/arguments/__init__.py b/arguments/__init__.py
index <HASH>..<HASH> 100644
--- a/arguments/__init__.py
+++ b/arguments/__init__.py
@@ -30,7 +30,7 @@ import zipfile
from os.path import exists, expanduser
from consoleprinter import console, console_warning, handle_ex, consoledict, get_print_yaml, remove_ext... | foobar Friday <I> March <I> (week:<I> day:<I>), <I>:<I>:<I> | py |
diff --git a/satpy/scene.py b/satpy/scene.py
index <HASH>..<HASH> 100644
--- a/satpy/scene.py
+++ b/satpy/scene.py
@@ -141,16 +141,20 @@ class Scene(InfoObject):
# out
if not self.info.get("sensor"):
self.info["sensor"] = sensors
+ # overwrite the request start/end times with actua... | Fix start_time/end_time properties on Scene object after resampling These properties were dependent on scn.readers which doesn't exist after resampling creates a new "copy" of the original Scene. Now these values are part of the metadata in .info and set on init. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,5 +14,18 @@ setup(
'console_scripts': [
'bofhexcuse=bofhexcuse:main'
]
- }
+ },
+ classifiers=[
+ 'Development Status :: 3 - Alpha',
+ 'Environment :: Console',
+ ... | Added classifiers to setup.py | py |
diff --git a/etrago/cluster/disaggregation.py b/etrago/cluster/disaggregation.py
index <HASH>..<HASH> 100644
--- a/etrago/cluster/disaggregation.py
+++ b/etrago/cluster/disaggregation.py
@@ -397,7 +397,8 @@ class UniformDisaggregation(Disaggregation):
loc = ()
index = p_nom_tim... | Temporarily switch back to only handling 'p' The generalization doesn't work yet. Until I can fix this, this is the easiest way to switch back. | py |
diff --git a/pook/__init__.py b/pook/__init__.py
index <HASH>..<HASH> 100644
--- a/pook/__init__.py
+++ b/pook/__init__.py
@@ -9,4 +9,4 @@ __author__ = 'Tomas Aparicio'
__license__ = 'MIT'
# Current version
-__version__ = '0.1.14'
+__version__ = '0.2.0' | feat(version): bump to <I> | py |
diff --git a/openquake/risk/job/probabilistic.py b/openquake/risk/job/probabilistic.py
index <HASH>..<HASH> 100644
--- a/openquake/risk/job/probabilistic.py
+++ b/openquake/risk/job/probabilistic.py
@@ -206,12 +206,13 @@ class ProbabilisticEventMixin(): # pylint: disable=W0232,W0201
point.column, ... | Short-circuit the computation if there are no POEs defined. Former-commit-id: <I>e<I>a<I>f<I>c6c<I>fe<I>c<I>b<I>eb9 | py |
diff --git a/convertbng/util.py b/convertbng/util.py
index <HASH>..<HASH> 100644
--- a/convertbng/util.py
+++ b/convertbng/util.py
@@ -39,7 +39,7 @@ else:
ext = "so"
__author__ = u"Stephan Hügel"
-__version__ = "0.1.12"
+__version__ = "0.1.13"
# hacky: http://stackoverflow.com/a/30789980/416626
@@ -86,7 +8... | Use threaded version of Rust function | py |
diff --git a/src/sp_test/base.py b/src/sp_test/base.py
index <HASH>..<HASH> 100644
--- a/src/sp_test/base.py
+++ b/src/sp_test/base.py
@@ -315,13 +315,19 @@ class Conversation():
Un-solicited starts with the IDP sending something.
"""
if len(flow) >= 3:
+ logger.info("TEST FLOW: St... | Added logging for each step of the sequence's flow so it's easier to understand where something goes wrong if a test fails. | py |
diff --git a/djangoplugins/models.py b/djangoplugins/models.py
index <HASH>..<HASH> 100644
--- a/djangoplugins/models.py
+++ b/djangoplugins/models.py
@@ -109,8 +109,8 @@ class Plugin(DirtyFieldsMixin, models.Model):
def save(self, *args, **kwargs):
if "status" in self.get_dirty_fields().keys() and self.p... | Signal.send instead of "send_safe" | py |
diff --git a/analyzers/Fortiguard/urlcategory.py b/analyzers/Fortiguard/urlcategory.py
index <HASH>..<HASH> 100755
--- a/analyzers/Fortiguard/urlcategory.py
+++ b/analyzers/Fortiguard/urlcategory.py
@@ -15,7 +15,7 @@ class URLCategoryAnalyzer(Analyzer):
if 'category' in raw:
r = raw.get('categor... | <I> #<I> fix/remove " in short report | py |
diff --git a/pymc/gp/cov.py b/pymc/gp/cov.py
index <HASH>..<HASH> 100644
--- a/pymc/gp/cov.py
+++ b/pymc/gp/cov.py
@@ -526,7 +526,7 @@ class Exponential(Stationary):
.. math::
- k(x, x') = \mathrm{exp}\left[ -\frac{||x - x'||}{2\ell^2} \right]
+ k(x, x') = \mathrm{exp}\left[ -\frac{||x - x'||}{2\el... | Updated ExpQuad docstring (#<I>) * Updated ExpQuad docstring * Changed fix to correct docstring | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -69,7 +69,6 @@ _CLASSIFIERS = ["Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2.6",
"Programming Language :: Pytho... | change: remove python <I> from the supported platform list | py |
diff --git a/salt/states/pkg.py b/salt/states/pkg.py
index <HASH>..<HASH> 100644
--- a/salt/states/pkg.py
+++ b/salt/states/pkg.py
@@ -744,6 +744,8 @@ def installed(
for i in not_modified_hold:
comment.append(i['comment'])
+ result = True
+
if failed:
if sources:
su... | Don't return 'True' for failing package installations. | py |
diff --git a/looper/models.py b/looper/models.py
index <HASH>..<HASH> 100644
--- a/looper/models.py
+++ b/looper/models.py
@@ -202,7 +202,7 @@ class AttributeDict(MutableMapping):
format(key, self.__dict__[key].keys()))
elif value is not None or \
key not in self.__dict... | logger's not an instance attr | py |
diff --git a/build.py b/build.py
index <HASH>..<HASH> 100755
--- a/build.py
+++ b/build.py
@@ -410,8 +410,10 @@ virtual('plovr', PLOVR_JAR)
@target(PLOVR_JAR, clean=False)
def plovr_jar(t):
+ t.info('downloading %r', t.name)
t.download('https://plovr.googlecode.com/files/' +
os.path.basename... | Add logging messages to indicate when a download is in progress | py |
diff --git a/PyFunceble/config/loader.py b/PyFunceble/config/loader.py
index <HASH>..<HASH> 100644
--- a/PyFunceble/config/loader.py
+++ b/PyFunceble/config/loader.py
@@ -290,7 +290,7 @@ class ConfigLoader:
config = self.dict_helper.from_yaml_file(self.path_to_config)
else:
- config =... | Ensure that the configuration is a dictionnary instead of a box. This patch fixes #<I>. Indeed, before this patch, if we are savin Boxes, the generated YAML files becomes incorrect. That leaded to the issue #<I>. This patch fix it by ensuring that the read configuration is in dict format. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -147,7 +147,11 @@ def main():
keywords='telegram api chat client library messaging mtproto',
packages=find_packages(exclude=[
'telethon_generator', 'telethon_tests', 'run_tests.py',
-... | Fix telethon_generator/ package not being excluded from PyPi | py |
diff --git a/tests/test_kitsune.py b/tests/test_kitsune.py
index <HASH>..<HASH> 100644
--- a/tests/test_kitsune.py
+++ b/tests/test_kitsune.py
@@ -242,7 +242,8 @@ class TestKitsuneBackendArchive(TestCaseBackendArchive):
def setUp(self):
super().setUp()
- self.backend = Kitsune(KITSUNE_SERVER_URL,... | [tests] Modify kitsune tests when fetching from archive This patch adds two different backend objects (one fetches data from remote a data source and the other one from an archive) in order to ensure that backend and method params are initialized in the same way independently from which method is called (fetch or fetc... | py |
diff --git a/datanommer.consumer/datanommer/consumer/__init__.py b/datanommer.consumer/datanommer/consumer/__init__.py
index <HASH>..<HASH> 100644
--- a/datanommer.consumer/datanommer/consumer/__init__.py
+++ b/datanommer.consumer/datanommer/consumer/__init__.py
@@ -34,6 +34,12 @@ class Nommer(fedmsg.consumers.FedmsgCo... | allow overriding the default "*" subscription There are cases where a client may not want to consume all messages (or may not have the permissions to do so). This change allows the default subscription to the "*" topic to be overridden via the config. | py |
diff --git a/wafer/settings.py b/wafer/settings.py
index <HASH>..<HASH> 100644
--- a/wafer/settings.py
+++ b/wafer/settings.py
@@ -121,7 +121,7 @@ TEMPLATES = [
]
-MIDDLEWARE_CLASSES = (
+MIDDLEWARE = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
... | MIDDLEWARE_CLASSES was replaced with MIDDLEWARE | py |
diff --git a/zengine/views/crud.py b/zengine/views/crud.py
index <HASH>..<HASH> 100644
--- a/zengine/views/crud.py
+++ b/zengine/views/crud.py
@@ -547,11 +547,20 @@ class CrudView(BaseView):
"""
actions = []
- if self.Meta.object_actions:
- for perm, action in self.Meta.object_acti... | Make crud list actions overridable/extendable Crud views automatically get delete and edit actions from models, which are shown when listing the objects. This commit makes it possible to override these actions, or add new ones to extend the existing functionality. This is done by adding `crud_override_actions` and `c... | py |
diff --git a/thermo/utils.py b/thermo/utils.py
index <HASH>..<HASH> 100644
--- a/thermo/utils.py
+++ b/thermo/utils.py
@@ -2142,9 +2142,6 @@ class TDependentProperty(object):
raise ValueError("The given method is not available for this chemical")
self.T_cached = None
self._method = method... | prevent having to reload extrapolation coefficients each time method changes | py |
diff --git a/salt/modules/boto3_route53.py b/salt/modules/boto3_route53.py
index <HASH>..<HASH> 100644
--- a/salt/modules/boto3_route53.py
+++ b/salt/modules/boto3_route53.py
@@ -128,6 +128,7 @@ def _wait_for_sync(change, conn, tries=10, sleep=20):
log.error('Timed out waiting for Route53 INSYNC status.')
ret... | Fix PEP8 E<I> lint issues | py |
diff --git a/aldryn_apphook_reload/__init__.py b/aldryn_apphook_reload/__init__.py
index <HASH>..<HASH> 100644
--- a/aldryn_apphook_reload/__init__.py
+++ b/aldryn_apphook_reload/__init__.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals, absolute_import
-__version__ = 'dev'
+__vers... | bumps version to <I>a1 | py |
diff --git a/can/bus.py b/can/bus.py
index <HASH>..<HASH> 100644
--- a/can/bus.py
+++ b/can/bus.py
@@ -253,15 +253,15 @@ class BusABC(object):
if self._filters is None:
return True
- for filter in self._filters:
+ for _filter in self._filters:
# check if this filter ev... | Fix shadowing built-in name "filter" | py |
diff --git a/console/beep.py b/console/beep.py
index <HASH>..<HASH> 100644
--- a/console/beep.py
+++ b/console/beep.py
@@ -63,6 +63,8 @@ elif os_name == 'posix': # Tron leotards
if __name__ == '__main__':
import sys
+ from time import sleep
+
from console import fg, fx, defx
if '-d' in sys... | add delay for -m beep to be heard | py |
diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py
index <HASH>..<HASH> 100644
--- a/spyderlib/spyder.py
+++ b/spyderlib/spyder.py
@@ -2646,6 +2646,11 @@ class MainWindow(QMainWindow):
# To avoid a traceback after closing on Windows
if e.args[0] == eintr:
con... | Handle connection abort error on shutdown Handle a connection abort error on shutdown Revert some ws changes Revert more ws changes Revert one more ws change Revert all ws changes Add shutdown handling on windows Another ws revert Make the error check cross platform Reinstate the Econnaborted check | py |
diff --git a/pygerrit/client.py b/pygerrit/client.py
index <HASH>..<HASH> 100644
--- a/pygerrit/client.py
+++ b/pygerrit/client.py
@@ -76,10 +76,9 @@ class GerritClient(object):
data = decoder.decode(line)
except ValueError, err:
raise GerritError("Query returned invalid d... | Only add query result lines to returned data Only add JSON lines in the results if they contain "project". Otherwise the "rowCount" line, and anything else, will be included in the results as an empty Change object. Change-Id: Ia4de4ed<I>c8f5ba<I>f5e<I>dd<I>ff<I>b<I>b<I> | py |
diff --git a/examples/areas_code.py b/examples/areas_code.py
index <HASH>..<HASH> 100755
--- a/examples/areas_code.py
+++ b/examples/areas_code.py
@@ -30,13 +30,13 @@ import configparser
import re
-import events
-
import certifi
-from enrich import FileType
+from enrich.enrich import FileType, ToUTF8
+
+from ev... | Fix Areas of Code example to fit new directories structure Changes are focused on the new path for the methods used in both places: imports and in the code. | py |
diff --git a/bigchaindb/common/schema/__init__.py b/bigchaindb/common/schema/__init__.py
index <HASH>..<HASH> 100644
--- a/bigchaindb/common/schema/__init__.py
+++ b/bigchaindb/common/schema/__init__.py
@@ -23,15 +23,20 @@ def _validate_schema(schema, body):
TX_SCHEMA_PATH, TX_SCHEMA = _load_schema('transaction')
... | refactor schema __init__ slightly | py |
diff --git a/send_self.py b/send_self.py
index <HASH>..<HASH> 100644
--- a/send_self.py
+++ b/send_self.py
@@ -439,6 +439,7 @@ class WeakGeneratorWrapper(object):
:return bool:
Whether the generator has terminated.
"""
+ # TOCHECK relies on generator.gi_frame
# Equivalent ... | Mention reliance on undocumented behavior | py |
diff --git a/tornado/httpclient.py b/tornado/httpclient.py
index <HASH>..<HASH> 100644
--- a/tornado/httpclient.py
+++ b/tornado/httpclient.py
@@ -228,12 +228,8 @@ class AsyncHTTPClient(Configurable):
if not isinstance(request, HTTPRequest):
request = HTTPRequest(url=request, **kwargs)
el... | raise ValueError if supply both a request object and **kwargs | py |
diff --git a/cumulus/authentication.py b/cumulus/authentication.py
index <HASH>..<HASH> 100644
--- a/cumulus/authentication.py
+++ b/cumulus/authentication.py
@@ -127,5 +127,7 @@ class Auth(object):
"""
try:
return self.container.get_object(name)
- except pyrax.exceptions.NoSuchObj... | handle case when swiftclient is not installed | py |
diff --git a/tests/surface_properties.py b/tests/surface_properties.py
index <HASH>..<HASH> 100755
--- a/tests/surface_properties.py
+++ b/tests/surface_properties.py
@@ -35,7 +35,10 @@ import numpy as np
import ase
import ase.io
-from ase.atoms import string2symbols
+try:
+ from ase.symbols import string2symbol... | MAINT: string2symbols has moved to ase.symbols | py |
diff --git a/python_modules/dagster/dagster_tests/scheduler_tests/test_scheduler_run.py b/python_modules/dagster/dagster_tests/scheduler_tests/test_scheduler_run.py
index <HASH>..<HASH> 100644
--- a/python_modules/dagster/dagster_tests/scheduler_tests/test_scheduler_run.py
+++ b/python_modules/dagster/dagster_tests/sch... | [easy] fix windows scheduler tests Summary: Cron is not a thing on windows Test Plan: BK + Azure Reviewers: johann, alangenfeld, prha Reviewed By: johann Differential Revision: <URL> | py |
diff --git a/chess/gaviota.py b/chess/gaviota.py
index <HASH>..<HASH> 100644
--- a/chess/gaviota.py
+++ b/chess/gaviota.py
@@ -44,7 +44,7 @@ except ImportError:
LOGGER = logging.getLogger(__name__)
-NOSQUARE = 0
+NOSQUARE = 64
NOINDEX = -1
MAX_KKINDEX = 462
@@ -1831,7 +1831,7 @@ class PythonTablebases(object):... | Set NOSQUARE to <I> | py |
diff --git a/main.py b/main.py
index <HASH>..<HASH> 100644
--- a/main.py
+++ b/main.py
@@ -1,4 +1,11 @@
"""Temp file that lets you run the system
+
+Quick start instructions:
+1. Set up the ReplicaSet.
+2. Connect to the primary
+3. Run main.py
+4. Start adding documents to the primary. Confirm changes via Solr web ... | added brief instructions to main.py | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ from setuptools import setup
setup(
name='opp',
- version='1.2.0',
+ version='1.2.1',
description='Python wrapper for OPP',
author='PAY.ON',
author_email='opp@payon.com',
@@ -30,5 +3... | bump point version in setup.py | py |
diff --git a/tests/test_self.py b/tests/test_self.py
index <HASH>..<HASH> 100644
--- a/tests/test_self.py
+++ b/tests/test_self.py
@@ -563,10 +563,8 @@ class TestRunTC(object):
a.join("b.py").write(b_code)
a.join("c.py").write(c_code)
- curdir = os.getcwd()
- try:
+ with tmp... | CLeanup tmpdir related code in test py.path.as_cwd is a nice ctx manager that can be used in one test instead of a try/finally block. | py |
diff --git a/umap/tests/test_umap.py b/umap/tests/test_umap.py
index <HASH>..<HASH> 100644
--- a/umap/tests/test_umap.py
+++ b/umap/tests/test_umap.py
@@ -501,7 +501,7 @@ def test_umap_transform_on_iris():
embedding = fitter.transform(new_data)
trust = trustworthiness(new_data, embedding, 10)
- assert_gr... | Leniency in test of transform. | py |
diff --git a/holoviews/core/data.py b/holoviews/core/data.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/data.py
+++ b/holoviews/core/data.py
@@ -244,6 +244,8 @@ class Columns(Element):
and a function to apply or a mapping between the dimensions and
functions to apply along each dimension.
... | Improved input validation for reduce and aggregate methods | py |
diff --git a/aiogram/types/chat.py b/aiogram/types/chat.py
index <HASH>..<HASH> 100644
--- a/aiogram/types/chat.py
+++ b/aiogram/types/chat.py
@@ -64,6 +64,19 @@ class Chat(base.TelegramObject):
if as_html:
return markdown.hlink(name, self.user_url)
return markdown.link(name, self.user_ur... | Add .get_url() method Use this method to get chat link. Private chat returns user link. Other chat types return either username link (if they are public) or invite link (if they are private). | py |
diff --git a/tilequeue/process.py b/tilequeue/process.py
index <HASH>..<HASH> 100644
--- a/tilequeue/process.py
+++ b/tilequeue/process.py
@@ -81,9 +81,16 @@ def _postprocess_data(feature_layers, post_process_data,
tile_coord, unpadded_bounds, padded_bounds,
config_file_pat... | Have a different cache for each post-process step. | py |
diff --git a/tensorpack/dataflow/imgaug/paste.py b/tensorpack/dataflow/imgaug/paste.py
index <HASH>..<HASH> 100644
--- a/tensorpack/dataflow/imgaug/paste.py
+++ b/tensorpack/dataflow/imgaug/paste.py
@@ -45,7 +45,7 @@ class ConstantBackgroundFiller(BackgroundFiller):
def _fill(self, background_shape, img):
... | Fix shape in background filler (fix #<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
@@ -1059,8 +1059,8 @@ class BoxPlot(ChartPlot):
data.append(group[group.vdims[0]])
labels.append(label)
... | Simplified style filtering on BoxPlot | py |
diff --git a/bin/VV_main.py b/bin/VV_main.py
index <HASH>..<HASH> 100755
--- a/bin/VV_main.py
+++ b/bin/VV_main.py
@@ -307,5 +307,5 @@ file.write('</BODY>\n')
file.write('</HTML>\n')
file.close()
-print "LIVV Completed. Go to " + options.html_link + "/livv/livv_kit_main.html to view results"
+print "LIVV Completed.... | I think this will fix the "two livvs" problem where it's printing the wrong file after LIVV finishes. git-svn-id: <URL> | py |
diff --git a/tests/tools/test_results.py b/tests/tools/test_results.py
index <HASH>..<HASH> 100644
--- a/tests/tools/test_results.py
+++ b/tests/tools/test_results.py
@@ -51,19 +51,6 @@ class TestCalculateStats(object):
check_dtype=False,
check_index_type=False)
- # @pytest.mark.dependenc... | rm obsolete pytest dependency | py |
diff --git a/pyipmi/ipmitool.py b/pyipmi/ipmitool.py
index <HASH>..<HASH> 100755
--- a/pyipmi/ipmitool.py
+++ b/pyipmi/ipmitool.py
@@ -556,7 +556,7 @@ COMMAND_HELP = (
CommandHelp('sdr', None,
'Print Sensor Data Repository entries and readings'),
CommandHelp('sdr list', None, 'List al... | ipmitool: Fix description of 'sdr show' command | py |
diff --git a/usb/backend/libusb1.py b/usb/backend/libusb1.py
index <HASH>..<HASH> 100644
--- a/usb/backend/libusb1.py
+++ b/usb/backend/libusb1.py
@@ -600,9 +600,10 @@ class _ConfigDescriptor(object):
# initialize and finalize the library
class _Initializer(object):
def __init__(self):
- _check(_lib.libus... | Use an explicit context to initialize libusb 1.x. closes #<I> When combining PyUSB with another module that makes use of libusb, we may end up with a double free inside libusb_exit, or a application hang. We now use an explicit context object when initializing and exiting the libusb library to avoid this problem. | py |
diff --git a/pymatgen/analysis/defects/core.py b/pymatgen/analysis/defects/core.py
index <HASH>..<HASH> 100644
--- a/pymatgen/analysis/defects/core.py
+++ b/pymatgen/analysis/defects/core.py
@@ -101,6 +101,13 @@ class Defect(six.with_metaclass(ABCMeta, MSONable)):
"""
return
+ def set_charge(self... | add set_charge method for Defect in core | py |
diff --git a/iron_cache.py b/iron_cache.py
index <HASH>..<HASH> 100644
--- a/iron_cache.py
+++ b/iron_cache.py
@@ -118,7 +118,7 @@ class IronCache:
(int, long)):
value = json.dumps(value)
- options["body"] = value
+ options["value"] = value
body = json.dumps(option... | change put format to {"value": <data>} (from {"body": <data>}) | py |
diff --git a/grimoire_elk/elk/askbot.py b/grimoire_elk/elk/askbot.py
index <HASH>..<HASH> 100644
--- a/grimoire_elk/elk/askbot.py
+++ b/grimoire_elk/elk/askbot.py
@@ -87,19 +87,33 @@ class AskbotEnrich(Enrich):
def get_elastic_mappings(self):
+ from grimoire_elk.utils import kibiter_version
+
+ f... | [enrich][askbot] Fix aggregatable property in author_badges and question tags | py |
diff --git a/ratcave/shader.py b/ratcave/shader.py
index <HASH>..<HASH> 100644
--- a/ratcave/shader.py
+++ b/ratcave/shader.py
@@ -51,7 +51,12 @@ class UniformCollection(IterableUserDict, object):
shader_id = c_int(0)
gl.glGetIntegerv(gl.GL_CURRENT_PROGRAM, byref(shader_id))
if sh... | added a more helpful error message to the "shader not bound" situation. | py |
diff --git a/sonnet/__init__.py b/sonnet/__init__.py
index <HASH>..<HASH> 100644
--- a/sonnet/__init__.py
+++ b/sonnet/__init__.py
@@ -59,9 +59,11 @@ from sonnet.python.modules.basic import BatchFlatten
from sonnet.python.modules.basic import BatchReshape
from sonnet.python.modules.basic import FlattenTrailingDimensi... | Make merge_leading_dims and split_leading_dim part of the public sonnet API. PiperOrigin-RevId: <I> | py |
diff --git a/test/functional/test_orm_config.py b/test/functional/test_orm_config.py
index <HASH>..<HASH> 100644
--- a/test/functional/test_orm_config.py
+++ b/test/functional/test_orm_config.py
@@ -5,8 +5,8 @@ from sqlalchemy.exc import IntegrityError
from ambry.orm.config import Config
-from test.test_base impor... | Config tests use proto library. #<I>. | py |
diff --git a/version.py b/version.py
index <HASH>..<HASH> 100644
--- a/version.py
+++ b/version.py
@@ -31,8 +31,8 @@ long_description = """
The STANFORD CNI MRS ANALYSIS LIBRARY (SMAL)
--------------------------------------------
-This library contains implementations
-
+This library contains implementations of an... | DOC: A bit more detail here. But just a little. | py |
diff --git a/neo/Core/Block.py b/neo/Core/Block.py
index <HASH>..<HASH> 100644
--- a/neo/Core/Block.py
+++ b/neo/Core/Block.py
@@ -25,7 +25,7 @@ class Block(BlockBase, InventoryMixin):
# 该区块的区块头
# < / summary >
- __header = None
+ _header = None
__is_trimmed = False
# < summary >
@@ -10... | Replace name mangling private with 'regular' private | py |
diff --git a/dohq_artifactory/exception.py b/dohq_artifactory/exception.py
index <HASH>..<HASH> 100644
--- a/dohq_artifactory/exception.py
+++ b/dohq_artifactory/exception.py
@@ -1,5 +1,3 @@
-from json import JSONDecodeError
-
import requests
@@ -25,7 +23,7 @@ def raise_for_status(response):
try:
... | Specifically handle JSONDecodeError as returned by requests requests has a compat module that will use simplejson if it is available within the environment. We should catch the exception outlined in this module as it will reflect the json decoder used by requests. Note that requests.exceptions.JSONDecodeError, and su... | py |
diff --git a/cartoframes/context.py b/cartoframes/context.py
index <HASH>..<HASH> 100644
--- a/cartoframes/context.py
+++ b/cartoframes/context.py
@@ -239,9 +239,10 @@ class CartoContext(object):
for t in subtables)
_ = self.sql_client.send(drops)
except ... | clearer erroring when dataframe upload fails | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -58,24 +58,21 @@ try:
from setuptools import setup
params = {
- 'install_requires': ['pyasn1>=0.1.8', 'pysmi'],
+ 'install_requires': ['pyasn1>=0.1.8', 'pysmi', 'pycryptodome'],
'zip_safe': T... | obsolete PyCrypto-on-Windows workaround dropped | py |
diff --git a/OpenTokSDK.py b/OpenTokSDK.py
index <HASH>..<HASH> 100644
--- a/OpenTokSDK.py
+++ b/OpenTokSDK.py
@@ -347,4 +347,4 @@ class OpenTokSDK(object):
raise RequestError("An unexpected error occurred", response.status_code)
def _sign_string(self, string, secret):
- return hmac.new(secre... | ADD support for secret in unicode format | py |
diff --git a/subdownloader/provider/opensubtitles.py b/subdownloader/provider/opensubtitles.py
index <HASH>..<HASH> 100644
--- a/subdownloader/provider/opensubtitles.py
+++ b/subdownloader/provider/opensubtitles.py
@@ -82,8 +82,8 @@ class OpenSubtitles(SubtitleProvider):
if self.logged_in():
def l... | opensubtitles: do not check result when logging out | py |
diff --git a/src/fuzzfetch/fetch.py b/src/fuzzfetch/fetch.py
index <HASH>..<HASH> 100644
--- a/src/fuzzfetch/fetch.py
+++ b/src/fuzzfetch/fetch.py
@@ -457,12 +457,12 @@ class Fetcher(object):
# If start date is outside the range of the newest/oldest available build, adjust it
if asc:
... | Ensure nearest ranges use the minimal boundary | py |
diff --git a/cqlengine/tests/query/test_updates.py b/cqlengine/tests/query/test_updates.py
index <HASH>..<HASH> 100644
--- a/cqlengine/tests/query/test_updates.py
+++ b/cqlengine/tests/query/test_updates.py
@@ -173,12 +173,13 @@ class QueryUpdateTests(BaseCassEngTestCase):
self.assertEqual(obj.text_list, ["foo... | Updates the prepend to list test to make sure order is preserved when multiple items are prepended | py |
diff --git a/python/sdss_access/path/path.py b/python/sdss_access/path/path.py
index <HASH>..<HASH> 100644
--- a/python/sdss_access/path/path.py
+++ b/python/sdss_access/path/path.py
@@ -1112,6 +1112,26 @@ class Path(BasePath):
subdir = "{:0>4d}".format(designid100) + "XX"
return subdir
+ def hea... | Added healpixgrp() to path.py | py |
diff --git a/changes/cli.py b/changes/cli.py
index <HASH>..<HASH> 100644
--- a/changes/cli.py
+++ b/changes/cli.py
@@ -197,13 +197,14 @@ def changelog(arguments):
)
log.info('Added content to CHANGELOG.md')
- execute(
- ['git', 'ci', '-m', '"%s"' % new_version, '%s/__init__.py' % app_name],
- ... | Add an option to commit the automatic changelog | py |
diff --git a/arca/exceptions.py b/arca/exceptions.py
index <HASH>..<HASH> 100644
--- a/arca/exceptions.py
+++ b/arca/exceptions.py
@@ -23,9 +23,12 @@ class BuildError(ArcaException):
self.extra_info = extra_info
def __str__(self):
+ extra_info = self.extra_info
+ if isinstance(extra_info, ... | If BuildError extra_info contains a traceback, print only the traceback | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ from setuptools import find_packages, setup
if sys.argv[-1] == 'publish':
- os.system('python setup.py sdist upload')
+ os.system('python setup.py sdist bdist_wheel upload')
sys.exit()
version =... | python setup.py sdist bdist_wheel upload | py |
diff --git a/openquake/server/db/upgrade_manager.py b/openquake/server/db/upgrade_manager.py
index <HASH>..<HASH> 100644
--- a/openquake/server/db/upgrade_manager.py
+++ b/openquake/server/db/upgrade_manager.py
@@ -222,7 +222,7 @@ class UpgradeManager(object):
versions = [s['version'] for s in scripts]
... | Make 'oq-engine --upgrade-db' consistent with the new oq command Former-commit-id: 3c<I>a4ca<I>b<I>f<I>d4a<I>a<I>fb3f0c5c<I> | py |
diff --git a/phonopy/api_phonopy.py b/phonopy/api_phonopy.py
index <HASH>..<HASH> 100644
--- a/phonopy/api_phonopy.py
+++ b/phonopy/api_phonopy.py
@@ -259,6 +259,7 @@ class Phonopy(object):
def set_nac_params(self, nac_params=None):
self._nac_params = nac_params
+ self._set_dynamical_matrix()
... | Minor fix to call _set_dynamical_matrix at correct order when with nac_params | py |
diff --git a/gwpy/timeseries/io/gwf/lalframe.py b/gwpy/timeseries/io/gwf/lalframe.py
index <HASH>..<HASH> 100644
--- a/gwpy/timeseries/io/gwf/lalframe.py
+++ b/gwpy/timeseries/io/gwf/lalframe.py
@@ -225,4 +225,4 @@ def write(
add_(frame, lalseries)
# write frame
- lalframe.FrameWrite(frame, outfile)
... | gwpy.timeseries.io: fix `Path` compatibility with LALFrame I/O | py |
diff --git a/swiftly/cli.py b/swiftly/cli.py
index <HASH>..<HASH> 100644
--- a/swiftly/cli.py
+++ b/swiftly/cli.py
@@ -397,7 +397,11 @@ Issues a DELETE request of the [path] given.""".strip(),
'instead of 1.')
self._main_parser = _OptionParser(version='%prog 1.0',
- usage='Usage:... | Added note about url encoding. | py |
diff --git a/tests/formats/visual.py b/tests/formats/visual.py
index <HASH>..<HASH> 100644
--- a/tests/formats/visual.py
+++ b/tests/formats/visual.py
@@ -196,3 +196,18 @@ class VisualFormatReaderTestCase(unittest.TestCase):
self._drop_header('DELIM')
reader = VisualFormatReader(self.fp)
self... | Added tests for OBSTYPE header. | py |
diff --git a/validator/tests/sawtooth_suites/ts_nightly_poet1.py b/validator/tests/sawtooth_suites/ts_nightly_poet1.py
index <HASH>..<HASH> 100644
--- a/validator/tests/sawtooth_suites/ts_nightly_poet1.py
+++ b/validator/tests/sawtooth_suites/ts_nightly_poet1.py
@@ -32,7 +32,8 @@ LOGGER = logging.getLogger(__name__)
... | Set default connectivity in nightly tests. | py |
diff --git a/runners/vr/runners/base.py b/runners/vr/runners/base.py
index <HASH>..<HASH> 100644
--- a/runners/vr/runners/base.py
+++ b/runners/vr/runners/base.py
@@ -44,15 +44,16 @@ class BaseRunner(object):
try:
cmd = self.commands[args.command]
- # Commands that have a lock=False a... | Don't feign to trap KeyErrors for file locking operations. | py |
diff --git a/MAVProxy/modules/lib/grapher.py b/MAVProxy/modules/lib/grapher.py
index <HASH>..<HASH> 100755
--- a/MAVProxy/modules/lib/grapher.py
+++ b/MAVProxy/modules/lib/grapher.py
@@ -18,6 +18,8 @@ from pymavlink import mavutil
import threading
import numpy as np
+MAVGRAPH_DEBUG = 'MAVGRAPH_DEBUG' in os.environ
... | grapher: fixed handling of bad simple expressions fails on RAD.RSSI as RSSI is a valid message. Also added MAVGRAPH_DEBUG for easier debugging | py |
diff --git a/galpy/orbit_src/linearOrbit.py b/galpy/orbit_src/linearOrbit.py
index <HASH>..<HASH> 100644
--- a/galpy/orbit_src/linearOrbit.py
+++ b/galpy/orbit_src/linearOrbit.py
@@ -39,6 +39,7 @@ class linearOrbit(OrbitTop):
HISTORY:
2010-07-13 - Written - Bovy (NYU)
"""
+ if metho... | make sure non-planarOrbts keep working for now | py |
diff --git a/raiden/network/rpc/client.py b/raiden/network/rpc/client.py
index <HASH>..<HASH> 100644
--- a/raiden/network/rpc/client.py
+++ b/raiden/network/rpc/client.py
@@ -30,6 +30,7 @@ from web3.contract import Contract, ContractFunction
from web3.eth import Eth
from web3.exceptions import BlockNotFound, Transact... | enabled `simple_cache_middleware`. introducing the same cache as used in the scenario player. | py |
diff --git a/yhy/__init__.py b/yhy/__init__.py
index <HASH>..<HASH> 100644
--- a/yhy/__init__.py
+++ b/yhy/__init__.py
@@ -1 +1 @@
-__version__ = '0.0.4'
+__version__ = '0.0.5' | Bump versino to <I> | py |
diff --git a/grandalf/layouts.py b/grandalf/layouts.py
index <HASH>..<HASH> 100644
--- a/grandalf/layouts.py
+++ b/grandalf/layouts.py
@@ -419,6 +419,7 @@ class SugiyamaLayout(object):
try:
self.layers[r].append(v)
except IndexError:
+ assert r==len(self.layers)
s... | assert new rank is ok with append | py |
diff --git a/src/transformers/trainer.py b/src/transformers/trainer.py
index <HASH>..<HASH> 100755
--- a/src/transformers/trainer.py
+++ b/src/transformers/trainer.py
@@ -705,7 +705,7 @@ class Trainer:
print(output)
def _prepare_inputs(
- self, inputs: Dict[str, Union[torch.Tensor, Any]], mod... | removed redundant arg in prepare_inputs (#<I>) * removed redundant arg in prepare_inputs * made same change in prediction_loop | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ REQUIRES = []
setup(
name='stackinabox',
- version='0.1',
+ version='0.2',
description='OpenStack/Rackspace Service Testing Suite',
license='Apache License 2.0',
url='https://github.co... | Update setup.py Updating version since we made a release | py |
diff --git a/pyspectral/utils.py b/pyspectral/utils.py
index <HASH>..<HASH> 100644
--- a/pyspectral/utils.py
+++ b/pyspectral/utils.py
@@ -433,7 +433,7 @@ def download_luts(**kwargs):
else:
aerosol_types = HTTPS_RAYLEIGH_LUTS.keys()
- chunk_size = 10124
+ chunk_size = 4096
for subname in ae... | Adjust ftp download chunk size and adjust the number of expected iterations to be an integer | py |
diff --git a/openquake/engine/calculators/risk/hazard_getters.py b/openquake/engine/calculators/risk/hazard_getters.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/calculators/risk/hazard_getters.py
+++ b/openquake/engine/calculators/risk/hazard_getters.py
@@ -115,7 +115,9 @@ class HazardGetter(object):
def ... | Fixed a bug when there are no GMVs close to the given assets Former-commit-id: c<I>e<I>dfa1cf<I>a<I>d4be<I>acd<I>ca<I>b5 | py |
diff --git a/mdp.py b/mdp.py
index <HASH>..<HASH> 100644
--- a/mdp.py
+++ b/mdp.py
@@ -96,7 +96,7 @@ from math import ceil, log, sqrt
from random import randint, random
from time import time
-from numpy import absolute, array, diag, empty, matrix, mean, mod, multiply
+from numpy import absolute, array, diag, empty,... | remove import of matrix from numpy | py |
diff --git a/rope/refactor/extract.py b/rope/refactor/extract.py
index <HASH>..<HASH> 100644
--- a/rope/refactor/extract.py
+++ b/rope/refactor/extract.py
@@ -657,7 +657,8 @@ class _VariableReadsAndWritesFinder(object):
def _FunctionDef(self, node):
self.written.add(node.name)
visitor = _Variable... | extract: fixed finding variable reads in functions | py |
diff --git a/picotui/screen.py b/picotui/screen.py
index <HASH>..<HASH> 100644
--- a/picotui/screen.py
+++ b/picotui/screen.py
@@ -35,6 +35,15 @@ KEY_TAB = b"\t"
KEY_SHIFT_TAB = b"\x1b[Z"
KEY_ESC = 20
KEY_F1 = 30
+KEY_F2 = 31
+KEY_F3 = 32
+KEY_F4 = 33
+KEY_F5 = b'\x1b[15~'
+KEY_F6 = b'\x1b[17~'
+KEY_F7 = b'\x1b[18~'... | screen: Add F2-F<I> keys. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.