diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/tests/test_providers/test_internet.py b/tests/test_providers/test_internet.py
index <HASH>..<HASH> 100755
--- a/tests/test_providers/test_internet.py
+++ b/tests/test_providers/test_internet.py
@@ -193,9 +193,6 @@ class TestSeededInternet(object):
assert i1.image_placeholder(width=128, height=128)... | Removed stock_image from TestSeededInternet | py |
diff --git a/cli/cumulusci.py b/cli/cumulusci.py
index <HASH>..<HASH> 100644
--- a/cli/cumulusci.py
+++ b/cli/cumulusci.py
@@ -85,10 +85,16 @@ def build_router(config):
if branch.startswith('feature/'):
click.echo('-- Building with feature branch flow')
+ config.sf_username = os.environ.get('SF_U... | Switch build target orgs in build_router based on environment variable suffixes | py |
diff --git a/estnltk/taggers/web_taggers/v01/batch_processing_web_tagger.py b/estnltk/taggers/web_taggers/v01/batch_processing_web_tagger.py
index <HASH>..<HASH> 100644
--- a/estnltk/taggers/web_taggers/v01/batch_processing_web_tagger.py
+++ b/estnltk/taggers/web_taggers/v01/batch_processing_web_tagger.py
@@ -44,7 +44,... | Refactored BatchProcessingWebTagger: now join_layers_while_reusing_spans is used for joining | py |
diff --git a/microdrop/__init__.py b/microdrop/__init__.py
index <HASH>..<HASH> 100755
--- a/microdrop/__init__.py
+++ b/microdrop/__init__.py
@@ -639,7 +639,15 @@ class DmfControlBoardPlugin(Plugin, StepOptionsController, AppDataController):
interface=IWaveformGenerator)
... | Turn off all electrodes if we're not in... Turn off all electrodes if we're not in real-time mode and not running a protocol. | py |
diff --git a/handlers/intlekt/edition/visualisation.py b/handlers/intlekt/edition/visualisation.py
index <HASH>..<HASH> 100644
--- a/handlers/intlekt/edition/visualisation.py
+++ b/handlers/intlekt/edition/visualisation.py
@@ -94,14 +94,18 @@ type_to_action = {
Term.__name__.lower(): lambda json: Term(json['script... | Improve json_to_usl to be more permissive on the json structure and add better exception message. | py |
diff --git a/hca/dss/composite_commands/upload.py b/hca/dss/composite_commands/upload.py
index <HASH>..<HASH> 100644
--- a/hca/dss/composite_commands/upload.py
+++ b/hca/dss/composite_commands/upload.py
@@ -160,8 +160,12 @@ class Upload(AddedCommand):
get_resp = hca.dss.head_files(file_uuid, ve... | Fix spin loop so it detects real errors. (#<I>) When we're waiting for the async upload, we should only expect <I> (found) or <I> (not-found). Any other error code should be considered an error. | py |
diff --git a/salt/client/ssh/__init__.py b/salt/client/ssh/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/client/ssh/__init__.py
+++ b/salt/client/ssh/__init__.py
@@ -386,12 +386,18 @@ class SSH(object):
print('')
for ret in self.handle_ssh():
host = ret.keys()[0]
+ #se... | Add event firing to salt-ssh | py |
diff --git a/federation/protocols/diaspora/protocol.py b/federation/protocols/diaspora/protocol.py
index <HASH>..<HASH> 100644
--- a/federation/protocols/diaspora/protocol.py
+++ b/federation/protocols/diaspora/protocol.py
@@ -83,11 +83,11 @@ class Protocol:
self.content = self.get_message_content()
#... | Call get contact key with sender id, not handle | py |
diff --git a/mythril/laser/ethereum/call.py b/mythril/laser/ethereum/call.py
index <HASH>..<HASH> 100644
--- a/mythril/laser/ethereum/call.py
+++ b/mythril/laser/ethereum/call.py
@@ -125,8 +125,6 @@ def get_callee_account(
:param dynamic_loader: dynamic loader to use
:return: Account belonging to callee
... | Fix a bug: the key for the accounts is an integer. (#<I>) | py |
diff --git a/shinken/modules/nagios_retention_file_scheduler.py b/shinken/modules/nagios_retention_file_scheduler.py
index <HASH>..<HASH> 100644
--- a/shinken/modules/nagios_retention_file_scheduler.py
+++ b/shinken/modules/nagios_retention_file_scheduler.py
@@ -214,8 +214,15 @@ class Nagios_retention_scheduler:
... | Fix: the retention from nagios was not good about state_type. | py |
diff --git a/savepagenow/api.py b/savepagenow/api.py
index <HASH>..<HASH> 100644
--- a/savepagenow/api.py
+++ b/savepagenow/api.py
@@ -8,7 +8,6 @@ from .exceptions import (
BlockedByRobots
)
from urllib.parse import urljoin
-from requests.utils import parse_header_links
def capture(
@@ -51,14 +50,11 @@ def ... | Changed api access to match changes to archive.org responses | py |
diff --git a/aiodocker/__init__.py b/aiodocker/__init__.py
index <HASH>..<HASH> 100644
--- a/aiodocker/__init__.py
+++ b/aiodocker/__init__.py
@@ -1,7 +1,7 @@
from .docker import Docker
-__version__ = '0.14.0'
+__version__ = '0.15.0a0'
__all__ = ("Docker", ) | Bump to version <I>a0 (#<I>) | py |
diff --git a/paverutils/setup.py b/paverutils/setup.py
index <HASH>..<HASH> 100644
--- a/paverutils/setup.py
+++ b/paverutils/setup.py
@@ -22,8 +22,8 @@ setup(
name=NAME,
version=VERSION,
url = 'http://www.doughellmann.com/projects/%s/' % NAME,
- download_url = 'http://www.doughellmann.com/downloads/%... | upload packages to pypi for distribution | py |
diff --git a/django_afip/models.py b/django_afip/models.py
index <HASH>..<HASH> 100644
--- a/django_afip/models.py
+++ b/django_afip/models.py
@@ -142,7 +142,7 @@ class TaxPayer(models.Model):
_('certificate'),
null=True,
)
- cuit = models.PositiveIntegerField(
+ cuit = models.BigIntegerFie... | Fix cuit field: it was too small | py |
diff --git a/pyrogram/client.py b/pyrogram/client.py
index <HASH>..<HASH> 100644
--- a/pyrogram/client.py
+++ b/pyrogram/client.py
@@ -866,11 +866,11 @@ class Client(Methods, Scaffold):
else:
if file_id.chat_access_hash == 0:
peer = raw.types.InputPeerChat(
- ... | Fix peer ids decoding from file ids | py |
diff --git a/selenic/util.py b/selenic/util.py
index <HASH>..<HASH> 100644
--- a/selenic/util.py
+++ b/selenic/util.py
@@ -60,14 +60,11 @@ class Util(object):
def push_timeout(self, new):
self.timeouts[0:0] = [new]
- self.driver.set_script_timeout(new)
def pop_timeout(self):
if le... | The Util timeout methods exclude the script timeout. The timeout methods on Util used to also alter the script timeout but this causes *two* round-trips to the server. When testing remotely this is a significant cost, often for no good reason. So selenic no longer does this. | py |
diff --git a/demo/views.py b/demo/views.py
index <HASH>..<HASH> 100644
--- a/demo/views.py
+++ b/demo/views.py
@@ -131,17 +131,17 @@ class DemoPaginationView(TemplateView):
@property
def pagination_few_pages(self):
paginator = Paginator(self.objects, 10)
- return [paginator.page(index) for ind... | Removed step by 1 in range as this is the default | py |
diff --git a/pymatgen/analysis/phase_diagram.py b/pymatgen/analysis/phase_diagram.py
index <HASH>..<HASH> 100644
--- a/pymatgen/analysis/phase_diagram.py
+++ b/pymatgen/analysis/phase_diagram.py
@@ -366,7 +366,7 @@ class PhaseDiagram(MSONable):
self.all_entries = computed_data["all_entries"]
self.qhul... | Try a different approach for `el_refs` `CompoundPhaseDiagram` contains `DummySpecies` not `Element` | py |
diff --git a/decorating/__init__.py b/decorating/__init__.py
index <HASH>..<HASH> 100644
--- a/decorating/__init__.py
+++ b/decorating/__init__.py
@@ -24,7 +24,7 @@ from decorating.animation import animated, writing
from decorating.debugging import count_time, counter, debug
from decorating.general import cache
-__... | Release new version: <I> - <I> * use ANSI escape codes to erase lines, fix weird inverse behavior in some terminals | py |
diff --git a/pyetesync/api.py b/pyetesync/api.py
index <HASH>..<HASH> 100644
--- a/pyetesync/api.py
+++ b/pyetesync/api.py
@@ -53,12 +53,12 @@ class EteSync:
collection = Journal(journal).collection
try:
- last = journal.entries.order_by(cache.EntryEntity.id.desc()).get().uid
+ ... | Api: fix bug with integrity failing after a journal has been updated. | py |
diff --git a/phylotoast/test/test_biom_calc.py b/phylotoast/test/test_biom_calc.py
index <HASH>..<HASH> 100755
--- a/phylotoast/test/test_biom_calc.py
+++ b/phylotoast/test/test_biom_calc.py
@@ -6,13 +6,24 @@
:Abstract: Automated Tests for BIOM calculation.
"""
-import unittest
+importerrors = []
+import sys
impo... | Update test_biom_calc.py Added error checking for third party modules. [ci skip] | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
from setuptools import setup, find_packages
setup(name="pymdptoolbox",
- version="0",
+ version="4.0-b3",
author="Steven A. W. Cordwell",
author_email="steven.cordwell@uqconnect.edu.au"... | [release] Prepare for tagging <I>b3 Attempt at creating a better tagging and release process. | py |
diff --git a/LiSE/LiSE/alchemy.py b/LiSE/LiSE/alchemy.py
index <HASH>..<HASH> 100644
--- a/LiSE/LiSE/alchemy.py
+++ b/LiSE/LiSE/alchemy.py
@@ -42,29 +42,33 @@ import gorm.alchemy
TEXT = String(50)
-# Names of the different function tables, which are otherwise
-# identical.
-#
-# Function tables hold marshalled byt... | Turn a couple of comments into docstrings | py |
diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -109,7 +109,7 @@ if platform.system() == 'Darwin':
setup(
name='neuroglancer',
- version='1.1.6',
+ version='2.0',
description='Python data backend for neuroglancer, a WebGL-based... | chore(python): bump package version to <I> | py |
diff --git a/src/pyrocore/scripts/mktor.py b/src/pyrocore/scripts/mktor.py
index <HASH>..<HASH> 100644
--- a/src/pyrocore/scripts/mktor.py
+++ b/src/pyrocore/scripts/mktor.py
@@ -50,8 +50,10 @@ class MetafileCreator(ScriptBaseWithConfig):
self.add_value_option("-s", "--set", "KEY=VAL [-s ...]",
ac... | added --no-cross-seed option, same as with chtor | py |
diff --git a/haml.py b/haml.py
index <HASH>..<HASH> 100644
--- a/haml.py
+++ b/haml.py
@@ -187,7 +187,7 @@ class Parser(object):
(?:\#[\w-]+|\.[\w-]+)+
)?
''', line, re.X)
- if m and ''.join(g or '' for g in m.groups()):
+ if m and (m.group(1) is not None or m.group(2... | tag re is slightly less restrictive Will match just '%'. | py |
diff --git a/monit.py b/monit.py
index <HASH>..<HASH> 100644
--- a/monit.py
+++ b/monit.py
@@ -21,6 +21,8 @@ True
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import requests
+import time
+
class Monit(dict):
def __init__(self, host='localhost', port=2812, username=None, password='', https=Fal... | Added a check on pendingaction so update doesn't return until a service has finished stopping, added a check on monitor, when monitor is 2, service is in startup. This forces update to continue looping until the service has finished starting or stopping. You can then check to see if the service is running with running | py |
diff --git a/tornado/locks.py b/tornado/locks.py
index <HASH>..<HASH> 100644
--- a/tornado/locks.py
+++ b/tornado/locks.py
@@ -90,7 +90,6 @@ class Event(object):
Similar to `threading.Event`.
"""
def __init__(self):
- self.io_loop = ioloop.IOLoop.current()
self._condition = Condition()
... | Event.io_loop is unused. | py |
diff --git a/html5lib/__init__.py b/html5lib/__init__.py
index <HASH>..<HASH> 100644
--- a/html5lib/__init__.py
+++ b/html5lib/__init__.py
@@ -22,4 +22,4 @@ __all__ = ["HTMLParser", "parse", "parseFragment", "getTreeBuilder",
"getTreeWalker", "serialize"]
# this has to be at the top level, see how setup.... | Bump verison to release. | py |
diff --git a/emannotationschemas/contact.py b/emannotationschemas/contact.py
index <HASH>..<HASH> 100644
--- a/emannotationschemas/contact.py
+++ b/emannotationschemas/contact.py
@@ -5,7 +5,7 @@ import marshmallow as mm
class Contact(AnnotationSchema):
- area = mm.fields.Float(description="contact area")
+ s... | rejiggered according to discussion with sven | py |
diff --git a/vingd/__init__.py b/vingd/__init__.py
index <HASH>..<HASH> 100644
--- a/vingd/__init__.py
+++ b/vingd/__init__.py
@@ -1,7 +1,7 @@
"""Vingd API interface client."""
__title__ = 'vingd-api-python'
-__version__ = '0.1.3'
+__version__ = '0.1.4'
__author__ = 'Radomir Stevanovic'
__author_email__ = 'radomi... | bumped to <I> | py |
diff --git a/graphenecommon/vesting.py b/graphenecommon/vesting.py
index <HASH>..<HASH> 100644
--- a/graphenecommon/vesting.py
+++ b/graphenecommon/vesting.py
@@ -39,6 +39,7 @@ class Vesting(BlockchainObject, AbstractBlockchainInstanceProvider):
/ float(p["vesting_seconds"])
)
... | Ensure to not run division by zero | py |
diff --git a/blargg/templatetags/blargg_tags.py b/blargg/templatetags/blargg_tags.py
index <HASH>..<HASH> 100644
--- a/blargg/templatetags/blargg_tags.py
+++ b/blargg/templatetags/blargg_tags.py
@@ -8,6 +8,6 @@ register = template.Library()
@register.simple_tag
def entry_archive_year_url():
"""Renders the ``entr... | make sure archives only look for published entries | py |
diff --git a/bcbio/pipeline/genome.py b/bcbio/pipeline/genome.py
index <HASH>..<HASH> 100644
--- a/bcbio/pipeline/genome.py
+++ b/bcbio/pipeline/genome.py
@@ -49,7 +49,7 @@ def add_required_resources(resources):
["variation", "germline_het_pon"],
["variation", "train_hapmap"], ["variat... | CWL: genome_resources -> aliases -> human for non-human runs chapmanb/bcbio-nextgen#<I> | py |
diff --git a/ccmlib/repository.py b/ccmlib/repository.py
index <HASH>..<HASH> 100644
--- a/ccmlib/repository.py
+++ b/ccmlib/repository.py
@@ -37,8 +37,8 @@ def clone_development(version, verbose=False):
out = subprocess.call(['git', 'fetch', 'origin'], cwd=target_dir, stdout=lf, stderr=lf)
# now ... | removed 'origin/' from git command, which adds support for checking out tags. | py |
diff --git a/allennlp/tests/models/reading_comprehension/qanet_test.py b/allennlp/tests/models/reading_comprehension/qanet_test.py
index <HASH>..<HASH> 100644
--- a/allennlp/tests/models/reading_comprehension/qanet_test.py
+++ b/allennlp/tests/models/reading_comprehension/qanet_test.py
@@ -1,6 +1,8 @@
# pylint: disabl... | Mark QaNet test as flaky (#<I>) * Mark QaNet test as flaky * Import the decorator :facepalm: | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from codecs import open
from os import path
def readme():
- with open('README.md') as f:
+ with open('README.md', encoding='utf-8') as f:
return f.read()
setup( | Add encoding='utf-8' to opening README.md file. | py |
diff --git a/stacker/status.py b/stacker/status.py
index <HASH>..<HASH> 100644
--- a/stacker/status.py
+++ b/stacker/status.py
@@ -2,8 +2,10 @@ class Status(object):
def __init__(self, name, code, reason=None):
self.name = name
self.code = code
- self.reason = reason
+ self.reason =... | Simplify class based reasons Also simplified the reason strings themselves. | py |
diff --git a/vncdotool/client.py b/vncdotool/client.py
index <HASH>..<HASH> 100644
--- a/vncdotool/client.py
+++ b/vncdotool/client.py
@@ -290,7 +290,7 @@ class VNCDoToolClient(rfb.RFBClient):
def _expectCompare(self, data, box, maxrms):
image = self.screen.crop(box)
- hist = self.screen.histogra... | Use cropped image for compare The histogram should be computed from the cropped image not from the full screen. Otherwise, expectRegion does not work. | py |
diff --git a/scripts/nightly-test/full_test_driver.py b/scripts/nightly-test/full_test_driver.py
index <HASH>..<HASH> 100755
--- a/scripts/nightly-test/full_test_driver.py
+++ b/scripts/nightly-test/full_test_driver.py
@@ -171,10 +171,10 @@ with simple_linear_db.LinearDBWriter("result_log.txt") as result_log:
... | Pull build/*/web/ directory down when finished building | py |
diff --git a/backdrop/collector/logging_setup.py b/backdrop/collector/logging_setup.py
index <HASH>..<HASH> 100644
--- a/backdrop/collector/logging_setup.py
+++ b/backdrop/collector/logging_setup.py
@@ -2,6 +2,7 @@ from logstash_formatter import LogstashFormatter
import logging
import os
import pdb
+import sys
... | Adding uncaught exception handler We want all errors to be logged | py |
diff --git a/metasdk/services/ApiProxyService.py b/metasdk/services/ApiProxyService.py
index <HASH>..<HASH> 100644
--- a/metasdk/services/ApiProxyService.py
+++ b/metasdk/services/ApiProxyService.py
@@ -3,6 +3,7 @@ import time
import copy
import requests
+from requests.exceptions import ConnectionError
from meta... | Merge pull request #7 in ADPLATFORM/metasdk from META-<I> to master Squashed commit of the following: commit e3b<I>a<I>a<I>f7c<I>fe7f4e1e<I>d<I>c<I>af | py |
diff --git a/registrasion/tests/controller_helpers.py b/registrasion/tests/controller_helpers.py
index <HASH>..<HASH> 100644
--- a/registrasion/tests/controller_helpers.py
+++ b/registrasion/tests/controller_helpers.py
@@ -45,7 +45,7 @@ class TestingInvoiceController(InvoiceController):
self.validate_allow... | Stops testing using ManualPayment, and just uses PaymentBase instead | py |
diff --git a/tests/test_hunter.py b/tests/test_hunter.py
index <HASH>..<HASH> 100644
--- a/tests/test_hunter.py
+++ b/tests/test_hunter.py
@@ -1183,7 +1183,7 @@ def test_pid_prefix(LineMatcher, Action, force_pid, capfd):
print('ERR', err)
lm = LineMatcher(out.splitlines())
prefix = '[[]*[]] *' if force_p... | Loosen up assertion: allow ordering to be messed up. | py |
diff --git a/statsd/__init__.py b/statsd/__init__.py
index <HASH>..<HASH> 100644
--- a/statsd/__init__.py
+++ b/statsd/__init__.py
@@ -12,6 +12,9 @@ VERSION = (0, 1)
if settings:
- host = getattr(settings, 'STATSD_HOST', 'localhost')
- port = getattr(settings, 'STATSD_PORT', 8125)
- statsd = StatsClient(h... | Support Django being on the path but unused. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -38,6 +38,9 @@ else:
# requests >2.12.0 currently has strict IDNA2008 parsing that breaks on some non-compliant URIs (YouTube)
deps.append("requests>=1.0,<2.12.0")
+# this version of pycryptodome is known to work a... | add pycryptodome==<I> to the setup.py dependencies | py |
diff --git a/nodeconductor/iaas/tests/test_provisioning.py b/nodeconductor/iaas/tests/test_provisioning.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/iaas/tests/test_provisioning.py
+++ b/nodeconductor/iaas/tests/test_provisioning.py
@@ -263,8 +263,8 @@ class InstanceApiPermissionTest(UrlResolverMixin, test.APITra... | System volume doesn't change on flavor change NC-<I> | py |
diff --git a/numexpr/necompiler.py b/numexpr/necompiler.py
index <HASH>..<HASH> 100644
--- a/numexpr/necompiler.py
+++ b/numexpr/necompiler.py
@@ -63,6 +63,8 @@ vml_functions = [
"conjugate",
"arctan2",
"fmod",
+ "ceil",
+ "floor"
]
# Final addtions for Python 3 (mainly for PyTables needs) | Use VML functions for ceil and floor | py |
diff --git a/webview/guilib.py b/webview/guilib.py
index <HASH>..<HASH> 100644
--- a/webview/guilib.py
+++ b/webview/guilib.py
@@ -69,7 +69,7 @@ def initialize(forced_gui=None):
if not forced_gui:
forced_gui = 'qt' if 'KDE_FULL_SESSION' in os.environ else None
forced_gui = os.environ['PYWEBVIEW_G... | Fix choosing forced gui for edgehtml and edgechromium | py |
diff --git a/wasp_general/cli/cli.py b/wasp_general/cli/cli.py
index <HASH>..<HASH> 100644
--- a/wasp_general/cli/cli.py
+++ b/wasp_general/cli/cli.py
@@ -516,9 +516,10 @@ class WConsoleBase(WConsoleProto):
@verify_type(result=WCommandResult)
def handle_result(self, result):
+ if result.output is not None:
+ s... | wasp_general/cli/cli.py: command with no output fixed | py |
diff --git a/lib/unit_cells.py b/lib/unit_cells.py
index <HASH>..<HASH> 100644
--- a/lib/unit_cells.py
+++ b/lib/unit_cells.py
@@ -23,7 +23,7 @@ from molmod.units import angstrom
from molmod.vectors import random_orthonormal
from molmod.utils import cached, ReadOnly
-import numpy, copy
+import numpy
__all__ = ... | A few improvements found with pylint | py |
diff --git a/ovirtlago/virt.py b/ovirtlago/virt.py
index <HASH>..<HASH> 100644
--- a/ovirtlago/virt.py
+++ b/ovirtlago/virt.py
@@ -21,6 +21,7 @@ import os
import ovirtsdk.api
import lago
+from ovirtsdk.infrastructure.errors import (RequestError, ConnectionError)
import constants
import testlib
@@ -101,7 +102,8 ... | ovirtlago:not waiting if engine is not yet responsive Now it will still wait even if the engine is still not responsive though http | py |
diff --git a/LiSE/LiSE/allegedb/graph.py b/LiSE/LiSE/allegedb/graph.py
index <HASH>..<HASH> 100644
--- a/LiSE/LiSE/allegedb/graph.py
+++ b/LiSE/LiSE/allegedb/graph.py
@@ -282,7 +282,9 @@ class Node(AbstractEntityMapping):
format(node, graph.name,
type(ret).__name__))
return ret
- return super(Node, c... | Prevent extant nodes from going out of scope Seems like a brutish way to fix the heisenbug, but it seems to work... | py |
diff --git a/bibo/internals.py b/bibo/internals.py
index <HASH>..<HASH> 100644
--- a/bibo/internals.py
+++ b/bibo/internals.py
@@ -188,7 +188,6 @@ def complete_path(ctx, args, incomplete):
wildc_path = os.path.expanduser(os.path.expandvars(incomplete)) + '*'
options = []
for path in glob.glob(wildc_path)... | internals: tweak condition to improve cov | py |
diff --git a/salt/utils/find.py b/salt/utils/find.py
index <HASH>..<HASH> 100644
--- a/salt/utils/find.py
+++ b/salt/utils/find.py
@@ -74,7 +74,7 @@ the following:
group: group name
md5: MD5 digest of file contents
- mode: file permissions (as integer)
+ mode: file permissions (as as octal string)... | print option mode presented in human readable value | py |
diff --git a/girder/api/v1/item.py b/girder/api/v1/item.py
index <HASH>..<HASH> 100644
--- a/girder/api/v1/item.py
+++ b/girder/api/v1/item.py
@@ -244,7 +244,7 @@ class Item(Resource):
if format not in (None, '', 'zip'):
raise RestException('Unsupported format.')
if len(files) == 1 and fo... | Remove superfluous "None" from .get() | py |
diff --git a/memorious/logic/crawler.py b/memorious/logic/crawler.py
index <HASH>..<HASH> 100644
--- a/memorious/logic/crawler.py
+++ b/memorious/logic/crawler.py
@@ -7,6 +7,7 @@ from datetime import timedelta, datetime
from importlib import import_module
from servicelayer.cache import make_key
from servicelayer.job... | Let aggregator methods to be defined as operations as well | py |
diff --git a/scripts/pa_delete_webapp_logs.py b/scripts/pa_delete_webapp_logs.py
index <HASH>..<HASH> 100755
--- a/scripts/pa_delete_webapp_logs.py
+++ b/scripts/pa_delete_webapp_logs.py
@@ -9,8 +9,8 @@ Usage:
Options:
--domain=<domain> Domain name, eg www.mydomain.com [default: your-username.pythonanyw... | corrected help text to be parsed by docopt | py |
diff --git a/parse_this.py b/parse_this.py
index <HASH>..<HASH> 100644
--- a/parse_this.py
+++ b/parse_this.py
@@ -31,7 +31,7 @@ def _prepare_doc(func_doc, args):
help message.
Args:
- func_doc: the method docstring
+ func_doc: the function docstring
args: name of the function arguments
"""
d... | Replace the word method with function since methods are not handled | py |
diff --git a/taskforce/poll.py b/taskforce/poll.py
index <HASH>..<HASH> 100644
--- a/taskforce/poll.py
+++ b/taskforce/poll.py
@@ -235,6 +235,8 @@ class poll(object):
self._xfos.discard(fo)
def poll(self, timeout=None):
+ if not self._has_registered:
+ raise Error("poll() attempt before any objects have been... | Explicit exception when poll() called before registering anything | py |
diff --git a/isso/db/comments.py b/isso/db/comments.py
index <HASH>..<HASH> 100644
--- a/isso/db/comments.py
+++ b/isso/db/comments.py
@@ -37,6 +37,12 @@ class Comments:
Add new comment to DB and return a mapping of :attribute:`fields` and
database values.
"""
+
+ if "parent" in c:
+ ... | set parent to null if parent is not top-level comment | py |
diff --git a/src/scriptworker/cot/verify.py b/src/scriptworker/cot/verify.py
index <HASH>..<HASH> 100644
--- a/src/scriptworker/cot/verify.py
+++ b/src/scriptworker/cot/verify.py
@@ -713,7 +713,13 @@ Skipping download of this artifact'.format(
return
if path not in link.cot["artifacts"]:
- raise ... | CoT verify: Enhance error message to show the root cause of download errors may be in the upstream task | py |
diff --git a/tests/checkers/unittest_base.py b/tests/checkers/unittest_base.py
index <HASH>..<HASH> 100644
--- a/tests/checkers/unittest_base.py
+++ b/tests/checkers/unittest_base.py
@@ -22,6 +22,7 @@
"""Unittest for the base checker."""
+import os
import re
import sys
import unittest
@@ -633,3 +634,16 @@ Basic... | Check for lack of six in tox test runs | py |
diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/utils.py b/datadog_checks_dev/datadog_checks/dev/tooling/utils.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_dev/datadog_checks/dev/tooling/utils.py
+++ b/datadog_checks_dev/datadog_checks/dev/tooling/utils.py
@@ -92,7 +92,7 @@ def initialize_root(config,... | Fall back to repo_name if not in repo_choices (#<I>) | py |
diff --git a/LiSE/LiSE/engine.py b/LiSE/LiSE/engine.py
index <HASH>..<HASH> 100644
--- a/LiSE/LiSE/engine.py
+++ b/LiSE/LiSE/engine.py
@@ -1301,8 +1301,10 @@ class Engine(AbstractEngine, gORM):
exist
)
self._edges_cache.store(
- character, orig, dest, 0, branch, turn, tick, exi... | Cache new edges correctly in LiSE | py |
diff --git a/pysat/_instrument.py b/pysat/_instrument.py
index <HASH>..<HASH> 100644
--- a/pysat/_instrument.py
+++ b/pysat/_instrument.py
@@ -13,6 +13,7 @@ import os
import sys
import types
import warnings
+import weakref
import netCDF4
import numpy as np
@@ -1932,6 +1933,8 @@ class Instrument(object):
... | BUG: Updated Instrument.copy() to account for weakrefs | py |
diff --git a/cfdilib/cfdilib.py b/cfdilib/cfdilib.py
index <HASH>..<HASH> 100755
--- a/cfdilib/cfdilib.py
+++ b/cfdilib/cfdilib.py
@@ -196,8 +196,7 @@ class BaseDocument:
# TODO: Here should be called the cleanup 'Just before the validation'.
valid = self.validate(self.schema, document)
- if ... | [FIX] This if is not necessary. | py |
diff --git a/plaso/lib/engine.py b/plaso/lib/engine.py
index <HASH>..<HASH> 100644
--- a/plaso/lib/engine.py
+++ b/plaso/lib/engine.py
@@ -44,7 +44,7 @@ from plaso.lib import worker
import pytz
-__version__ = '1.0.2_dev-rc1'
+__version__ = '1.0.2_dev-rc2'
def GetTimeZoneList(): | Code review: <I>: Changing the version information to RC2. | py |
diff --git a/salt/states/kapacitor.py b/salt/states/kapacitor.py
index <HASH>..<HASH> 100644
--- a/salt/states/kapacitor.py
+++ b/salt/states/kapacitor.py
@@ -72,8 +72,11 @@ def task_present(name,
with salt.utils.fopen(script_path, 'r') as file:
new_script = file.read().replace('\t', ' ')
- is_up_... | if task is not defined, it's not up to date | py |
diff --git a/boatdclient/boatd_client.py b/boatdclient/boatd_client.py
index <HASH>..<HASH> 100644
--- a/boatdclient/boatd_client.py
+++ b/boatdclient/boatd_client.py
@@ -137,6 +137,18 @@ class Boat(object):
request = self.boatd.post({'value': float(angle)}, '/rudder')
return request.get('result')
+... | Add rudder angle and sail angle to api | py |
diff --git a/numina/core/dataholders.py b/numina/core/dataholders.py
index <HASH>..<HASH> 100644
--- a/numina/core/dataholders.py
+++ b/numina/core/dataholders.py
@@ -33,7 +33,7 @@ class EntryHolder(object):
default, choices=None, validation=True):
if tipo is None:
self.type = Nu... | Add 'list' to the list of play python types supported | py |
diff --git a/steam_idle.py b/steam_idle.py
index <HASH>..<HASH> 100755
--- a/steam_idle.py
+++ b/steam_idle.py
@@ -235,7 +235,7 @@ def main_idle(apps):
p.shutdown()
p.join()
continue
- print p, 'Sleeping for %s till %s' %(
+ print 'Sleeping for %s... | Don't print thread repr() here as we are waiting for all threads | py |
diff --git a/folium/plugins/dual_map.py b/folium/plugins/dual_map.py
index <HASH>..<HASH> 100644
--- a/folium/plugins/dual_map.py
+++ b/folium/plugins/dual_map.py
@@ -64,6 +64,7 @@ class DualMap(MacroElement):
# Important: add self to Figure last.
figure.add_child(self)
self.children_for_m2 =... | Don't copy children twice when rendering twice | py |
diff --git a/scripts/sv_classifier.py b/scripts/sv_classifier.py
index <HASH>..<HASH> 100755
--- a/scripts/sv_classifier.py
+++ b/scripts/sv_classifier.py
@@ -1,11 +1,6 @@
#!/usr/bin/env python
-<<<<<<< HEAD
-import argparse, sys
-import statsmodels
-=======
import argparse, sys, copy, gzip
->>>>>>> dev
import mat... | fix the import statements so it actually runs | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ with open('README.md', 'r') as f:
setuptools.setup(
name='keysmith',
version=__version__,
- license='MIT',
+ license='GPL',
description='Diceware-style Password Generator',
long_descri... | Fix a license inconsistency. | py |
diff --git a/bigtable/google/cloud/bigtable/row_data.py b/bigtable/google/cloud/bigtable/row_data.py
index <HASH>..<HASH> 100644
--- a/bigtable/google/cloud/bigtable/row_data.py
+++ b/bigtable/google/cloud/bigtable/row_data.py
@@ -256,7 +256,7 @@ class PartialRowsData(object):
"""Consume the next ``ReadRowsRes... | Add sentence about row ordering (#<I>) I'm not sure if this is the best place for this, but we want to make sure it's documented that rows are returned in row key order. | py |
diff --git a/asammdf/blocks/mdf_v4.py b/asammdf/blocks/mdf_v4.py
index <HASH>..<HASH> 100755
--- a/asammdf/blocks/mdf_v4.py
+++ b/asammdf/blocks/mdf_v4.py
@@ -5810,7 +5810,7 @@ class MDF4(MDF_Common):
self._parent = None
if self._tempfile is not None:
self._tempfile.close()
- if se... | don't close the _file if it is a file_like_object | py |
diff --git a/littleutils/__init__.py b/littleutils/__init__.py
index <HASH>..<HASH> 100644
--- a/littleutils/__init__.py
+++ b/littleutils/__init__.py
@@ -188,35 +188,35 @@ def retry(num_attempts=3, exception_class=Exception, log=None, sleeptime=1):
"""
>>> def fail():
... runs[0] += 1
- ... {... | Fix doctests to account for different exception reprs | py |
diff --git a/safe/messaging/__init__.py b/safe/messaging/__init__.py
index <HASH>..<HASH> 100644
--- a/safe/messaging/__init__.py
+++ b/safe/messaging/__init__.py
@@ -26,7 +26,6 @@ from .item.image import Image
from .item.heading import Heading
from .item.paragraph import Paragraph
from .item.success_paragraph impor... | Fix issue reported by quantifiedcode. | py |
diff --git a/perceval/errors.py b/perceval/errors.py
index <HASH>..<HASH> 100644
--- a/perceval/errors.py
+++ b/perceval/errors.py
@@ -49,6 +49,12 @@ class CacheError(BaseError):
message = "%(cause)s"
+class HttpClientError(BaseError):
+ """Generic error for HTTP Cient"""
+
+ message = "%(cause)s"
+
+
c... | [client] Add error for the generic HTTP client A new type of error, tailored to the generic HTTP client, is added to the list of errors. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ if sys.version_info < (3, 7):
setup(
name='ppb',
- version='0.4.0rc2',
+ version='0.4.0rc3',
packages=['ppb'],
install_requires=[
'pygame', | Update setup.py to <I>rc3 | py |
diff --git a/mautrix/bridge/portal.py b/mautrix/bridge/portal.py
index <HASH>..<HASH> 100644
--- a/mautrix/bridge/portal.py
+++ b/mautrix/bridge/portal.py
@@ -13,7 +13,7 @@ import asyncio
import html
import logging
-from mautrix.appservice import AppService, IntentAPI
+from mautrix.appservice import AppService, Int... | Add double puppet indicator to leave events when cleaning up room | py |
diff --git a/srtm/data.py b/srtm/data.py
index <HASH>..<HASH> 100644
--- a/srtm/data.py
+++ b/srtm/data.py
@@ -273,6 +273,15 @@ class GeoElevationFile:
# TODO(TK) Check if coordinates inside the same file, and only the decide if to xall
# self.geo_elevation_data.get_elevation or just self.get_elevati... | neighbour with elevation == None for approximation fixed | py |
diff --git a/jsonrpcclient/response.py b/jsonrpcclient/response.py
index <HASH>..<HASH> 100644
--- a/jsonrpcclient/response.py
+++ b/jsonrpcclient/response.py
@@ -48,7 +48,7 @@ class JSONRPCResponse:
ok = False
- def __init__(self, jsonrpc: str, id: Any) -> None:
+ def __init__(self, jsonrpc: str, id: An... | Allow for stray entries on a JSON-RPC response. (#<I>) | py |
diff --git a/icalevents/icalparser.py b/icalevents/icalparser.py
index <HASH>..<HASH> 100644
--- a/icalevents/icalparser.py
+++ b/icalevents/icalparser.py
@@ -225,8 +225,12 @@ def parse_rrule(component, tz=UTC):
:return: extracted rrule or rruleset
"""
if component.get('rrule'):
- # Parse the rrul... | Fixed parsing when multiple `rrule`s are present | py |
diff --git a/sos/collector/__init__.py b/sos/collector/__init__.py
index <HASH>..<HASH> 100644
--- a/sos/collector/__init__.py
+++ b/sos/collector/__init__.py
@@ -973,9 +973,11 @@ this utility or remote systems that it connects to.
pool.map(self._connect_to_node, nodes, chunksize=1)
pool.shutd... | [collector] Properly remove localhost if local sudo is needed but missing Fixes an issue where we would still attempt to run through local sos report setup if we need sudo but the password was not given. This final catch is done right before sosreport is called on connected nodes, so it will catch any future condition... | py |
diff --git a/ev3dev.py b/ev3dev.py
index <HASH>..<HASH> 100644
--- a/ev3dev.py
+++ b/ev3dev.py
@@ -93,11 +93,11 @@ class FileCache(object):
try:
f.seek(0)
f.write( value )
- f.flush()
except IOError:
f = self.file_handle( path, 'w+', reopen=True )
... | Move flush() out of try/catch block | py |
diff --git a/pyVmomi/VmomiSupport.py b/pyVmomi/VmomiSupport.py
index <HASH>..<HASH> 100644
--- a/pyVmomi/VmomiSupport.py
+++ b/pyVmomi/VmomiSupport.py
@@ -1260,9 +1260,6 @@ class _BuildVersions:
def GetNamespace(self, vmodlNs):
return self._nsMap[vmodlNs]
- def GetInternalNamespace(self, vmodlNs):
- ... | Support for build-time versions in pyVmomi Since introduction of meta-versions and related generated versions, we need facility, allowing code to specify those versions during run-time. (Note that although version classes are well- defined, the particular versions that correspond to a class change from build to build... | py |
diff --git a/pypet/environment.py b/pypet/environment.py
index <HASH>..<HASH> 100644
--- a/pypet/environment.py
+++ b/pypet/environment.py
@@ -2643,15 +2643,8 @@ class Environment(HasLogger):
if self._freeze_input:
self._logger.info('Freezing SCOOP input')
- if... | Fixed Issue Leading to shared memory blowup | py |
diff --git a/cbamf/comp/psfs.py b/cbamf/comp/psfs.py
index <HASH>..<HASH> 100644
--- a/cbamf/comp/psfs.py
+++ b/cbamf/comp/psfs.py
@@ -678,7 +678,7 @@ class FromArray(PSF):
pad = tuple((d[i],d[i]+o[i]) for i in [0,1,2])
rpsf = np.pad(field, pad, mode='constant', constant_values=0)
- rpsf = np... | fixing FromArray for odd arrays with ifftshift | py |
diff --git a/pythonzombie/tests/test_browser.py b/pythonzombie/tests/test_browser.py
index <HASH>..<HASH> 100644
--- a/pythonzombie/tests/test_browser.py
+++ b/pythonzombie/tests/test_browser.py
@@ -1,6 +1,6 @@
from pythonzombie.proxy.client import ZombieProxyClient
from pythonzombie import Browser
-fr... | Using pytest style asserts | py |
diff --git a/randdict/generators.py b/randdict/generators.py
index <HASH>..<HASH> 100644
--- a/randdict/generators.py
+++ b/randdict/generators.py
@@ -45,7 +45,6 @@ class Const:
Setting the seed on a 'Const' object has no effect.
This method only exists to provide a consistent interface.
"""
... | Remove 'pass' lines to increase test coverage. | py |
diff --git a/openquakeserver/engine/calc_urls.py b/openquakeserver/engine/calc_urls.py
index <HASH>..<HASH> 100644
--- a/openquakeserver/engine/calc_urls.py
+++ b/openquakeserver/engine/calc_urls.py
@@ -4,9 +4,9 @@ from django.conf.urls.defaults import url
# each url is prefixed with /calc/
urlpatterns = patterns(
... | engine/calc_urls: Don't require a trailing slash for any of the API endpoints. | py |
diff --git a/stanza/utils/datasets/constituency/convert_it_vit.py b/stanza/utils/datasets/constituency/convert_it_vit.py
index <HASH>..<HASH> 100644
--- a/stanza/utils/datasets/constituency/convert_it_vit.py
+++ b/stanza/utils/datasets/constituency/convert_it_vit.py
@@ -177,6 +177,7 @@ def raw_tree(text):
"dat... | Another common abbreviation in the VIT dataset | py |
diff --git a/nameko/testing/pytest.py b/nameko/testing/pytest.py
index <HASH>..<HASH> 100644
--- a/nameko/testing/pytest.py
+++ b/nameko/testing/pytest.py
@@ -102,7 +102,16 @@ def rabbit_manager(request):
@pytest.yield_fixture()
-def rabbit_config(request, rabbit_manager):
+def rabbit_config(request, rabbit_manage... | change fixture teardown order and add comment explaining the speedup | py |
diff --git a/examples/modes/pygments_syntax_highlighter.py b/examples/modes/pygments_syntax_highlighter.py
index <HASH>..<HASH> 100644
--- a/examples/modes/pygments_syntax_highlighter.py
+++ b/examples/modes/pygments_syntax_highlighter.py
@@ -17,7 +17,7 @@ if __name__ == '__main__':
editor.backend.start(server.__f... | Update example to make use of the new simplified color scheme api | py |
diff --git a/proteusisc/jtagScanChain.py b/proteusisc/jtagScanChain.py
index <HASH>..<HASH> 100644
--- a/proteusisc/jtagScanChain.py
+++ b/proteusisc/jtagScanChain.py
@@ -78,9 +78,9 @@ class JTAGScanChain(object):
self.jtag_enable()
while True:
idcode_str = self.read_dr(32)
+ ... | Fixed serious issue causing only 1 device of a scan chain to be detected. | py |
diff --git a/openupgradelib/openupgrade.py b/openupgradelib/openupgrade.py
index <HASH>..<HASH> 100644
--- a/openupgradelib/openupgrade.py
+++ b/openupgradelib/openupgrade.py
@@ -322,6 +322,8 @@ def rename_models(cr, model_spec):
'WHERE model = %s', (new, old,))
cr.execute('UPDATE ir_attach... | Update module field in ir_model_fields when calling rename_models. | py |
diff --git a/celerytask/tasks.py b/celerytask/tasks.py
index <HASH>..<HASH> 100755
--- a/celerytask/tasks.py
+++ b/celerytask/tasks.py
@@ -18,6 +18,7 @@ def update_jabber_groups(user):
syncgroups = SyncGroupCache.objects.filter(user=user)
authserviceinfo = AuthServicesInfo.objects.get(user=user)
groups =... | Added details to syncgroup cache | py |
diff --git a/tasktiger/worker.py b/tasktiger/worker.py
index <HASH>..<HASH> 100644
--- a/tasktiger/worker.py
+++ b/tasktiger/worker.py
@@ -959,7 +959,9 @@ class Worker(object):
the task gets properly removed from the ACTIVE queue and, in case of an
error, retried or marked as failed.
"""
- ... | Add function name to tasktiger done log messages (#<I>) | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.