diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/eventsourcing/tests/test_stored_events.py b/eventsourcing/tests/test_stored_events.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/tests/test_stored_events.py
+++ b/eventsourcing/tests/test_stored_events.py
@@ -376,18 +376,18 @@ class ConcurrentStoredEventRepositoryTestCase(AbstractStoredEventRepository... | Increased level of contention in OCC test, because it was failing on Travis with pypy. | py |
diff --git a/fitsio/fitslib.py b/fitsio/fitslib.py
index <HASH>..<HASH> 100644
--- a/fitsio/fitslib.py
+++ b/fitsio/fitslib.py
@@ -140,7 +140,7 @@ def read_scamp_head(fname, header=None):
header: FITSHDR, optional
Optionally combine the header with the input one. The input can
- be anything objec... | update docs on read scamp | py |
diff --git a/sos/plugins/apparmor.py b/sos/plugins/apparmor.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/apparmor.py
+++ b/sos/plugins/apparmor.py
@@ -25,7 +25,15 @@ class Apparmor(Plugin, UbuntuPlugin):
def setup(self):
self.add_copy_spec([
- "/etc/apparmor"
+ "/etc/apparmor*"... | [apparmor] Capture AppArmor profiles and status Captures /etc/apparmor.d for profiles Excludes /cache - because it's not config. Excludes libvirt/libvirt because it can grow quite large and the TEMPLATE file should usually be enough. Excludes abstractions because they are usually not modified and are large. For bot... | py |
diff --git a/zappa/cli.py b/zappa/cli.py
index <HASH>..<HASH> 100644
--- a/zappa/cli.py
+++ b/zappa/cli.py
@@ -1585,6 +1585,7 @@ class ZappaCLI(object):
env_zappa_settings = {
env_name: {
's3_bucket': env_bucket,
+ 'project_name': self.get_project_na... | Added project name to the init. Put get project name into its own method now that it is used in two places. In case we ever change project_name generation going forward. | py |
diff --git a/openquake/baselib/parallel.py b/openquake/baselib/parallel.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/parallel.py
+++ b/openquake/baselib/parallel.py
@@ -708,7 +708,9 @@ class Starmap(object):
# populating Starmap.task_ids, used in celery_cleanup
self.task_ids.append(t... | Removing iter_native [skip CI] | py |
diff --git a/astroplan/utils.py b/astroplan/utils.py
index <HASH>..<HASH> 100644
--- a/astroplan/utils.py
+++ b/astroplan/utils.py
@@ -92,9 +92,16 @@ def _get_IERS_A_table(warn_update=14*u.day):
if IERS_A_in_cache():
table = iers.IERS_Auto.open()
# Use polar motion flag to identify last observati... | Different strategy for measuring the last date in the IERS table Adding fallback prediction option for IERS tables | py |
diff --git a/lib/webaccessadmin_lib.py b/lib/webaccessadmin_lib.py
index <HASH>..<HASH> 100644
--- a/lib/webaccessadmin_lib.py
+++ b/lib/webaccessadmin_lib.py
@@ -909,11 +909,13 @@ def perform_accesspolicy(req, callback='yes', confirm=0):
account_policy[1] = "Users can register new accounts. Admin users must activ... | WebAccess: fix Access policy page * When CFG_ACCESS_CONTROL_LEVEL_SITE was set to the valid value of 3 or CFG_ACCESS_CONTROL_LEVEL_ACCOUNTS was set to the valid value of 5, accessing the Access policy page of WebAccess Admin interface would have caused an unhandled exception. This is now fixed. Thanks to Alex... | py |
diff --git a/satpy/writers/__init__.py b/satpy/writers/__init__.py
index <HASH>..<HASH> 100644
--- a/satpy/writers/__init__.py
+++ b/satpy/writers/__init__.py
@@ -174,7 +174,7 @@ def to_image(dataset, copy=True, **kwargs):
if 'bands' in dataset.dims:
return Image([dataset.sel(bands=0).values, dataset.sel(... | Fix to_image for 2d data | py |
diff --git a/tornado/log.py b/tornado/log.py
index <HASH>..<HASH> 100644
--- a/tornado/log.py
+++ b/tornado/log.py
@@ -110,6 +110,7 @@ class LogFormatter(logging.Formatter):
logging.INFO: 2, # Green
logging.WARNING: 3, # Yellow
logging.ERROR: 1, # Red
+ logging.CRITICAL: 5, # Magen... | Added color for logging.CRITICAL = 5 (Magenta). Fixed #<I>. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -22,8 +22,8 @@ def buildKeywordDictionary():
setupKeywords["license"] = "GPL 2.0"
setupKeywords["url"] = "http://github.com/choderalab/pymbar"
setupKeywords["download_url"] = "http:/... | Added testsystems to setup.py | py |
diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index <HASH>..<HASH> 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -3014,16 +3014,15 @@ class _DataFrameFormatter(object):
else:
fmt_index = [index.format(name=show_index_names)]
- # empty space for columns
- ... | ENH: change display to be tighter, less wasted space | py |
diff --git a/astrobase/lcproc.py b/astrobase/lcproc.py
index <HASH>..<HASH> 100644
--- a/astrobase/lcproc.py
+++ b/astrobase/lcproc.py
@@ -6936,6 +6936,7 @@ def parallel_tfa_worker(task):
sigclip=sigclip)
if res:
LOGINFO('%s -> %s TFA OK' % (lcfile, res))
+ ... | lcproc: minor fix | py |
diff --git a/mayavi_examples/plot_3d.py b/mayavi_examples/plot_3d.py
index <HASH>..<HASH> 100644
--- a/mayavi_examples/plot_3d.py
+++ b/mayavi_examples/plot_3d.py
@@ -11,9 +11,25 @@ in order to test the autonomy of the gallery.
# Code source: Alex Gramfort
# License: BSD 3 clause
+# sphinx_gallery_thumbnail_number ... | Tweak mayavi example to highlight gotchas with ordering of matplotlib and mayavi figures within a cell. Also use sphinx_gallery_thumbnail_number to show how it is impacted by figure ordering. | py |
diff --git a/tests/test_views_login.py b/tests/test_views_login.py
index <HASH>..<HASH> 100644
--- a/tests/test_views_login.py
+++ b/tests/test_views_login.py
@@ -1,3 +1,4 @@
+import json
from unittest import mock
from django.conf import settings
@@ -397,6 +398,19 @@ class LoginTest(UserMixin, TestCase):
#... | Check that session doesn't contain password | py |
diff --git a/src/boost/python/server.py b/src/boost/python/server.py
index <HASH>..<HASH> 100644
--- a/src/boost/python/server.py
+++ b/src/boost/python/server.py
@@ -866,6 +866,7 @@ def __server_run(classes, args=None, msg_stream=sys.stdout, util=None,
util = PyTango.Util(args)
if gevent_mode:
+ ... | In gevent mode set the serialization model to NO_SYNC | py |
diff --git a/redbeat/schedulers.py b/redbeat/schedulers.py
index <HASH>..<HASH> 100644
--- a/redbeat/schedulers.py
+++ b/redbeat/schedulers.py
@@ -55,7 +55,7 @@ def redis(app=None):
app = app_or_default(app)
conf = ensure_conf(app)
if not hasattr(app, 'redbeat_redis') or app.redbeat_redis is None:
- ... | typo, get info from celery app conf, not redbeat conf | py |
diff --git a/openquake/commonlib/readinput.py b/openquake/commonlib/readinput.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/readinput.py
+++ b/openquake/commonlib/readinput.py
@@ -793,9 +793,8 @@ def get_exposure(oqparam):
asset_id, ', '.join(missing))
for cost_type in missing:
... | Made a check on the costs less strict | py |
diff --git a/pyqode/core/api/utils.py b/pyqode/core/api/utils.py
index <HASH>..<HASH> 100644
--- a/pyqode/core/api/utils.py
+++ b/pyqode/core/api/utils.py
@@ -569,10 +569,12 @@ class TextHelper(object):
"""
text_cursor = self._editor.textCursor()
if keep_position:
- pos = text_curs... | Fix cursor selection lost after case conversion Close #OpenCobolIDE/OpenCobolIDE#<I> | py |
diff --git a/pyqode/python/__init__.py b/pyqode/python/__init__.py
index <HASH>..<HASH> 100644
--- a/pyqode/python/__init__.py
+++ b/pyqode/python/__init__.py
@@ -8,5 +8,10 @@ dedicated workers for the backend.
"""
__version__ = '2.4.dev'
-# load pyqode.python resources (code completion icons)
-from pyqode.python._... | Ignore import error to allow the backend to run with interpreter where pyqt/pyside is not available | py |
diff --git a/flask_sqlalchemy/__init__.py b/flask_sqlalchemy/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_sqlalchemy/__init__.py
+++ b/flask_sqlalchemy/__init__.py
@@ -36,7 +36,10 @@ __version__ = '2.3.2'
# the best timer function for the platform
if sys.platform == 'win32':
- _timer = time.clock
+ if ... | replace time.clock with perf_counter for py3 | py |
diff --git a/nodeconductor/structure/tests/factories.py b/nodeconductor/structure/tests/factories.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/structure/tests/factories.py
+++ b/nodeconductor/structure/tests/factories.py
@@ -111,3 +111,14 @@ class ResourceQuotaFactory(factory.DjangoModelFactory):
ram = facto... | factory for new model (itacloud-<I>) | py |
diff --git a/plugins/__init__.py b/plugins/__init__.py
index <HASH>..<HASH> 100644
--- a/plugins/__init__.py
+++ b/plugins/__init__.py
@@ -273,8 +273,9 @@ class BasePluginInternal(controller.CementBaseController):
return self.enumerate(url, base_url, scanning_method, iterator,
max_plugins, thr... | fix bugs that weren't caught by the tests | py |
diff --git a/FlowCal/excel_ui.py b/FlowCal/excel_ui.py
index <HASH>..<HASH> 100644
--- a/FlowCal/excel_ui.py
+++ b/FlowCal/excel_ui.py
@@ -212,10 +212,10 @@ def write_workbook(filename, table_list, column_width=None):
def process_beads_table(beads_table,
instruments_table,
- ... | Fixed default directories in Excel UI functions. | py |
diff --git a/sitetree/models.py b/sitetree/models.py
index <HASH>..<HASH> 100644
--- a/sitetree/models.py
+++ b/sitetree/models.py
@@ -23,8 +23,8 @@ class CharFieldNullable(models.CharField):
class Tree(models.Model):
- alias = models.CharField(_('Alias'), max_length=80, help_text=_('Short name to address site ... | Updated Tree.alias and Tree.title params. | py |
diff --git a/wal_e/worker/s3_worker.py b/wal_e/worker/s3_worker.py
index <HASH>..<HASH> 100644
--- a/wal_e/worker/s3_worker.py
+++ b/wal_e/worker/s3_worker.py
@@ -69,8 +69,17 @@ def do_partition_put(backup_s3_prefix, tpart, rate_limit):
tpart.tarfile_write(compression_p.stdin, rate_limit=rate_limit)
c... | Avoid deadlock when writing to lzop subprocess I must be frank, I've done all sorts of instrumentation but I am unsure why deadlock occurs when one calls wait() immediately after flush and close. I have done some instrumentation and cannot confirm the existence of any writes that are pending to the lzo stdin process ... | py |
diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/integration/__init__.py
+++ b/tests/integration/__init__.py
@@ -60,12 +60,6 @@ from salt.utils.nb_popen import NonBlockingPopen
from salt.exceptions import SaltClientError
try:
- from salt.utils.git... | Remove git_pillar warning from integration suite startup This is no longer needed since the git_pillar configuration has been removed from the suite's master config file now that git_pillar integration tests have been added. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,6 @@ import os
import sys
import warnings
-from aredis import __version__
try:
from setuptools import setup
@@ -107,7 +106,7 @@ f.close()
setup(
name='aredis',
- version=__version__,
+ version... | Fixbug: ModuleNotFoundError raised when install aredis <I> with Python <I> (#<I>) | py |
diff --git a/src/pyechonest/track.py b/src/pyechonest/track.py
index <HASH>..<HASH> 100644
--- a/src/pyechonest/track.py
+++ b/src/pyechonest/track.py
@@ -331,7 +331,7 @@ def _analyze(md5_or_trackID, wait=True):
params = {'api_key':config.ECHO_NEST_API_KEY,
'version': 3,
'analys... | bugfix: identifier var should have been md5_or_trackID | py |
diff --git a/kafka_scanner/__init__.py b/kafka_scanner/__init__.py
index <HASH>..<HASH> 100644
--- a/kafka_scanner/__init__.py
+++ b/kafka_scanner/__init__.py
@@ -385,7 +385,6 @@ class KafkaScanner(object):
read_batch_count += 1
if len(messages) == max_next_messages:
... | reduce unneeded last offsets log lines | py |
diff --git a/ceph_deploy/tests/test_install.py b/ceph_deploy/tests/test_install.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/tests/test_install.py
+++ b/ceph_deploy/tests/test_install.py
@@ -9,6 +9,7 @@ class TestSanitizeArgs(object):
self.args = Mock()
# set the default behavior we set in cli.py
... | more tests cases for the sanitizer args function | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,10 @@ with open('sendgrid/version.py') as f:
exec(f.read())
def getRequires():
- deps = ['python_http_client>=3.2.1']
+ deps = [
+ 'python_http_client>=3.2.1',
+ 'starkbank-ecdsa>=1.0.0'
+ ... | fix: add dependency to install requires (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -40,7 +40,7 @@ install_requires = [
setup(
name='nodeconductor',
- version='0.23.0',
+ version='0.24.0',
author='OpenNode Team',
author_email='info@opennodecloud.com',
url='https://github.com/openn... | Preparing <I> release | py |
diff --git a/bcbio/variation/vcfutils.py b/bcbio/variation/vcfutils.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/vcfutils.py
+++ b/bcbio/variation/vcfutils.py
@@ -4,6 +4,7 @@
from collections import namedtuple, defaultdict
import copy
import os
+import pprint
import shutil
import subprocess
@@ -370,11 +3... | Debugging output for failing GatherVcfs #<I> | py |
diff --git a/pycbc/waveform/decompress_cpu.py b/pycbc/waveform/decompress_cpu.py
index <HASH>..<HASH> 100644
--- a/pycbc/waveform/decompress_cpu.py
+++ b/pycbc/waveform/decompress_cpu.py
@@ -43,10 +43,10 @@ def inline_linear_interp(amp, phase, sample_frequencies, output,
hlen = len(output)
delta_f = float(df)... | Swap around arguments inside of inline_linear_interp (#<I>) * Swap around arguments inside of inline_linear_interp * Try to make codeclimate stop whining | py |
diff --git a/nfc/__init__.py b/nfc/__init__.py
index <HASH>..<HASH> 100644
--- a/nfc/__init__.py
+++ b/nfc/__init__.py
@@ -19,7 +19,7 @@
# See the Licence for the specific language governing
# permissions and limitations under the Licence.
# ---------------------------------------------------------------------------... | use branch name as version identifier | py |
diff --git a/c7n/utils.py b/c7n/utils.py
index <HASH>..<HASH> 100644
--- a/c7n/utils.py
+++ b/c7n/utils.py
@@ -33,31 +33,23 @@ from six.moves.urllib import parse as urlparse
from c7n.exceptions import ClientError, PolicyValidationError
from c7n import ipaddress, config
-# Try to place nice in lambda exec environmen... | core - yaml utils simplify conditional import (#<I>) | py |
diff --git a/treeherder/config/settings.py b/treeherder/config/settings.py
index <HASH>..<HASH> 100644
--- a/treeherder/config/settings.py
+++ b/treeherder/config/settings.py
@@ -81,11 +81,11 @@ MIDDLEWARE_CLASSES = [middleware for middleware in [
'django.middleware.gzip.GZipMiddleware',
'debug_toolbar.middle... | Bug <I> - Correct the ordering of CorsMiddleware Since the docs say it should come before Django's `CommonMiddleware`: <URL> | py |
diff --git a/tile_generator/config.py b/tile_generator/config.py
index <HASH>..<HASH> 100644
--- a/tile_generator/config.py
+++ b/tile_generator/config.py
@@ -25,6 +25,23 @@ import requests
CONFIG_FILE = "tile.yml"
HISTORY_FILE = "tile-history.yml"
+# The Config object describes exactly what the Tile Generator is g... | Segregated transform() and added documentation for it | py |
diff --git a/chicken_turtle_util/path.py b/chicken_turtle_util/path.py
index <HASH>..<HASH> 100644
--- a/chicken_turtle_util/path.py
+++ b/chicken_turtle_util/path.py
@@ -19,11 +19,12 @@
Extensions to pathlib.
'''
+from chicken_turtle_util.test import assert_text_equals
+from contextlib import suppress
from pathli... | path.chmod: Ignore disappearing children When recursively chmodding a dir and a child disappears right before we chmod it, ignore the FileNotFoundError | py |
diff --git a/haproxy/main.py b/haproxy/main.py
index <HASH>..<HASH> 100644
--- a/haproxy/main.py
+++ b/haproxy/main.py
@@ -157,7 +157,7 @@ def print_commands():
description = eval('dummy_log_file.cmd_{0}.__doc__'.format(cmd))
if description:
description = re.sub(r'\n\s+', ' ', description... | strip() returns a new string It must be assigned to a variable. | py |
diff --git a/tests/test_regression_krige.py b/tests/test_regression_krige.py
index <HASH>..<HASH> 100644
--- a/tests/test_regression_krige.py
+++ b/tests/test_regression_krige.py
@@ -21,7 +21,7 @@ except ImportError:
def _methods():
krige_methods = ["ordinary", "universal"]
ml_methods = [
- SVR(C=0.01... | Tests: since test was written pre sklearn-<I>, use the old gamma convention | py |
diff --git a/ella/core/models.py b/ella/core/models.py
index <HASH>..<HASH> 100644
--- a/ella/core/models.py
+++ b/ella/core/models.py
@@ -118,6 +118,7 @@ class Category(models.Model):
ordering = ('tree_path', 'title',)
verbose_name = _('Category')
verbose_name_plural = _('Categories')
+ ... | added meta option to Category - order with respect to site git-svn-id: <URL> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@ def get_version():
REQUIRES = [
'appdirs>=1.4.3,<2.0',
- 'carto>=1.9.0,<2.0',
+ 'carto>=1.9.1,<2.0',
'jinja2>=2.10.1,<3.0',
'geopandas>=0.6.0,<1.0',
'tqdm>=4.32.1,<5.0', | Raise min version of carto to <I> | py |
diff --git a/tornado/web.py b/tornado/web.py
index <HASH>..<HASH> 100644
--- a/tornado/web.py
+++ b/tornado/web.py
@@ -961,6 +961,10 @@ class Application(object):
spec = URLSpec(pattern, handler, kwargs)
handlers.append(spec)
if spec.name:
+ if spec.name in self... | Log a warning when multiple handlers have the same name. | py |
diff --git a/test/genomeintervaltree_test.py b/test/genomeintervaltree_test.py
index <HASH>..<HASH> 100644
--- a/test/genomeintervaltree_test.py
+++ b/test/genomeintervaltree_test.py
@@ -42,12 +42,6 @@ def test_ensGene():
ensGene = GenomeIntervalTree.from_table(url=ensGene_url, mode='cds', parser=UCSCTable.ENS_GEN... | removed redundant smoke test, since it is the same as the first smoke test and the data is updated frequently | py |
diff --git a/astrobase/checkplotlist.py b/astrobase/checkplotlist.py
index <HASH>..<HASH> 100644
--- a/astrobase/checkplotlist.py
+++ b/astrobase/checkplotlist.py
@@ -118,8 +118,13 @@ def main(args=None):
currdir = os.getcwd()
- searchresults = glob.glob(os.path.join(checkplotbasedir,
- ... | added file glob option to checkplotlist | py |
diff --git a/hydpy/__init__.py b/hydpy/__init__.py
index <HASH>..<HASH> 100644
--- a/hydpy/__init__.py
+++ b/hydpy/__init__.py
@@ -180,6 +180,8 @@ from hydpy.exe.servertools import (
)
+__version__ = "4.0a18"
+
pub.options = optiontools.Options()
pub.indexer = indextools.Indexer()
pub.config = configutils.Confi... | Make HydPy's version number programmatically available via a __version__ attribute following PEP <I>. First step to solve issue hydpy-dev/OpenDA#3. | py |
diff --git a/datatableview/columns.py b/datatableview/columns.py
index <HASH>..<HASH> 100644
--- a/datatableview/columns.py
+++ b/datatableview/columns.py
@@ -299,7 +299,7 @@ class Column(six.with_metaclass(ColumnMetaclass)):
class TextColumn(Column):
model_field_class = models.CharField
handles_field_classe... | Remove iexact from default CharField queries iexact is redundant if icontains finds the row, and iexact will never match when icontains failed. | py |
diff --git a/ratcave/coordinates.py b/ratcave/coordinates.py
index <HASH>..<HASH> 100644
--- a/ratcave/coordinates.py
+++ b/ratcave/coordinates.py
@@ -51,6 +51,30 @@ class Coordinates(IterObservable):
self[-1] = value
@property
+ def xy(self):
+ return self[-3:-1]
+
+ @xy.setter
+ def xy... | added two-component properties (and setters) to the Coordinates class | py |
diff --git a/autopep8.py b/autopep8.py
index <HASH>..<HASH> 100755
--- a/autopep8.py
+++ b/autopep8.py
@@ -651,7 +651,7 @@ class FixPEP8(object):
"""
from lib2to3 import pgen2
try:
- new_text = refactor_with_2to3(self.source,
+ new_text = refactor_with_2to3(''.join(self.... | Move joining out of refactor_with_2to3() | py |
diff --git a/deploy-cluster-aws/fabfile.py b/deploy-cluster-aws/fabfile.py
index <HASH>..<HASH> 100644
--- a/deploy-cluster-aws/fabfile.py
+++ b/deploy-cluster-aws/fabfile.py
@@ -6,7 +6,7 @@ BigchainDB, including its storage backend (RethinkDB).
from __future__ import with_statement, unicode_literals
from os import... | Use import sys rather than from sys etc. | py |
diff --git a/numexpr/cpuinfo.py b/numexpr/cpuinfo.py
index <HASH>..<HASH> 100644
--- a/numexpr/cpuinfo.py
+++ b/numexpr/cpuinfo.py
@@ -25,7 +25,7 @@ def getoutput(cmd, successful_status=(0,), stacklevel=1):
status, output = commands.getstatusoutput(cmd)
except EnvironmentError, e:
warnings.warn(s... | fix getoutput when there is an exception, closes issues #<I> and #<I> | py |
diff --git a/karaage/projects/views.py b/karaage/projects/views.py
index <HASH>..<HASH> 100644
--- a/karaage/projects/views.py
+++ b/karaage/projects/views.py
@@ -143,9 +143,18 @@ def project_verbose(request, project_id):
@login_required
-def project_list(request, template_name='projects/project_list.html', pagina... | Make project_list generic. So we don't need to duplicate code. Note projects_by_cap_used is still completely broken, despite the fact we got rid of the error. List is empty. Change-Id: I<I>be<I>d<I>eaa4fa<I>ecf<I>dc6ec<I> | py |
diff --git a/bika/lims/browser/worksheet/views/add_analyses.py b/bika/lims/browser/worksheet/views/add_analyses.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/worksheet/views/add_analyses.py
+++ b/bika/lims/browser/worksheet/views/add_analyses.py
@@ -135,18 +135,18 @@ class AddAnalysesView(BikaListingView):
... | working on add_analyses Conflicts: bika/lims/browser/worksheet/views/add_analyses.py | py |
diff --git a/flask_oidc/__init__.py b/flask_oidc/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_oidc/__init__.py
+++ b/flask_oidc/__init__.py
@@ -38,8 +38,7 @@ from flask import request, session, redirect, url_for, g, current_app, abort
from oauth2client.client import flow_from_clientsecrets, OAuth2WebServerFlow,... | Depend on expiration of OIDC token to expire cookie Fixes: #<I> | py |
diff --git a/angr/analyses/decompiler/ailblock_walker.py b/angr/analyses/decompiler/ailblock_walker.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/decompiler/ailblock_walker.py
+++ b/angr/analyses/decompiler/ailblock_walker.py
@@ -243,6 +243,7 @@ class AILBlockWalker:
if changed:
new_expr = ex... | AILBlockWalker: Update new_expr.depth after replacing operands. | py |
diff --git a/manticore/platforms/linux.py b/manticore/platforms/linux.py
index <HASH>..<HASH> 100644
--- a/manticore/platforms/linux.py
+++ b/manticore/platforms/linux.py
@@ -257,7 +257,7 @@ class Socket(object):
def sync(self):
raise BadFd("Invalid sync() operation on Socket")
- def seek(self):
+ ... | Changed Socket parameters to accept seek paramaters (#<I>) | py |
diff --git a/expfactory/views/utils.py b/expfactory/views/utils.py
index <HASH>..<HASH> 100644
--- a/expfactory/views/utils.py
+++ b/expfactory/views/utils.py
@@ -55,6 +55,9 @@ def perform_checks(template, do_redirect=False, context=None):
next = app.get_next(session)
session['exp_id'] = next
+ # Update ... | modified: views/utils.py | py |
diff --git a/plenum/server/primary_selector.py b/plenum/server/primary_selector.py
index <HASH>..<HASH> 100644
--- a/plenum/server/primary_selector.py
+++ b/plenum/server/primary_selector.py
@@ -96,15 +96,11 @@ class PrimarySelector(PrimaryDecider):
def on_catchup_complete(self):
# Select primaries after ... | INDY-<I>: Primary selector fix | py |
diff --git a/salt/master.py b/salt/master.py
index <HASH>..<HASH> 100644
--- a/salt/master.py
+++ b/salt/master.py
@@ -392,6 +392,9 @@ class AESFuncs(object):
or not clear_load.has_key('tok')\
or not clear_load.has_key('id'):
return {}
+ # If the command will make a... | Prevent minion publications from becoming recursive, that would be bad | py |
diff --git a/jumeaux/executor.py b/jumeaux/executor.py
index <HASH>..<HASH> 100644
--- a/jumeaux/executor.py
+++ b/jumeaux/executor.py
@@ -8,7 +8,7 @@ Usage
Usage:
jumeaux --config=<yaml> [--title=<title>] [--description=<description>] [--threads=<threads>] [<files>...]
- jumeaux retry [--title=<title>] [--thre... | :skull: Fix bug that can't specify description on retry | py |
diff --git a/astropy_helpers/sphinx/ext/tests/test_automodapi.py b/astropy_helpers/sphinx/ext/tests/test_automodapi.py
index <HASH>..<HASH> 100644
--- a/astropy_helpers/sphinx/ext/tests/test_automodapi.py
+++ b/astropy_helpers/sphinx/ext/tests/test_automodapi.py
@@ -314,7 +314,7 @@ am_replacer_cython_expected = """
Th... | add the additional header -'s needed | py |
diff --git a/pyinfra/api/inventory.py b/pyinfra/api/inventory.py
index <HASH>..<HASH> 100644
--- a/pyinfra/api/inventory.py
+++ b/pyinfra/api/inventory.py
@@ -236,24 +236,9 @@ class Inventory(object):
'''
if not self.state or not self.state.active_hosts:
- for host in six.itervalues(self.... | Make inventory length and iter simple again by just using `state.active_hosts`. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -27,6 +27,11 @@ setup(
author="Adam Johnson",
author_email="me@adamj.eu",
url="https://github.com/adamchainz/django-mysql",
+ project_urls={
+ "Changelog": (
+ "https://github.com/adamchainz... | Add PyPI changelog link (#<I>) | py |
diff --git a/tests/unit/states/test_svn.py b/tests/unit/states/test_svn.py
index <HASH>..<HASH> 100644
--- a/tests/unit/states/test_svn.py
+++ b/tests/unit/states/test_svn.py
@@ -104,13 +104,18 @@ class SvnTestCase(TestCase, LoaderModuleMockMixin):
with patch.dict(svn.__opts__, {'test': False}):
... | fixed test for svn.export | py |
diff --git a/lib/elements/bfe_fulltext.py b/lib/elements/bfe_fulltext.py
index <HASH>..<HASH> 100644
--- a/lib/elements/bfe_fulltext.py
+++ b/lib/elements/bfe_fulltext.py
@@ -218,7 +218,8 @@ def get_files(bfo):
'documents.cern.ch' in url or \
'doc.cern.ch' in url or \
... | BibFormat: fixed old CERN doc URL redirecting to ArXiv * Fixed parsing of old CERN doc server links when trying to redirect to ArXiv. | py |
diff --git a/lurklib/connection.py b/lurklib/connection.py
index <HASH>..<HASH> 100755
--- a/lurklib/connection.py
+++ b/lurklib/connection.py
@@ -142,19 +142,15 @@ class _Connection(object):
def _password(self, password):
"""
Authenticates with the IRC server.
+ NOTE: Method will not rais... | Updated _password() to use new self._recv(). | py |
diff --git a/beeswarm/drones/drone.py b/beeswarm/drones/drone.py
index <HASH>..<HASH> 100644
--- a/beeswarm/drones/drone.py
+++ b/beeswarm/drones/drone.py
@@ -258,8 +258,9 @@ class Drone(object):
gevent.sleep()
def _handle_delete(self):
+ if self.drone:
self.drone.stop()
- log... | handling delete of non-configured drone | py |
diff --git a/citrination_client/models/client.py b/citrination_client/models/client.py
index <HASH>..<HASH> 100644
--- a/citrination_client/models/client.py
+++ b/citrination_client/models/client.py
@@ -128,7 +128,7 @@ class ModelsClient(BaseClient):
return self._get_success_json(self._get(routes.data_analysis... | Catch a few dangling examples of "from_distribution" | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ import sys, os
options = {
'name':'Aston',
- 'version':'0.2.3',
+ 'version':'0.3.0',
'description':'Mass/UV Spectral Analysis Program',
'author':'Roderick Bovee',
'author_email':'bovee... | Changed version number to <I> in anticipation of release (someday). | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ from os import path
here = path.abspath(path.dirname(__file__))
__author__ = 'Magnus Knutas'
-VERSION = '1.2.5'
+VERSION = '1.2.6'
with open("README.md", "r") as fh:
long_description = fh.read() | new version Took <I> seconds | py |
diff --git a/spyder/utils/iofuncs.py b/spyder/utils/iofuncs.py
index <HASH>..<HASH> 100644
--- a/spyder/utils/iofuncs.py
+++ b/spyder/utils/iofuncs.py
@@ -348,7 +348,6 @@ def load_dictionary(filename):
tar.extractall()
data_file = osp.basename(filename)
pickle_filename = osp.splitext(data_f... | Added exception control when temporal dir is removed | py |
diff --git a/safe/storage/test_io.py b/safe/storage/test_io.py
index <HASH>..<HASH> 100644
--- a/safe/storage/test_io.py
+++ b/safe/storage/test_io.py
@@ -218,7 +218,7 @@ class Test_IO(unittest.TestCase):
test_reading_and_writing_of_vector_point_data.slow = True
- def test_reading_and_writing_of_sqlite_vect... | Disabled test which is work in progress - Sorry | py |
diff --git a/GPy/core/parameterization/updateable.py b/GPy/core/parameterization/updateable.py
index <HASH>..<HASH> 100644
--- a/GPy/core/parameterization/updateable.py
+++ b/GPy/core/parameterization/updateable.py
@@ -15,14 +15,6 @@ class Updateable(Observable):
def __init__(self, *args, **kwargs):
super... | [Updateable] deprecated updates | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -19,10 +19,10 @@ setup(
url="https://github.com/datasift/datasift-python",
packages=['datasift'],
install_requires=[
- 'requests>=2.2.0',
- 'autobahn>=0.7.4',
- 'six>=1.5.2',
- 'twist... | swapped requirements to less than for stability reasons | py |
diff --git a/dsub/lib/param_util.py b/dsub/lib/param_util.py
index <HASH>..<HASH> 100644
--- a/dsub/lib/param_util.py
+++ b/dsub/lib/param_util.py
@@ -517,6 +517,12 @@ def tasks_file_to_task_descriptors(tasks, retries, input_file_param_util,
task_min = tasks.get('min')
task_max = tasks.get('max')
+ # First che... | Reject launching jobs if blank lines found in tasks file. PiperOrigin-RevId: <I> | py |
diff --git a/src/pyctools/core/config.py b/src/pyctools/core/config.py
index <HASH>..<HASH> 100644
--- a/src/pyctools/core/config.py
+++ b/src/pyctools/core/config.py
@@ -141,7 +141,7 @@ class ConfigPath(ConfigLeafNode):
super(ConfigPath, self).__init__(**kw)
def validate(self, value):
- if not i... | Initialise str config to '' instead of None | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -45,10 +45,6 @@ setuptools.setup(
description="A Python helper to drive a TripleO based installer.",
long_description=_README_CONTENT,
install_requires=_get_requirements(),
- dependency_links=[
- "http... | drop the dependency on dciclient python-tripleo-helper does not use dciclient anymore. Let's kill the dependency. Change-Id: I0e1f<I>d<I>f6b<I>b<I>a<I>c3c<I>ecde5 | py |
diff --git a/yoke/deploy.py b/yoke/deploy.py
index <HASH>..<HASH> 100644
--- a/yoke/deploy.py
+++ b/yoke/deploy.py
@@ -262,4 +262,7 @@ class Deployment(object):
def _format_vpc_config(self):
# todo(ryandub): Add VPC support
- return {}
+ return {
+ 'SecurityGroupIds': [],
+ ... | Update VpcConfig format AWS introduced a bug to the Lambda API that resulted in error messages if VpcConfig was passed as an empty dict. Adding the SecurityGroupIds and SubnetIds as empty arrays should workaround this bug. See <URL> | py |
diff --git a/nameko/rpc.py b/nameko/rpc.py
index <HASH>..<HASH> 100644
--- a/nameko/rpc.py
+++ b/nameko/rpc.py
@@ -231,10 +231,12 @@ class ReplyListener(object):
self.reply_queue = Queue(
self.reply_queue_name, exchange=exchange, exclusive=True)
+ qc = get_queue_consumer(srv_ctx)
+ ... | consumers must (currently) all be added before any consumption starts | py |
diff --git a/GPy/core/parameterised.py b/GPy/core/parameterised.py
index <HASH>..<HASH> 100644
--- a/GPy/core/parameterised.py
+++ b/GPy/core/parameterised.py
@@ -191,8 +191,8 @@ class parameterised(object):
self.constrain(which, transformations.logistic(lower, upper))
def all_constrained_indices(self):... | fixed a bug in all_constrained_indices | py |
diff --git a/dddp/test/__init__.py b/dddp/test/__init__.py
index <HASH>..<HASH> 100644
--- a/dddp/test/__init__.py
+++ b/dddp/test/__init__.py
@@ -3,14 +3,14 @@ import os
import sys
import dddp
-import django
-from django.test.utils import get_runner
-from django.conf import settings
def run_tests():
os.e... | Apply gevent monkey patching before importing django (which imports threading). | py |
diff --git a/tests/messaging.py b/tests/messaging.py
index <HASH>..<HASH> 100755
--- a/tests/messaging.py
+++ b/tests/messaging.py
@@ -349,7 +349,7 @@ def facade_setup(helper):
return self.pattern.pop(0)
def request():
- request = Request(client,
+ request = FullRequest(client,
... | Update the tests for the messaging module. | py |
diff --git a/adafruit_platformdetect/chip.py b/adafruit_platformdetect/chip.py
index <HASH>..<HASH> 100644
--- a/adafruit_platformdetect/chip.py
+++ b/adafruit_platformdetect/chip.py
@@ -80,7 +80,7 @@ class Chip:
linux_id = GENERIC_X86
compatible = self.detector.get_device_compatible()
-... | fix broken travis runs due to blinka not installing on the virtual linux | py |
diff --git a/src/highlights/command.py b/src/highlights/command.py
index <HASH>..<HASH> 100644
--- a/src/highlights/command.py
+++ b/src/highlights/command.py
@@ -35,7 +35,7 @@ def highlight_main():
if stripped.startswith('@'):
in_header = False
else:
- if not stripped.... | Fix str#startswith(tuple) does not support in python<I> | py |
diff --git a/djstripe/views.py b/djstripe/views.py
index <HASH>..<HASH> 100644
--- a/djstripe/views.py
+++ b/djstripe/views.py
@@ -129,7 +129,7 @@ class WebHook(View):
traceback=""
)
else:
- event = Event._create_from_stripe_object(data)
+ event = Event._crea... | Avoid saving Event twice event.validate() will call save() all on its own. | py |
diff --git a/neo4jrestclient/client.py b/neo4jrestclient/client.py
index <HASH>..<HASH> 100644
--- a/neo4jrestclient/client.py
+++ b/neo4jrestclient/client.py
@@ -1384,19 +1384,18 @@ class IndexesProxy(dict):
"Error requesting indexes with GET %s"
% ... | Fix #<I>. Support for creating spatial indexes | py |
diff --git a/pypet/tests/unittests/storage_test.py b/pypet/tests/unittests/storage_test.py
index <HASH>..<HASH> 100644
--- a/pypet/tests/unittests/storage_test.py
+++ b/pypet/tests/unittests/storage_test.py
@@ -1002,7 +1002,9 @@ class StorageTest(TrajectoryComparator):
self.assertTrue(traj.v_name == 'TestTra... | TEST: Added test for fixed loading of explored parameters bug; Added one liner to check for length of explored parameters in existing test. | py |
diff --git a/bugzilla/base.py b/bugzilla/base.py
index <HASH>..<HASH> 100644
--- a/bugzilla/base.py
+++ b/bugzilla/base.py
@@ -1197,7 +1197,8 @@ class Bugzilla(object):
sub_component=None,
tags=None,
exclude_fields=None,
- extra_fields=No... | Add limit as option to build_query Problem: In queries where the number of bugs are too large, usually we get a timeout Solution: bugzilla API provides a limit option in queries. This commit adds this option to the build_query method | py |
diff --git a/saltcloud/clouds/openstack.py b/saltcloud/clouds/openstack.py
index <HASH>..<HASH> 100644
--- a/saltcloud/clouds/openstack.py
+++ b/saltcloud/clouds/openstack.py
@@ -20,6 +20,8 @@ their web interface:
OPENSTACK.identity_url: https://region-a.geo-1.identity.hpcloudsvc.com:35357/v2.0/
# The OpenSta... | Add docstring for new service name option Compute service name isn't hardcoded anymore, provide the old value as an example | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ with open(path.join(this_directory, "README.md")) as f:
setup(
name="sentry-sdk",
- version="0.1.0-preview4",
+ version="0.1.0-preview5",
author="Sentry Team and Contributors",
author_ema... | release: <I>-preview5 | py |
diff --git a/chess/__init__.py b/chess/__init__.py
index <HASH>..<HASH> 100644
--- a/chess/__init__.py
+++ b/chess/__init__.py
@@ -854,6 +854,8 @@ class BaseBoard:
self.queens |= mask
elif piece_type == KING:
self.kings |= mask
+ else:
+ return
self.occupi... | Make _set_piece_at more robust | py |
diff --git a/release/tune_tests/cloud_tests/workloads/run_cloud_test.py b/release/tune_tests/cloud_tests/workloads/run_cloud_test.py
index <HASH>..<HASH> 100644
--- a/release/tune_tests/cloud_tests/workloads/run_cloud_test.py
+++ b/release/tune_tests/cloud_tests/workloads/run_cloud_test.py
@@ -644,9 +644,7 @@ def load_... | [tune/rllib/release] Load correct metadata file in rllib cloud tests (#<I>) Currently this tries to load a stale metadata file that doesn't exist anymore after internal refactoring. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@ install_requires = [
setup(
name='nodeconductor',
- version='0.43.0.dev0',
+ version='0.43.0',
author='OpenNode Team',
author_email='info@opennodecloud.com',
url='https://github.com/... | Preparing <I> release | py |
diff --git a/tensorflow_datasets/__init__.py b/tensorflow_datasets/__init__.py
index <HASH>..<HASH> 100644
--- a/tensorflow_datasets/__init__.py
+++ b/tensorflow_datasets/__init__.py
@@ -16,6 +16,11 @@
# pylint: disable=line-too-long
"""`tensorflow_datasets` (`tfds`) defines a collection of datasets ready-to-use with... | Add warning in API docs. Docs are from master PiperOrigin-RevId: <I> | py |
diff --git a/hypermap/aggregator/models.py b/hypermap/aggregator/models.py
index <HASH>..<HASH> 100644
--- a/hypermap/aggregator/models.py
+++ b/hypermap/aggregator/models.py
@@ -817,9 +817,12 @@ def endpointlist_post_save(instance, *args, **kwargs):
f.open(mode='rb')
lines = f.readlines()
for url in lin... | Skipping url with more than <I> characters from an endpoint list | py |
diff --git a/padua/visualize.py b/padua/visualize.py
index <HASH>..<HASH> 100644
--- a/padua/visualize.py
+++ b/padua/visualize.py
@@ -790,7 +790,7 @@ def venn(df1, df2, df3=None, labels=None, ix1=None, ix2=None, ix3=None, return_i
ax = plt.gca()
if return_intersection:
- return ax, intersection
+ ... | Futher bugfix for <I>: return list for venn diagram to allow immediate indexing | py |
diff --git a/examples/server/settings.py b/examples/server/settings.py
index <HASH>..<HASH> 100644
--- a/examples/server/settings.py
+++ b/examples/server/settings.py
@@ -21,7 +21,10 @@ ROOT_URLCONF = 'server.urls'
SECRET_KEY = 'secret'
INSTALLED_APPS = (
+ 'django.contrib.auth',
'django.contrib.contenttype... | reverted: removed INSTALLED_APPS | py |
diff --git a/.buildkite/dagster-buildkite/dagster_buildkite/utils.py b/.buildkite/dagster-buildkite/dagster_buildkite/utils.py
index <HASH>..<HASH> 100644
--- a/.buildkite/dagster-buildkite/dagster_buildkite/utils.py
+++ b/.buildkite/dagster-buildkite/dagster_buildkite/utils.py
@@ -5,6 +5,11 @@ from typing import Dict,... | chore(buildkite): mention user in private channel (#<I>) | py |
diff --git a/src/transformers/modeling_bert.py b/src/transformers/modeling_bert.py
index <HASH>..<HASH> 100755
--- a/src/transformers/modeling_bert.py
+++ b/src/transformers/modeling_bert.py
@@ -909,7 +909,7 @@ class BertForPreTraining(BertPreTrainedModel):
>>> inputs = tokenizer("Hello, my dog is cute", r... | Update modeling_bert.py (#<I>) outptus -> outputs in example of BertForPreTraining | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.