diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py
index <HASH>..<HASH> 100644
--- a/alot/commands/envelope.py
+++ b/alot/commands/envelope.py
@@ -246,10 +246,11 @@ class SendCommand(Command):
cmd = commands.globals.BufferCloseCommand(self.envelope_buffer)
ui.apply_comm... | commands/envelope: check that self.envelope is not None If the mail is passed a string then envelope will always be None. There is one case in the final callback where self.envelope is assumed set, but it isn't guaranteed to be, so guard that properly. | py |
diff --git a/salt/states/svn.py b/salt/states/svn.py
index <HASH>..<HASH> 100644
--- a/salt/states/svn.py
+++ b/salt/states/svn.py
@@ -218,7 +218,7 @@ def export(name,
ret,
('{0}').format(out))
- if rev:
+ if not rev:
rev = 'HEAD'
if force: | changed salt call to modules/svn.py svn.export function, added revision field to function call argument list | py |
diff --git a/tests/core/tests/resources_tests.py b/tests/core/tests/resources_tests.py
index <HASH>..<HASH> 100644
--- a/tests/core/tests/resources_tests.py
+++ b/tests/core/tests/resources_tests.py
@@ -413,6 +413,14 @@ class ModelResourceTest(TestCase):
self.assertEqual("Book.published is not a relation",
... | Fix error message to name the correct starting model. It was partly superceded by 4b<I>c9c2ffe3e7bf<I>d0b<I>da<I>ec<I> that's already been merged. I've merged (and forced) just the test back onto this branch. | py |
diff --git a/timeside/server/models.py b/timeside/server/models.py
index <HASH>..<HASH> 100644
--- a/timeside/server/models.py
+++ b/timeside/server/models.py
@@ -240,8 +240,8 @@ class Item(Titled, UUID, Dated, Shareable):
path = self.source_url
elif self.source_file:
path... | fix Item.mime_type with no file | py |
diff --git a/samcli/__init__.py b/samcli/__init__.py
index <HASH>..<HASH> 100644
--- a/samcli/__init__.py
+++ b/samcli/__init__.py
@@ -2,4 +2,4 @@
SAM CLI version
"""
-__version__ = '0.13.0'
+__version__ = '0.14.0' | chore: Version bump SAM CLI to <I> (#<I>) | py |
diff --git a/tilequeue/process.py b/tilequeue/process.py
index <HASH>..<HASH> 100644
--- a/tilequeue/process.py
+++ b/tilequeue/process.py
@@ -61,6 +61,19 @@ def _preprocess_data(feature_layers, shape_padded_bounds):
# of other layers (e.g: projecting attributes, deleting hidden
# features, etc...)
def _postprocess_... | Simple implementation of post-processing. | py |
diff --git a/minimongo/test.py b/minimongo/test.py
index <HASH>..<HASH> 100644
--- a/minimongo/test.py
+++ b/minimongo/test.py
@@ -163,13 +163,22 @@ class TestSimpleModel(unittest.TestCase):
dummy_m = TestModel()
dummy_m.l = ['a', 'b', 'c']
dummy_m.x = 1
+ dummy_m.y = {'m': 'n',
+ ... | Additional test cases showing a bug in pymongo's as_class support | py |
diff --git a/splinter/browser.py b/splinter/browser.py
index <HASH>..<HASH> 100644
--- a/splinter/browser.py
+++ b/splinter/browser.py
@@ -3,10 +3,7 @@ from splinter.driver import WebDriver
class Browser(object):
def __init__(self):
- self.driver = WebDriver()
+ self._driver = WebDriver()
- d... | every method is repassed to the _driver instance | py |
diff --git a/tests/ui/test_widgets.py b/tests/ui/test_widgets.py
index <HASH>..<HASH> 100644
--- a/tests/ui/test_widgets.py
+++ b/tests/ui/test_widgets.py
@@ -2,6 +2,7 @@ from py.test import importorskip
import gtk
from pygtkhelpers.utils import refresh_gui
from pygtkhelpers.ui.widgets import StringList, AttrSortCom... | use the awesome mock-specs to see if the attrcombo test is robust | py |
diff --git a/lib/drizzlepac/staticMask.py b/lib/drizzlepac/staticMask.py
index <HASH>..<HASH> 100644
--- a/lib/drizzlepac/staticMask.py
+++ b/lib/drizzlepac/staticMask.py
@@ -187,7 +187,13 @@ class staticMask(object):
numchips=imagePtr._numchips
log.info("Computing static mask:\n")
- for chip... | Resolves the issue of static mask being created for all chips (even for the ones that do not need to be processed) and then not being deleted at the end of the processing even when clean=yes is specified when running astrodrizzle. See Ticket #<I> for more detals. git-svn-id: <URL> | py |
diff --git a/anharmonic/phonon3/conductivity_RTA.py b/anharmonic/phonon3/conductivity_RTA.py
index <HASH>..<HASH> 100644
--- a/anharmonic/phonon3/conductivity_RTA.py
+++ b/anharmonic/phonon3/conductivity_RTA.py
@@ -92,7 +92,7 @@ def _write_gamma(br, interaction, i, filename=None):
kappa=Non... | Fix keyword of writing gamma to hdf5 | py |
diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py
index <HASH>..<HASH> 100644
--- a/aiohttp/__init__.py
+++ b/aiohttp/__init__.py
@@ -1,4 +1,4 @@
-__version__ = '3.2.0'
+__version__ = '3.3.0a0'
# This relies on each of the submodules having an __all__ variable. | Bump to <I> alpha 0 | py |
diff --git a/psamm/datasource/context.py b/psamm/datasource/context.py
index <HASH>..<HASH> 100644
--- a/psamm/datasource/context.py
+++ b/psamm/datasource/context.py
@@ -100,10 +100,12 @@ class FileMark(object):
return self._column
def __str__(self):
- return '{}:{}:{}'.format(
- text... | context: Do not write question marks in FileMark string Changes the string representation of FileMark to only include line and column numbers if those are specified. If not specified, the string representation will simply list the path. | py |
diff --git a/bms/blocks/continuous.py b/bms/blocks/continuous.py
index <HASH>..<HASH> 100644
--- a/bms/blocks/continuous.py
+++ b/bms/blocks/continuous.py
@@ -206,11 +206,20 @@ class FunctionBlock(Block):
"""
def __init__(self, input_variable, output_variable, function):
- Block.__init__(self, [input... | Make FunctionBlock able to multiple inputs. Inputs come as a list. This change doesn't break existing code, because the function checks if the input is a list or a single item. | py |
diff --git a/src/streamlink/stream/hds.py b/src/streamlink/stream/hds.py
index <HASH>..<HASH> 100644
--- a/src/streamlink/stream/hds.py
+++ b/src/streamlink/stream/hds.py
@@ -433,6 +433,7 @@ class HDSStream(Stream):
from the stream before raising an error.
:param pvswf: URL of player S... | stream.hds: omit HDS streams that are protected by DRM | py |
diff --git a/tests/test.py b/tests/test.py
index <HASH>..<HASH> 100644
--- a/tests/test.py
+++ b/tests/test.py
@@ -16,7 +16,7 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from pysswords.db import Database
from pysswords.crypt import create_key_input
from pysswords.utils import t... | Test database get credential raises CredentialNotFoundError | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -130,7 +130,7 @@ setuptools.setup(
],
packages = setuptools.find_packages(),
install_requires = [
- "pyparsing==2.1.1"
+ "pyparsing==2.1.5"
],
entry_points = {
"console_s... | Begins testing process for new pyparsing version | py |
diff --git a/pandas/tseries/util.py b/pandas/tseries/util.py
index <HASH>..<HASH> 100644
--- a/pandas/tseries/util.py
+++ b/pandas/tseries/util.py
@@ -71,6 +71,7 @@ def pivot_annual(series, freq=None):
raise NotImplementedError(freq)
flat_index = (year - years.min()) * width + offset
+ flat_index = c... | BUG: <I>-bit index array issue | py |
diff --git a/thoth/python/project.py b/thoth/python/project.py
index <HASH>..<HASH> 100644
--- a/thoth/python/project.py
+++ b/thoth/python/project.py
@@ -82,7 +82,8 @@ class Project:
pipfile = Pipfile.from_file(pipfile_path)
except Exception as exc:
raise FileLoadError(
- ... | Describe where files are looked up on an error | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,6 +5,10 @@ from setuptools import setup
import sentry_telegram
+with open('README.rst', 'r') as f:
+ long_description = f.read()
+
+
setup(
name='sentry_telegram',
version=sentry_telegram.__version__,
@@ ... | Long description for the package for PyPI. | py |
diff --git a/wallace/models.py b/wallace/models.py
index <HASH>..<HASH> 100644
--- a/wallace/models.py
+++ b/wallace/models.py
@@ -382,9 +382,16 @@ class Node(Base, SharedMixin):
# the time when the node changed from alive->dead or alive->failed
time_of_death = Column(DateTime, default=None)
- # the part... | give Nodes a relationship with a participant object | py |
diff --git a/src/senaite/core/browser/viewlets/toolbar.py b/src/senaite/core/browser/viewlets/toolbar.py
index <HASH>..<HASH> 100644
--- a/src/senaite/core/browser/viewlets/toolbar.py
+++ b/src/senaite/core/browser/viewlets/toolbar.py
@@ -81,7 +81,7 @@ class ToolbarViewletManager(OrderedViewletManager):
portal... | Catch KeyError when retrieving toolbar logo (#<I>) | py |
diff --git a/spinoff/actor/runner.py b/spinoff/actor/runner.py
index <HASH>..<HASH> 100644
--- a/spinoff/actor/runner.py
+++ b/spinoff/actor/runner.py
@@ -25,7 +25,7 @@ _EMPTY = object()
class ActorRunner(Service):
def __init__(self, actor_cls, init_params={}, initial_message=_EMPTY, nodeid=None, name=None, sup... | Made ActorRunner not require a nodeid (for local runs) | py |
diff --git a/tohu/custom_generator_NEW.py b/tohu/custom_generator_NEW.py
index <HASH>..<HASH> 100644
--- a/tohu/custom_generator_NEW.py
+++ b/tohu/custom_generator_NEW.py
@@ -167,7 +167,13 @@ def _add_new_init_method(cls):
logger.debug(f'Found {len(field_gens_templates)} field generator template(s):')
... | Minor preparatory refactoring | py |
diff --git a/terrabot/util/worlddrawer.py b/terrabot/util/worlddrawer.py
index <HASH>..<HASH> 100644
--- a/terrabot/util/worlddrawer.py
+++ b/terrabot/util/worlddrawer.py
@@ -1,11 +1,13 @@
from PIL import Image, ImageDraw
+from progressbar import *
def draw_world(world):
image = Image.new("RGB", (world.maxX, w... | Added a progressbar to the world drawer | py |
diff --git a/simuvex/vex/statements/store.py b/simuvex/vex/statements/store.py
index <HASH>..<HASH> 100644
--- a/simuvex/vex/statements/store.py
+++ b/simuvex/vex/statements/store.py
@@ -12,9 +12,6 @@ class SimIRStmt_Store(SimIRStmt):
data = self._translate_expr(self.stmt.data)
expr = data.expr.to_bv(... | Move reversing operation for little-endian store deeper in simuvex | py |
diff --git a/unit_systems.py b/unit_systems.py
index <HASH>..<HASH> 100644
--- a/unit_systems.py
+++ b/unit_systems.py
@@ -14,6 +14,20 @@ Unit system class.
from yt.extern.six import string_types
from yt.units import dimensions
from yt.units.unit_object import Unit, unit_system_registry
+from yt.utilities import phy... | Give unit systems access to constants in their units --HG-- branch : yt | py |
diff --git a/usb1.py b/usb1.py
index <HASH>..<HASH> 100644
--- a/usb1.py
+++ b/usb1.py
@@ -236,13 +236,15 @@ class USBPoller(object):
class USBDeviceHandle(object):
"""
Represents an opened USB device.
-
- You should not instanciate this class directly, but should receive
- instances from USBDevice.ope... | Move "You should not instanciate..." to __init__ docstring. | py |
diff --git a/indra/tools/reading/pmid_reading/read_pmids.py b/indra/tools/reading/pmid_reading/read_pmids.py
index <HASH>..<HASH> 100644
--- a/indra/tools/reading/pmid_reading/read_pmids.py
+++ b/indra/tools/reading/pmid_reading/read_pmids.py
@@ -508,7 +508,7 @@ def run_sparser(pmid_list, tmp_dir, num_cores, start_inde... | Update path to reach conf file. | py |
diff --git a/blockstack_client/schemas.py b/blockstack_client/schemas.py
index <HASH>..<HASH> 100644
--- a/blockstack_client/schemas.py
+++ b/blockstack_client/schemas.py
@@ -1320,8 +1320,14 @@ NAMEOP_SCHEMA_PROPERTIES = {
'block_number': OP_HISTORY_SCHEMA['properties']['block_number'],
'consensus_hash': OP_H... | return renewal_deadline on nameop | py |
diff --git a/PySimpleGUI.py b/PySimpleGUI.py
index <HASH>..<HASH> 100644
--- a/PySimpleGUI.py
+++ b/PySimpleGUI.py
@@ -2748,6 +2748,8 @@ class Window:
self.TKroot.quit() # kick the users out of the mainloop
def Read(self, timeout=None, timeout_key='_timeout_'):
+ if timeout == 0:
+ re... | Window.Read with timeout=0 is same as ReadNonBlocking | py |
diff --git a/tests/__init__.py b/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -241,7 +241,7 @@ class TotpGenerationTestCase(TestCase):
self.assertFalse(valid_totp(totp, secret))
self.assertTrue(valid_totp(totp, secret, window=1))
- ... | updated tests possibly fixing problem with unreliable ranges of interval | py |
diff --git a/pavement.py b/pavement.py
index <HASH>..<HASH> 100644
--- a/pavement.py
+++ b/pavement.py
@@ -21,8 +21,8 @@ def run_tests():
"""
Executes the entire test suite.
"""
- sh('python manage.py test hypermap.aggregator --settings=hypermap.settings.test --failfast')
- sh('python manage.py tes... | Fix the run_tests methods. We dont use anymore different settings files | py |
diff --git a/tests/test_object.py b/tests/test_object.py
index <HASH>..<HASH> 100644
--- a/tests/test_object.py
+++ b/tests/test_object.py
@@ -65,8 +65,7 @@ def test_unicode_involution(s):
@given(characters(whitelist_categories=('Cs',)))
def test_unicode_fails(s):
- # pybind11 < 2.7 raises RuntimeError, == 2.7 r... | Remove comment about unsupported pybind<I> | py |
diff --git a/cobe/brain.py b/cobe/brain.py
index <HASH>..<HASH> 100644
--- a/cobe/brain.py
+++ b/cobe/brain.py
@@ -734,9 +734,6 @@ CREATE TABLE edges (
# save the brain/schema version
self.set_info_text("version", "2")
- c.execute("""
-CREATE INDEX tokens_text on tokens (text)""")
-
... | Remove the tokens_text index. The column is already indexed, since it's defined as UNIQUE in the schema. | py |
diff --git a/intake/catalog/base.py b/intake/catalog/base.py
index <HASH>..<HASH> 100644
--- a/intake/catalog/base.py
+++ b/intake/catalog/base.py
@@ -169,16 +169,17 @@ class Catalog(DataSource):
Can also use attribute syntax, like ``cat.entry_name``.
"""
- if key in self._entries:
+ ... | Avoid looping through Catalog unnecessarily. This is needed to make pagination / lazy entries effective. | py |
diff --git a/lwr/lwr_client/stager.py b/lwr/lwr_client/stager.py
index <HASH>..<HASH> 100644
--- a/lwr/lwr_client/stager.py
+++ b/lwr/lwr_client/stager.py
@@ -314,7 +314,10 @@ def finish_job(client, cleanup_job, job_completed_normally, working_directory, w
client.fetch_output(output_file, working_direc... | Refactor stager.py lwr/lwr_client/stager.py:<I>:1: C<I> 'finish_job' is too complex (9) | py |
diff --git a/src/collectors/redisstat/redisstat.py b/src/collectors/redisstat/redisstat.py
index <HASH>..<HASH> 100644
--- a/src/collectors/redisstat/redisstat.py
+++ b/src/collectors/redisstat/redisstat.py
@@ -91,7 +91,7 @@ class RedisCollector(diamond.collector.Collector):
# process original single redis ins... | Fixes #<I>, this forces the port to be an int | py |
diff --git a/rw/routing.py b/rw/routing.py
index <HASH>..<HASH> 100644
--- a/rw/routing.py
+++ b/rw/routing.py
@@ -15,6 +15,8 @@
import re
from tornado import stack_context
+from bson import ObjectId
+from bson.objectid import InvalidId
_rule_re = re.compile(r'''
@@ -52,10 +54,11 @@ def parse_rule(rule):
... | Added ObjectId as routing type. | py |
diff --git a/adjustText/adjustText.py b/adjustText/adjustText.py
index <HASH>..<HASH> 100644
--- a/adjustText/adjustText.py
+++ b/adjustText/adjustText.py
@@ -347,11 +347,14 @@ def adjust_text(texts, x=None, y=None, add_objects=None, ax=None,
ax (obj): axes object with the plot; if not provided is determined b... | edited docstring of expand_*s | py |
diff --git a/c7n/actions/securityhub.py b/c7n/actions/securityhub.py
index <HASH>..<HASH> 100644
--- a/c7n/actions/securityhub.py
+++ b/c7n/actions/securityhub.py
@@ -220,7 +220,7 @@ class PostFinding(BaseAction):
'title', self.manager.ctx.policy.name)),
'value'... | aws - security-hub post-finding bug fix #<I> (#<I>) | py |
diff --git a/tests/test_integration.py b/tests/test_integration.py
index <HASH>..<HASH> 100644
--- a/tests/test_integration.py
+++ b/tests/test_integration.py
@@ -876,21 +876,13 @@ def test_platform_specific_egg_resolution_matching():
@pytest.mark.skipif(NOT_CPYTHON27)
-def test_jupyter_appnope_env_markers():
- #... | Narrow the env marker test. (#<I>) The jupyter dist is just a meta-dist with fully unconstrained deps on ~6 other dists. This test was added to test environment marker support in pex, which ipython - not jupyter - leverages heavily. | py |
diff --git a/modelx/core/space.py b/modelx/core/space.py
index <HASH>..<HASH> 100644
--- a/modelx/core/space.py
+++ b/modelx/core/space.py
@@ -1124,20 +1124,6 @@ class SpaceImpl(SpaceContainerImpl):
def model(self):
return self.parent.model
- @property
- def cellsparams(self):
- """Ordered ... | FAC: Remove unused method in Space | py |
diff --git a/jupyter_server_proxy/handlers.py b/jupyter_server_proxy/handlers.py
index <HASH>..<HASH> 100644
--- a/jupyter_server_proxy/handlers.py
+++ b/jupyter_server_proxy/handlers.py
@@ -140,7 +140,7 @@ class ProxyHandler(WebSocketHandlerMixin, IPythonHandler):
else:
client_path = proxied_path... | Recover the fix so the test should pass | py |
diff --git a/tests/pipeline/test_filter.py b/tests/pipeline/test_filter.py
index <HASH>..<HASH> 100644
--- a/tests/pipeline/test_filter.py
+++ b/tests/pipeline/test_filter.py
@@ -19,7 +19,7 @@ from numpy import (
ones,
ones_like,
putmask,
- nansum,
+ sum,
)
from numpy.random import randn, seed as... | ENH: sum vs nansum cleared up | py |
diff --git a/compiler/js/component.py b/compiler/js/component.py
index <HASH>..<HASH> 100644
--- a/compiler/js/component.py
+++ b/compiler/js/component.py
@@ -287,7 +287,7 @@ class component_generator(object):
if name == '__complete':
code = code.strip()
if code[0] == '{' and code[-1] == '}':
- code =... | Add newline to prevent code shadowing by inner comments | py |
diff --git a/metnet/reaction.py b/metnet/reaction.py
index <HASH>..<HASH> 100644
--- a/metnet/reaction.py
+++ b/metnet/reaction.py
@@ -265,8 +265,8 @@ class ModelSEED(object):
def format(cls, rx):
'''Format reaction as string
- >>> ModelSEED.format(Reaction('<=', [(Compound('H2O'), 2, None)], [(C... | reaction: Do not normalize reaction on format | py |
diff --git a/gwpy/table/io/pycbc.py b/gwpy/table/io/pycbc.py
index <HASH>..<HASH> 100644
--- a/gwpy/table/io/pycbc.py
+++ b/gwpy/table/io/pycbc.py
@@ -155,7 +155,7 @@ def filter_empty_files(files, ifo=None):
empty_hdf5_file
for details of the 'emptiness' test
"""
- return [f for f in files if not ... | table.io.pycbc: return item of same type from filter_empty_files | py |
diff --git a/salt/states/network.py b/salt/states/network.py
index <HASH>..<HASH> 100644
--- a/salt/states/network.py
+++ b/salt/states/network.py
@@ -1,5 +1,3 @@
-import difflib
-
'''
Network Management
==================
@@ -111,6 +109,8 @@ bond0.12:
- require:
- network: bond0
'''
+import difflib
+
... | make the docstring a docstring | py |
diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
index <HASH>..<HASH> 100644
--- a/tests/test_pytest_cov.py
+++ b/tests/test_pytest_cov.py
@@ -1853,6 +1853,7 @@ data_file = %s
assert glob.glob(str(testdir.tmpdir.join('some/special/place/coverage-data*')))
+@pytest.mark.skipif('sys.platform == "... | Skip horrendous breakage on pypy and windows. | py |
diff --git a/gwpy/cli/cliproduct.py b/gwpy/cli/cliproduct.py
index <HASH>..<HASH> 100644
--- a/gwpy/cli/cliproduct.py
+++ b/gwpy/cli/cliproduct.py
@@ -22,11 +22,13 @@
"""Base class for CLI (`gwpy-plot`) products.
"""
+from __future__ import print_function
import abc
import os.path
import re
import time
import ... | Make sure important/fatal errors go to STDERR | py |
diff --git a/rest_registration/__init__.py b/rest_registration/__init__.py
index <HASH>..<HASH> 100644
--- a/rest_registration/__init__.py
+++ b/rest_registration/__init__.py
@@ -1,2 +1,2 @@
-__version__ = "0.1.2"
+__version__ = "0.2.0"
default_app_config = 'rest_registration.apps.RestRegistrationConfig' | bumped version to <I> | py |
diff --git a/xclim/indices/generic.py b/xclim/indices/generic.py
index <HASH>..<HASH> 100644
--- a/xclim/indices/generic.py
+++ b/xclim/indices/generic.py
@@ -394,7 +394,7 @@ def diurnal_temperature_range(
return out
-def first_occurence(
+def first_occurrence(
data: xr.DataArray, threshold: str, conditio... | first_occurrence and last_occurrence typo fix | py |
diff --git a/rosetta/views.py b/rosetta/views.py
index <HASH>..<HASH> 100644
--- a/rosetta/views.py
+++ b/rosetta/views.py
@@ -216,7 +216,10 @@ def home(request):
page_range = pagination_range(1, paginator.num_pages, page)
else:
page_range = range(1, 1 + paginator.num_page... | initial django <I> support. Fixes issue <I>. | py |
diff --git a/salt/modules/reg.py b/salt/modules/reg.py
index <HASH>..<HASH> 100644
--- a/salt/modules/reg.py
+++ b/salt/modules/reg.py
@@ -521,9 +521,9 @@ def set_value(hive,
if PY2:
local_hive = _mbcs_to_unicode(hive)
- local_key = _unicode_to_mbcs(key)
- local_vname = _unicode_to_mbcs(vn... | All use of the win<I>api library should be unicode | py |
diff --git a/bolt/tasks/bolt_conttest.py b/bolt/tasks/bolt_conttest.py
index <HASH>..<HASH> 100644
--- a/bolt/tasks/bolt_conttest.py
+++ b/bolt/tasks/bolt_conttest.py
@@ -39,7 +39,15 @@ class ExecuteConttest(object):
def execute_task(self):
import conttest.conttest as ct
- ct.watch_dir(self.direc... | Removes Exception Output When Interrupting ContTest | py |
diff --git a/btfxwss/classes.py b/btfxwss/classes.py
index <HASH>..<HASH> 100644
--- a/btfxwss/classes.py
+++ b/btfxwss/classes.py
@@ -934,17 +934,21 @@ class BtfxWssRaw(BtfxWss):
:return:
"""
t = time.time()
+ rotated = False
while self.running:
+
time_to_rotate ... | fixed multiple rotations for rotate_at value, since it's missing second precision | py |
diff --git a/gns3server/controller/compute.py b/gns3server/controller/compute.py
index <HASH>..<HASH> 100644
--- a/gns3server/controller/compute.py
+++ b/gns3server/controller/compute.py
@@ -493,15 +493,6 @@ class Compute:
elif isinstance(data, io.BufferedIOBase):
chunked = True
... | Fix IOU image upload Fix #<I> | py |
diff --git a/nsq/__init__.py b/nsq/__init__.py
index <HASH>..<HASH> 100644
--- a/nsq/__init__.py
+++ b/nsq/__init__.py
@@ -8,3 +8,9 @@ formatter = logging.Formatter('[%(levelname)s] %(message)s')
handler.setFormatter(formatter)
logger.addHandler(handler)
logger.setLevel(logging.ERROR)
+
+# Our underlying json implme... | Importing json in one place | py |
diff --git a/glances/processes.py b/glances/processes.py
index <HASH>..<HASH> 100644
--- a/glances/processes.py
+++ b/glances/processes.py
@@ -340,7 +340,7 @@ class GlancesProcesses(object):
return False
else:
try:
- return self.process_filter_re.match(value) is None
+ ... | Fix another side effect of commit fcc<I>bf (issue #<I>) | py |
diff --git a/salt/client/ssh/wrapper/cp.py b/salt/client/ssh/wrapper/cp.py
index <HASH>..<HASH> 100644
--- a/salt/client/ssh/wrapper/cp.py
+++ b/salt/client/ssh/wrapper/cp.py
@@ -2,6 +2,7 @@
'''
Wrap the cp module allowing for managed ssh file transfers
'''
+from __future__ import absolute_import
# Import salt li... | Making salt/client/ssh/wrapper/cp python3 compatible | py |
diff --git a/pymc3/tests/test_distributions_random.py b/pymc3/tests/test_distributions_random.py
index <HASH>..<HASH> 100644
--- a/pymc3/tests/test_distributions_random.py
+++ b/pymc3/tests/test_distributions_random.py
@@ -530,7 +530,7 @@ class BroadcastShape(unittest.TestCase):
'Categorical cannot be init... | WIP: Attempt to fix the test bug | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-from distutils.core import setup
+from setuptools import setup
setup(
name = 'missingno',
packages = ['missingno'], # this must be the same as the name above | Switch to 'more correct' distributor. | py |
diff --git a/kqml/kqml_dispatcher.py b/kqml/kqml_dispatcher.py
index <HASH>..<HASH> 100644
--- a/kqml/kqml_dispatcher.py
+++ b/kqml/kqml_dispatcher.py
@@ -29,6 +29,8 @@ class KQMLDispatcher(object):
except IOError as ex:
if not self.shutdown_initiated:
self.receiver.handle_excepti... | Return from wait on ValueError | py |
diff --git a/papyrus/xsd.py b/papyrus/xsd.py
index <HASH>..<HASH> 100644
--- a/papyrus/xsd.py
+++ b/papyrus/xsd.py
@@ -116,6 +116,8 @@ def add_column_xsd(tb, column, attrs):
def add_column_property_xsd(tb, column_property, include_primary_keys=False):
""" Add the XSD for a column property to tb (a TreeBuilder) ... | trigger a NotImplementedError when a column property has more than one column | py |
diff --git a/elasticutils/__init__.py b/elasticutils/__init__.py
index <HASH>..<HASH> 100644
--- a/elasticutils/__init__.py
+++ b/elasticutils/__init__.py
@@ -170,7 +170,7 @@ class S(object):
self._results_cache = None
def __repr__(self):
- data = list(self[:REPR_OUTPUT_SIZE + 1])
+ data =... | fix __repr__ method to not create new size query | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@ config = dict(name='scraperwiki',
try:
from setuptools import setup
- config['install_requires'] = ['requests',
+ config['install_requires'] = ['requests', 'six',
... | Add six to install requirements in setup.py | py |
diff --git a/tests/settings.py b/tests/settings.py
index <HASH>..<HASH> 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -10,7 +10,7 @@ DATABASES = {
}
}
-ROOT_URLCONF = 'tests.cases'
+ROOT_URLCONF = 'tests.tests'
INSTALLED_APPS = (
'django.contrib.auth', | Fix tests ROOT_URLCONF From 6fdc7a<I> | py |
diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py
index <HASH>..<HASH> 100644
--- a/lib/svtplay_dl/service/svtplay.py
+++ b/lib/svtplay_dl/service/svtplay.py
@@ -56,7 +56,8 @@ class Svtplay(Service, OpenGraphThumbMixin):
vid = janson["video"]["id"]
res = self.http.... | svtplay: get the live status from the api too. sometimes the page say its live but the api say something else. | py |
diff --git a/hapi/leads.py b/hapi/leads.py
index <HASH>..<HASH> 100644
--- a/hapi/leads.py
+++ b/hapi/leads.py
@@ -117,7 +117,7 @@ class LeadsClient(BaseClient):
return self._call('callback-url', params={'url': url}, data={'url': url}, method='POST', **options)
def close_lead(self, guid, close_time=... | added return to close_lead | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -97,7 +97,8 @@ setup(name="treeCl",
# 'bin/pre_npbs.py',
],
install_requires=[
- 'biopython',
+ 'biopython < 1.77; python_version < "3.6.0"',
+ 'biopython; python_version >= ... | Use conditional dependencies to select a compatible pandas version when using old versions of python [issue #<I>] | py |
diff --git a/beeswarm/beekeeper/webapp/app.py b/beeswarm/beekeeper/webapp/app.py
index <HASH>..<HASH> 100644
--- a/beeswarm/beekeeper/webapp/app.py
+++ b/beeswarm/beekeeper/webapp/app.py
@@ -50,7 +50,7 @@ def sessions_honeybees():
@app.route('/sessions/attacks')
def sessions_attacks():
attacks = select(a for a i... | retaining readability, revert change | py |
diff --git a/bets/__init__.py b/bets/__init__.py
index <HASH>..<HASH> 100644
--- a/bets/__init__.py
+++ b/bets/__init__.py
@@ -36,7 +36,7 @@ class BetsApi(object):
'''
DEFAULT_SETTINGS = {
- 'bets_url': u'http://bets.42cc.co/v1.1.0/',
+ 'bets_url': u'http://bets.42cc.co/v1.1.1/',
'tim... | Filter active bets by project_id | py |
diff --git a/salt/modules/nix.py b/salt/modules/nix.py
index <HASH>..<HASH> 100644
--- a/salt/modules/nix.py
+++ b/salt/modules/nix.py
@@ -35,7 +35,7 @@ def __virtual__():
This only works if we have access to nix-env
'''
nixhome = os.path.join(os.path.expanduser('~{0}'.format(__opts__['user'])), '.nix-pr... | nix: Check for nix-collect-garbage I changed this from nix-store to nix-collect-garbage as the nix.collect_garbage function used to use `nix-store --gc`, but now just uses nix-collect-garbage. | py |
diff --git a/rest_api/api.py b/rest_api/api.py
index <HASH>..<HASH> 100644
--- a/rest_api/api.py
+++ b/rest_api/api.py
@@ -19,7 +19,7 @@ import indra.tools.assemble_corpus as ac
from indra.databases import cbio_client
from indra.sources.indra_db_rest import get_statements
from indra.sources.ndex_cx.api import proces... | Handle case when url is not provided | py |
diff --git a/python_modules/libraries/dagster-gcp/setup.py b/python_modules/libraries/dagster-gcp/setup.py
index <HASH>..<HASH> 100644
--- a/python_modules/libraries/dagster-gcp/setup.py
+++ b/python_modules/libraries/dagster-gcp/setup.py
@@ -31,8 +31,8 @@ if __name__ == '__main__':
'dagster',
... | remove google bigquery pin Summary: resolves #<I> Test Plan: bk Reviewers: dgibson, nate, schrockn Reviewed By: nate Differential Revision: <URL> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,8 @@
from setuptools import setup
-from dolo import __version__
+#from dolo import __version__
+
+__version__ = '0.4-dev-1'
setup( | BUG: Import version number in setup.py breaks dependency resolution | py |
diff --git a/bitsharesbase/objects.py b/bitsharesbase/objects.py
index <HASH>..<HASH> 100644
--- a/bitsharesbase/objects.py
+++ b/bitsharesbase/objects.py
@@ -319,7 +319,7 @@ class AccountCreateExtensions(Extension):
if isArgsThisClass(self, args):
self.data = args[0].data
... | Allow empty list as AccountCreateExtension(s) -- for real this time. Previous commit erroneously adjusted Buyback_options instead of AccountCreateExtensions. This is the correct fix. | py |
diff --git a/feed.py b/feed.py
index <HASH>..<HASH> 100644
--- a/feed.py
+++ b/feed.py
@@ -295,6 +295,7 @@ class BaseBuilder(object):
def __init__(self, version=None):
self._days = {}
self.version = None
+ self._name = None
self._address = None
self._city = None
... | feed<I>: support name attribute | py |
diff --git a/sos/plugins/logs.py b/sos/plugins/logs.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/logs.py
+++ b/sos/plugins/logs.py
@@ -78,12 +78,12 @@ class RedHatLogs(Logs, RedHatPlugin):
def setup(self):
super(RedHatLogs, self).setup()
- messages = "/var/log/messages"
- secure = "/va... | [logs] restore secure* and messages* log collection Commit 5d<I>dd3 "fixed" a longstanding problem with the RedHatLogs plugin, in that the normal --all-logs behaviour (only collect the current log unless the option is given) is not respected for the messages and secure files. Based on feedback from contributors and s... | py |
diff --git a/tests/test_ami_lookup.py b/tests/test_ami_lookup.py
index <HASH>..<HASH> 100644
--- a/tests/test_ami_lookup.py
+++ b/tests/test_ami_lookup.py
@@ -4,5 +4,5 @@ from foremast.utils import ami_lookup
def test_lookup():
"""Lookup should contact GitLab for JSON table and resolve."""
- assert 'ami-xxxx... | tests: More lenient test AMI IDs will change in the future. All we care about is that we get an AMI ID. See also: PSOBAT-<I> | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -49,7 +49,7 @@ master_doc = 'index'
# General information about the project.
project = 'aioredis'
-copyright = '2014, Alexey Popravka'
+copyright = '2014-2016, Alexey Popravka'
# The version info for the... | Update conf.py <I> year | py |
diff --git a/spacy/lang/tokenizer_exceptions.py b/spacy/lang/tokenizer_exceptions.py
index <HASH>..<HASH> 100644
--- a/spacy/lang/tokenizer_exceptions.py
+++ b/spacy/lang/tokenizer_exceptions.py
@@ -109,7 +109,7 @@ for orth in [
emoticons = set(
- """
+ r"""
:)
:-)
:)) | Make the emoticon list a raw string (#<I>) While working on an unrelated task I got warnings about an unsupported escape sequence (`"\("`) in the tokenizer exceptions. Making the tokenizer exceptions a raw string makes this warning go away. The specific string that triggered this is `¯\(ツ)/¯`. | py |
diff --git a/srtm/data.py b/srtm/data.py
index <HASH>..<HASH> 100644
--- a/srtm/data.py
+++ b/srtm/data.py
@@ -130,12 +130,12 @@ class GeoElevationData:
def get_file_name(self, latitude, longitude):
# Decide the file name:
- if latitude > 0:
+ if latitude >= 0:
north_south = '... | Fix for latitudes and longitudes == 0 | py |
diff --git a/nameko/testing/services.py b/nameko/testing/services.py
index <HASH>..<HASH> 100644
--- a/nameko/testing/services.py
+++ b/nameko/testing/services.py
@@ -179,7 +179,7 @@ def entrypoint_waiter(container, method_name, timeout=30, callback=None):
waiter_result.send(result, exc_info)
retu... | use worker_teardown rather than worker_destroyed in entrypoint_waiter | py |
diff --git a/test/test_remote.py b/test/test_remote.py
index <HASH>..<HASH> 100644
--- a/test/test_remote.py
+++ b/test/test_remote.py
@@ -401,7 +401,7 @@ class TestRemote(TestBase):
res = remote.push(all=True)
self._do_test_push_result(res, remote)
- remote.pull('master')
+ remote.pul... | add test timeout with the old <I> s timeout | py |
diff --git a/salt/states/file.py b/salt/states/file.py
index <HASH>..<HASH> 100644
--- a/salt/states/file.py
+++ b/salt/states/file.py
@@ -836,8 +836,9 @@ def symlink(
def absent(name):
'''
- Verify that the named file or directory is absent. This will work to
- reverse any of the functions in the file st... | doc(file/state): clarify it doesn't just "verify" | py |
diff --git a/molo/core/templatetags/core_tags.py b/molo/core/templatetags/core_tags.py
index <HASH>..<HASH> 100644
--- a/molo/core/templatetags/core_tags.py
+++ b/molo/core/templatetags/core_tags.py
@@ -210,7 +210,7 @@ def load_descendant_articles_for_section(
page = section.get_main_language_page()
locale = ... | showing test passes with .live() | 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
@@ -50,7 +50,6 @@ import salt.runner
import salt.output
import salt.version
import salt.utils
-import salt.utils.network
import salt.utils.pr... | Remove iproute/ifconfig warning from test suite startup Recent changes in the test suite no longer rely on listing IPv4 addresses to confirm that the daemons have started, so this warning is now spurious. | py |
diff --git a/astroid/brain/brain_numpy_core_umath.py b/astroid/brain/brain_numpy_core_umath.py
index <HASH>..<HASH> 100644
--- a/astroid/brain/brain_numpy_core_umath.py
+++ b/astroid/brain/brain_numpy_core_umath.py
@@ -101,6 +101,7 @@ def numpy_core_umath_transform():
trunc = FakeUfuncOneArg()
# Two args fu... | Adds two missing ufunc instances (add and multiply) | py |
diff --git a/protractor/management/commands/protractor.py b/protractor/management/commands/protractor.py
index <HASH>..<HASH> 100644
--- a/protractor/management/commands/protractor.py
+++ b/protractor/management/commands/protractor.py
@@ -46,7 +46,7 @@ class Command(BaseCommand):
help='Specify fixture to l... | Support the DJANGO_LIVE_TEST_SERVER_ADDRESS environment variable Added support for setting the default test server address via the same environment variable used by the LiveServerTestCase provided by Django. However, this does not support multiple ports or port ranges like LiveServerTestCase. | py |
diff --git a/src/streamlink/plugins/brightcove.py b/src/streamlink/plugins/brightcove.py
index <HASH>..<HASH> 100644
--- a/src/streamlink/plugins/brightcove.py
+++ b/src/streamlink/plugins/brightcove.py
@@ -18,7 +18,10 @@ class BrightcovePlayer(object):
validate.optional("height"): validate.any(int, None),... | plugins.brightcove: support for HLS stream URLs with query strings + RTMPE stream URLs (#<I>) * Handle HLS playlist URLs with query strings * Handle RTMPE streams | py |
diff --git a/openstack_dashboard/settings.py b/openstack_dashboard/settings.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/settings.py
+++ b/openstack_dashboard/settings.py
@@ -250,11 +250,6 @@ USE_I18N = True
USE_L10N = True
USE_TZ = True
-LOCALE_PATHS = [
- 'horizon/locale',
- 'openstack_dashboard... | Drop unnecessary LOCALE_PATHS from settings.py Django looks for and uses if it exists a locale directory in each of the installed apps listed in INSTALLED_APPS [1]. horizon and openstack_dashboard are specified in INSTALLED_APPS, so there is no need to specify horizon/locale and openstack_dashboard/locale explicitly. ... | py |
diff --git a/girder/utility/server.py b/girder/utility/server.py
index <HASH>..<HASH> 100644
--- a/girder/utility/server.py
+++ b/girder/utility/server.py
@@ -180,6 +180,7 @@ def configureServer(test=False, plugins=None, curConfig=None):
}
plugin.loadPlugins(plugins, info)
+ root, appconf = info['serverR... | Fix plugins that change the apiroot and appconfig objects on load | py |
diff --git a/pyemma/msm/ui/msm.py b/pyemma/msm/ui/msm.py
index <HASH>..<HASH> 100644
--- a/pyemma/msm/ui/msm.py
+++ b/pyemma/msm/ui/msm.py
@@ -1085,9 +1085,9 @@ class MSM(object):
See also
--------
- :func:`pyemma.coordinates.save_traj`
+ :meth:`pyemma.coordinates.api.save_traj`
... | fixing docstrings in msm | py |
diff --git a/doc/conf.py b/doc/conf.py
index <HASH>..<HASH> 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -213,8 +213,8 @@ on_saltstack = 'SALT_ON_SALTSTACK' in os.environ
project = 'Salt'
version = salt.version.__version__
-latest_release = '2017.7.0' # latest release
-previous_release = '2016.3.6' # latest rele... | [<I>] Bump latest and previous versions | py |
diff --git a/quark/ipam.py b/quark/ipam.py
index <HASH>..<HASH> 100644
--- a/quark/ipam.py
+++ b/quark/ipam.py
@@ -256,7 +256,7 @@ class QuarkIpam(object):
for addr in port["ip_addresses"]:
if "ip_address" in kwargs:
ip = kwargs["ip_address"]
- if ip... | One more type conversion for netaddr.IPAddress | py |
diff --git a/bika/lims/browser/analyses.py b/bika/lims/browser/analyses.py
index <HASH>..<HASH> 100644
--- a/bika/lims/browser/analyses.py
+++ b/bika/lims/browser/analyses.py
@@ -29,6 +29,7 @@ class AnalysesView(BikaListingView):
self.show_sort_column = False
self.show_select_row = False
self... | analyses tables have no toggles by default | py |
diff --git a/scout/server/blueprints/variants/controllers.py b/scout/server/blueprints/variants/controllers.py
index <HASH>..<HASH> 100644
--- a/scout/server/blueprints/variants/controllers.py
+++ b/scout/server/blueprints/variants/controllers.py
@@ -160,7 +160,15 @@ def str_variants(
"""Pre-process list of STR va... | Prepare case_group bams for STRs. | py |
diff --git a/ndb/prospective_search.py b/ndb/prospective_search.py
index <HASH>..<HASH> 100644
--- a/ndb/prospective_search.py
+++ b/ndb/prospective_search.py
@@ -134,7 +134,7 @@ def list_subscriptions(document_class,
sub_id_start='',
topic=None,
m... | Delete a trailing space. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.