diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/events.py b/events.py
index <HASH>..<HASH> 100644
--- a/events.py
+++ b/events.py
@@ -398,7 +398,7 @@ class Email(Events):
email[Email.EMAIL_ID].append(email_data["Message-ID"])
email[Email.EMAIL_EVENT].append(Email.EVENT_OPEN)
try:
- em... | Ignore TZ in the information coming from mailing lists | py |
diff --git a/pysparkling/sql/internals.py b/pysparkling/sql/internals.py
index <HASH>..<HASH> 100644
--- a/pysparkling/sql/internals.py
+++ b/pysparkling/sql/internals.py
@@ -14,7 +14,7 @@ from pysparkling.sql.column import parse
from pysparkling.sql.utils import IllegalArgumentException
from pysparkling.stat_counter... | Add a method to repartition and sort partitions | py |
diff --git a/haml/nodes.py b/haml/nodes.py
index <HASH>..<HASH> 100644
--- a/haml/nodes.py
+++ b/haml/nodes.py
@@ -427,7 +427,7 @@ class Filter(FilterBase):
def render(self, engine):
# Hopefully this chain respects proper scope resolution.
- yield '<%%block filter="__M_locals.get(%r) or globals()... | Filters are pulled from locals(). | py |
diff --git a/svtyper/singlesample.py b/svtyper/singlesample.py
index <HASH>..<HASH> 100644
--- a/svtyper/singlesample.py
+++ b/svtyper/singlesample.py
@@ -381,18 +381,15 @@ def tally_variant_read_fragments(variant, sample, split_slop, min_aligned, break
for query_name in sam_fragments:
fragment = sam_frag... | + cosmetic reformats of split read & paired function calls - fits nicer in the <I> column width window | py |
diff --git a/easy_thumbnails/engine.py b/easy_thumbnails/engine.py
index <HASH>..<HASH> 100644
--- a/easy_thumbnails/engine.py
+++ b/easy_thumbnails/engine.py
@@ -71,19 +71,22 @@ def generate_source_image(source_file, processor_options, generators=None):
passed to the generators.
"""
processor_options = ... | Improve engine.generate_source_image Firstly, don't require a close attribute on the source file since not all file-like objects provide this method. This fixes #<I> and refs #<I> Secondly, ensure we try to re-open (falling back to seek(0)) between multiple source generators. Fixes #<I> | py |
diff --git a/qtawesome/_version.py b/qtawesome/_version.py
index <HASH>..<HASH> 100644
--- a/qtawesome/_version.py
+++ b/qtawesome/_version.py
@@ -1,2 +1,2 @@
-version_info = (0, 4, 3)
+version_info = (0, 5, 0, 'dev0')
__version__ = '.'.join(map(str, version_info)) | Back to work [ci skip] | py |
diff --git a/xdoctest/utils.py b/xdoctest/utils.py
index <HASH>..<HASH> 100644
--- a/xdoctest/utils.py
+++ b/xdoctest/utils.py
@@ -277,7 +277,7 @@ class PythonPathContext(object):
def __enter__(self):
sys.path.append(self.dpath)
- def __exit__(self, a, b, c):
+ def __exit__(self, type_, value, tra... | minor change to argnames in __exit__ | py |
diff --git a/ccmlib/node.py b/ccmlib/node.py
index <HASH>..<HASH> 100644
--- a/ccmlib/node.py
+++ b/ccmlib/node.py
@@ -489,8 +489,9 @@ class Node():
## ~/.ccm/name-of-cluster/nodeX/conf/log4j-server.properties
##
def update_log4j(self, new_log4j_config):
- cassandra_conf_dir = "".join([self.get_co... | CR change: changed ''.join to os.path.join | py |
diff --git a/tests/calculators/hazard/classical/post_processing_test.py b/tests/calculators/hazard/classical/post_processing_test.py
index <HASH>..<HASH> 100644
--- a/tests/calculators/hazard/classical/post_processing_test.py
+++ b/tests/calculators/hazard/classical/post_processing_test.py
@@ -220,7 +220,7 @@ class Pos... | post_processing_test: pep8 Former-commit-id: 7d<I>c<I>bfdd<I>c<I>de<I>fdac | py |
diff --git a/salt/cloud/clouds/nova.py b/salt/cloud/clouds/nova.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/nova.py
+++ b/salt/cloud/clouds/nova.py
@@ -701,6 +701,8 @@ def list_nodes():
server_list = _salt_client().cmd(conn['auth_minion'],
'nova.server_list',
... | Fix error with empty list in nova.py | py |
diff --git a/openhtf/plugs/__init__.py b/openhtf/plugs/__init__.py
index <HASH>..<HASH> 100644
--- a/openhtf/plugs/__init__.py
+++ b/openhtf/plugs/__init__.py
@@ -460,9 +460,11 @@ class PlugManager(object):
# Override the logger so that __init__'s logging goes into the record.
plug_type.logger = sel... | Handle plug instantiation errors properly Ensures that a plug's logger attribute is fixed in case of an error when instantiating it. This ensures that plug instantiation is idempotent | py |
diff --git a/koordinates/__init__.py b/koordinates/__init__.py
index <HASH>..<HASH> 100644
--- a/koordinates/__init__.py
+++ b/koordinates/__init__.py
@@ -8,7 +8,7 @@ Koordinates API Library
'''
__title__ = 'koordinates'
-__version__ = '0.2.1'
+__version__ = '0.3.0'
__author__ = 'Richard Shea'
__license__ = 'BSD'... | Rolling the version to <I> | py |
diff --git a/vyked/sql.py b/vyked/sql.py
index <HASH>..<HASH> 100644
--- a/vyked/sql.py
+++ b/vyked/sql.py
@@ -176,7 +176,7 @@ class PostgresStore:
if where_keys is not None:
where_clause, values = cls._get_where_clause_with_values(where_keys)
query = cls._select_all_strin... | Fix bug where values were not returned in make_select_query | py |
diff --git a/autograd/core.py b/autograd/core.py
index <HASH>..<HASH> 100644
--- a/autograd/core.py
+++ b/autograd/core.py
@@ -40,6 +40,7 @@ def backward_pass(g, end_node, start_node):
parent.vspace, node.vspace, args, kwargs)
outgrads[parent].append(outgrad)
... | backward_pass now clears nodes which will not be used (#<I>) * backward_pass now clears nodes which will not be used * Only using spaces now * Remove dict reference more cleanly | py |
diff --git a/analytical/templatetags/gosquared.py b/analytical/templatetags/gosquared.py
index <HASH>..<HASH> 100644
--- a/analytical/templatetags/gosquared.py
+++ b/analytical/templatetags/gosquared.py
@@ -6,10 +6,9 @@ from __future__ import absolute_import
import re
-from django.conf import settings
from django... | [GoSquared] Fix code smell "unused import" and flake8 complaints | py |
diff --git a/handlers/commons.py b/handlers/commons.py
index <HASH>..<HASH> 100644
--- a/handlers/commons.py
+++ b/handlers/commons.py
@@ -42,9 +42,11 @@ class ElementDecompositionHandler(BaseHandler):
"""Decomposes any IEML string input into its sub elements"""
def _gen_proposition_json(self, proposition):... | Support for promoted propositions on the iemlElement decomposing handler | py |
diff --git a/statik/__init__.py b/statik/__init__.py
index <HASH>..<HASH> 100644
--- a/statik/__init__.py
+++ b/statik/__init__.py
@@ -1,3 +1,3 @@
# -*- coding:utf-8 -*-
-__version__ = "0.16.0"
+__version__ = "0.16.1" | bumping version to <I> | py |
diff --git a/rqalpha/__main__.py b/rqalpha/__main__.py
index <HASH>..<HASH> 100644
--- a/rqalpha/__main__.py
+++ b/rqalpha/__main__.py
@@ -120,7 +120,7 @@ def run_strategy(source_code, strategy_filename, start_date, end_date, data_bund
"logger": user_log,
"print": print_,
}
- scope.update(api.... | export only specific api to user module | py |
diff --git a/coursera/coursera_dl.py b/coursera/coursera_dl.py
index <HASH>..<HASH> 100755
--- a/coursera/coursera_dl.py
+++ b/coursera/coursera_dl.py
@@ -157,7 +157,7 @@ def get_netrc_path(path=None):
path = '%s\\_netrc' % profilepath
else:
path = '\\_netrc'
- retu... | Make passing optional path to `.netrc` also work for non-Windows OSes. | py |
diff --git a/pep257.py b/pep257.py
index <HASH>..<HASH> 100755
--- a/pep257.py
+++ b/pep257.py
@@ -474,9 +474,8 @@ def collect(names, match=lambda name: True, match_dir=lambda name: True):
for name in names: # map(expanduser, names):
if os.path.isdir(name):
for root, dirs, filenames in os.wa... | Fix GreenSteam/pep<I>#<I> | py |
diff --git a/quart/asgi.py b/quart/asgi.py
index <HASH>..<HASH> 100644
--- a/quart/asgi.py
+++ b/quart/asgi.py
@@ -112,6 +112,7 @@ class ASGIWebsocketConnection:
await self.queue.put(event.get('bytes') or event['text'])
elif event['type'] == 'websocket.disconnect':
self.ta... | Bugfix ensure websocket ASGI handler closes on disconnect This ensures that the while loop is exited allowing the handling task to finish. This therefore prevents task leaking and unsightly error messages. | py |
diff --git a/src/dolo/misc/commands.py b/src/dolo/misc/commands.py
index <HASH>..<HASH> 100644
--- a/src/dolo/misc/commands.py
+++ b/src/dolo/misc/commands.py
@@ -6,6 +6,8 @@ This module contains the officially supported commands of Dolo :
- irf()
'''
+import matplotlib
+matplotlib.use('Agg')
import pylab
import ... | Default output for matplotlib is Agg (png) | py |
diff --git a/tests/test_manhole.py b/tests/test_manhole.py
index <HASH>..<HASH> 100644
--- a/tests/test_manhole.py
+++ b/tests/test_manhole.py
@@ -357,7 +357,7 @@ if __name__ == '__main__':
print(' - [%s/%s] reading from signalfd failed with errno %s' % (i, pid, exc.errno))
... | Oooops. I meant the other. | py |
diff --git a/snappybouncer/tasks.py b/snappybouncer/tasks.py
index <HASH>..<HASH> 100644
--- a/snappybouncer/tasks.py
+++ b/snappybouncer/tasks.py
@@ -49,6 +49,9 @@ def create_snappy_ticket(ticket):
@task()
def update_snappy_ticket_with_extras(snappy_api, nonce, contact_key, subject):
+ # Short-circuit if there ... | Short-circuit snappy extras if there aren't any. | py |
diff --git a/equations.py b/equations.py
index <HASH>..<HASH> 100644
--- a/equations.py
+++ b/equations.py
@@ -257,13 +257,13 @@ def calcSemiMajorAxis(Period, M_s):
return a.rescale(pq.au)
-def calcSemiMajorAxis2(T_p, T_s, A_p, R_s):
+def calcSemiMajorAxis2(T_p, T_s, A_p, R_s, epsilon=0.7):
""" Calculates... | added epsilon option to calc sma 2 | py |
diff --git a/authomatic/core.py b/authomatic/core.py
index <HASH>..<HASH> 100644
--- a/authomatic/core.py
+++ b/authomatic/core.py
@@ -278,9 +278,7 @@ class ReprMixin(object):
args.append('{0}={1}'.format(k, v))
- args = ', '.join(args)
-
- return '{0}({1})'.format(name, args)
+ ... | Avoid redefining list as string. | py |
diff --git a/graphene/utils/subclass_with_meta.py b/graphene/utils/subclass_with_meta.py
index <HASH>..<HASH> 100644
--- a/graphene/utils/subclass_with_meta.py
+++ b/graphene/utils/subclass_with_meta.py
@@ -19,7 +19,6 @@ class SubclassWithMeta_Meta(InitSubclassMeta):
class SubclassWithMeta(metaclass=SubclassWithMeta_M... | Remove misleading comment The comment originally referred to the __metaclass__ attribute which is gone now. | py |
diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py
index <HASH>..<HASH> 100644
--- a/tests/plugin_tests.py
+++ b/tests/plugin_tests.py
@@ -298,6 +298,14 @@ class AddCopySpecTests(unittest.TestCase):
self.assertEquals(1024 * 1024, len(content))
shutil.rmtree(tmpdir)
+ def test_multiple_fil... | [plugins] Add tests for add_copy_spec_limit() with multiple copyspecs | py |
diff --git a/searx/engines/dictionary.py b/searx/engines/dictionary.py
index <HASH>..<HASH> 100644
--- a/searx/engines/dictionary.py
+++ b/searx/engines/dictionary.py
@@ -3,7 +3,7 @@ from lxml import html
from searx.engines.xpath import extract_text
from searx.languages import language_codes
-categories = []
+categ... | [enh] return results instead of answers | py |
diff --git a/dipper/sources/CTD.py b/dipper/sources/CTD.py
index <HASH>..<HASH> 100644
--- a/dipper/sources/CTD.py
+++ b/dipper/sources/CTD.py
@@ -75,6 +75,14 @@ class CTD(Source):
]
},
+ # 'gene_pathway': {
+ # 'file': 'CTD_genes_pathways.tsv.gz',
+ # 'url': 'http://c... | retain some comment out code for now. to delete or uncomment all at once throughout file | py |
diff --git a/service_configuration_lib/__init__.py b/service_configuration_lib/__init__.py
index <HASH>..<HASH> 100644
--- a/service_configuration_lib/__init__.py
+++ b/service_configuration_lib/__init__.py
@@ -84,11 +84,11 @@ def read_services_configuration(soa_dir=DEFAULT_SOA_DIR):
# Not all services have all fi... | cleaning up read_services_configuration a bit | py |
diff --git a/holoviews/plotting/plot.py b/holoviews/plotting/plot.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/plot.py
+++ b/holoviews/plotting/plot.py
@@ -718,6 +718,7 @@ class GenericCompositePlot(DimensionedPlot):
else:
dim_keys = zip([d.name for d in self.dimensions
... | Fixed titles for open mode Layouts | py |
diff --git a/pywws/Template.py b/pywws/Template.py
index <HASH>..<HASH> 100755
--- a/pywws/Template.py
+++ b/pywws/Template.py
@@ -63,6 +63,7 @@ class Template(object):
wind_chill = WeatherStation.wind_chill
apparent_temp = WeatherStation.apparent_temp
pressure_offset = eval(self.params.get('... | Made 'fixed_block' available to Template.py #calc# directives. See issue <I> for a discussion of the background to this. | py |
diff --git a/py/selenium/webdriver/remote/remote_connection.py b/py/selenium/webdriver/remote/remote_connection.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/remote/remote_connection.py
+++ b/py/selenium/webdriver/remote/remote_connection.py
@@ -309,7 +309,7 @@ class RemoteConnection(object):
... | removing local storage key should use DELETE not POST Fixes Issue #<I> | py |
diff --git a/zabbix/api.py b/zabbix/api.py
index <HASH>..<HASH> 100644
--- a/zabbix/api.py
+++ b/zabbix/api.py
@@ -75,7 +75,7 @@ class ZabbixAPI(object):
def __init__(self, url='https://localhost/zabbix',
use_authenticate=False, user='admin', password='zabbix'):
self.use_authenticate = use_authe... | Update api.py The new api <I> need to pass the auth parameter as null, look ate the documentation: <URL> | py |
diff --git a/salt/netapi/rest_cherrypy/app.py b/salt/netapi/rest_cherrypy/app.py
index <HASH>..<HASH> 100644
--- a/salt/netapi/rest_cherrypy/app.py
+++ b/salt/netapi/rest_cherrypy/app.py
@@ -16,7 +16,7 @@ A REST API for Salt
introduced in version 3.2.5. The issue was reportedly resolved with
CherryPy mile... | Web editor isn't vim :) | py |
diff --git a/cellpy/readers/cellreader.py b/cellpy/readers/cellreader.py
index <HASH>..<HASH> 100644
--- a/cellpy/readers/cellreader.py
+++ b/cellpy/readers/cellreader.py
@@ -337,7 +337,7 @@ class cellpydata(object):
This class is the main work-horse for cellpy where all the functions for reading, selecting, and
... | includes some cool text in docstring | py |
diff --git a/twine/commands/upload.py b/twine/commands/upload.py
index <HASH>..<HASH> 100644
--- a/twine/commands/upload.py
+++ b/twine/commands/upload.py
@@ -18,8 +18,6 @@ import distutils.spawn
import hashlib
import logging
import os.path
-import shutil
-import tempfile
import pkginfo
import requests
@@ -38,7 ... | Make bz2 and zip work as sdists | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ setup(name='shap',
author_email='slund1@cs.washington.edu',
license='MIT',
packages=['shap'],
- install_requires=['numpy', 'scipy', 'iml', 'sklearn', 'matplotlib'],
+ install_requi... | Update setup.py `'sklearn'` requirement is not recognized during installation | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -47,6 +47,7 @@ setup(
'netmiko/brocade',
'netmiko/huawei',
'netmiko/a10',
+ 'netmiko/ovs',
'netmiko/avaya'],
install_requires=['paramiko>=1.13.0', '... | Adding ovs package to setup.py | py |
diff --git a/pyes/mappings.py b/pyes/mappings.py
index <HASH>..<HASH> 100644
--- a/pyes/mappings.py
+++ b/pyes/mappings.py
@@ -10,6 +10,7 @@ except ImportError:
from .models import SortedDict, DotDict
from datetime import datetime, date
import six
+from .exceptions import MappedFieldNotFoundException
_thread_loca... | Fixed missing imports in mappings.py | py |
diff --git a/orthopy/s2/zernike.py b/orthopy/s2/zernike.py
index <HASH>..<HASH> 100644
--- a/orthopy/s2/zernike.py
+++ b/orthopy/s2/zernike.py
@@ -53,10 +53,9 @@ class Eval:
last_Y = last_Y[::-1]
n = self.L + 1
+ half = n // 2
if n % 2 == 0:
- half = ... | small simplification for zernike | py |
diff --git a/pyxel/editor/__init__.py b/pyxel/editor/__init__.py
index <HASH>..<HASH> 100644
--- a/pyxel/editor/__init__.py
+++ b/pyxel/editor/__init__.py
@@ -3,7 +3,7 @@ import pyxel
class Editor:
def __init__(self):
- pyxel.init(160, 120, caption='Pyxel')
+ pyxel.init(240, 180, caption='Pyxel')
... | Updaed the size of the editor | py |
diff --git a/openstack_dashboard/dashboards/project/data_processing/clusters/workflows/create.py b/openstack_dashboard/dashboards/project/data_processing/clusters/workflows/create.py
index <HASH>..<HASH> 100644
--- a/openstack_dashboard/dashboards/project/data_processing/clusters/workflows/create.py
+++ b/openstack_das... | Data Processing: Adding keypair import from launch cluster dialog Added the ability to import keypair from launch cluster dialog. This brings the launch cluster functionality more in-line with the launch instance functionality. Change-Id: I<I>d<I>df<I>d1f3f<I>c3f<I>b<I> Closes-Bug: bug #<I> | py |
diff --git a/salt/modules/nova.py b/salt/modules/nova.py
index <HASH>..<HASH> 100644
--- a/salt/modules/nova.py
+++ b/salt/modules/nova.py
@@ -161,11 +161,17 @@ def boot(name, flavor_id=0, image_id=0, profile=None, timeout=300):
def _server_by_name(server_name, profile=None):
+ '''
+ Returns information abou... | [salt] document private functions _server_by_name and _volume_get | py |
diff --git a/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py b/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py
index <HASH>..<HASH> 100644
--- a/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py
+++ b/oauthlib/oauth2/rfc6749/grant_types/authorization_code.py
@@ -382,7 +382,7 @@ class Authori... | Small fix for #<I> Tuples are initialized faster on CPython. | py |
diff --git a/openquake/engine/job/validation.py b/openquake/engine/job/validation.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/job/validation.py
+++ b/openquake/engine/job/validation.py
@@ -436,6 +436,12 @@ class EventBasedHazardForm(BaseHazardModelForm):
msg)
... | job/validation: For EB hazard, if `hazard_curves_from_gmfs` is true, `ground_motion_fields` must also be true. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ def read(fname):
setup(
name="Pebble",
- version="2.6.0",
+ version="2.6.1",
author="Matteo Cafasso",
author_email="noxdafox@gmail.com",
description=("Threading and multiprocessing e... | release <I>: fix process decorator when a method is decorated in Windows | py |
diff --git a/exchangelib/protocol.py b/exchangelib/protocol.py
index <HASH>..<HASH> 100644
--- a/exchangelib/protocol.py
+++ b/exchangelib/protocol.py
@@ -314,6 +314,14 @@ class Protocol(with_metaclass(CachingProtocol, BaseProtocol)):
thread_poolsize = 4 * self._session_pool_size
return ThreadPool(pro... | Cleanup the thread pool on Protocol close (#<I>) | py |
diff --git a/quiver/plotter.py b/quiver/plotter.py
index <HASH>..<HASH> 100644
--- a/quiver/plotter.py
+++ b/quiver/plotter.py
@@ -193,3 +193,6 @@ class FieldPlotter(object):
if self.figure:
canvas = FigureCanvas(self.figure)
self.figure.savefig(output, format='png', bbox_inches='tigh... | Add back lines that were somehow lost. | py |
diff --git a/tests/test_deployment.py b/tests/test_deployment.py
index <HASH>..<HASH> 100644
--- a/tests/test_deployment.py
+++ b/tests/test_deployment.py
@@ -948,10 +948,10 @@ class TestDockerServer(object):
p.logfile = sys.stdout
try:
p.expect_exact("Server is running", timeout=180)
- ... | Increase timeouts in docker tests | py |
diff --git a/src/flaskext/assets.py b/src/flaskext/assets.py
index <HASH>..<HASH> 100644
--- a/src/flaskext/assets.py
+++ b/src/flaskext/assets.py
@@ -123,6 +123,7 @@ class Environment(BaseEnvironment):
filename = name
except (ValueError, KeyError):
endpoint = '.static'
+ ... | Note alternative option that we're now only aware of because the confusion about the use of app.static_path is cleared up. | py |
diff --git a/salt/runner.py b/salt/runner.py
index <HASH>..<HASH> 100644
--- a/salt/runner.py
+++ b/salt/runner.py
@@ -179,12 +179,14 @@ class Runner(RunnerClient):
async_pub = self._gen_async_pub()
self.jid = async_pub['jid']
+ fun_args = salt.utils.args.parse_input(
... | Adding retcode and fun_args to the event data. | py |
diff --git a/example/settings.py b/example/settings.py
index <HASH>..<HASH> 100755
--- a/example/settings.py
+++ b/example/settings.py
@@ -85,3 +85,5 @@ INSTALLED_APPS = (
'alphafilter',
'testtags',
)
+
+ALPHAFILTER_ADMIN_FIELDS = {'auth.user': 'username'}
\ No newline at end of file | Included the ALPHAFILTER_ADMIN_FIELDS setting for testing | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -13,7 +13,7 @@
import sys, os
-from wkhtmltopdf import get_version
+import wkhtmltopdf
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.pat... | docs/conf.py can now find the version number. | py |
diff --git a/grimoire/elk/enrich.py b/grimoire/elk/enrich.py
index <HASH>..<HASH> 100644
--- a/grimoire/elk/enrich.py
+++ b/grimoire/elk/enrich.py
@@ -602,12 +602,21 @@ class Enrich(object):
return profile
- def get_item_sh_from_id(self, eitem, rol='author'):
+ def get_item_sh_from_id(self, eitem, ro... | [enrich][sortinghat] eitems identities refresh implemented for all data sources. Pending testing. | py |
diff --git a/tinydb/__init__.py b/tinydb/__init__.py
index <HASH>..<HASH> 100644
--- a/tinydb/__init__.py
+++ b/tinydb/__init__.py
@@ -35,8 +35,6 @@ class TinyDB(object):
and getting tables.
"""
- _table_cache = {}
-
def __init__(self, *args, **kwargs):
"""
Create a new instance of... | Make _table_cache an instance attribute. It was previously a class attribute, which caused issue#3 | py |
diff --git a/aiohttp_devtools/runserver/config.py b/aiohttp_devtools/runserver/config.py
index <HASH>..<HASH> 100644
--- a/aiohttp_devtools/runserver/config.py
+++ b/aiohttp_devtools/runserver/config.py
@@ -131,11 +131,7 @@ class Config:
module_path = '.'.join(rel_py_file.with_suffix('').parts)
sys.... | Remove ImportError catching. (#<I>) | py |
diff --git a/karaage/views.py b/karaage/views.py
index <HASH>..<HASH> 100644
--- a/karaage/views.py
+++ b/karaage/views.py
@@ -27,7 +27,6 @@ from django.contrib.sites.models import Site
from django.db.models import Q
from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect, HttpRespo... | decorator not needed rely on middleware | py |
diff --git a/grr/__init__.py b/grr/__init__.py
index <HASH>..<HASH> 100644
--- a/grr/__init__.py
+++ b/grr/__init__.py
@@ -18,6 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
import configparser
import json
+import os.path
import subprocess
import sys
from urllib.request import ur... | Find .gitreview properly outside of the repository root | py |
diff --git a/asyncpg/connection.py b/asyncpg/connection.py
index <HASH>..<HASH> 100644
--- a/asyncpg/connection.py
+++ b/asyncpg/connection.py
@@ -1919,7 +1919,7 @@ async def connect(dsn=None, *,
.. _postgres envvars:
https://www.postgresql.org/docs/current/static/libpq-envars.html
.. _libpq connecti... | Fix link in connect docstring (#<I>) | py |
diff --git a/tests/unit/modules/test_kubernetes.py b/tests/unit/modules/test_kubernetes.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/test_kubernetes.py
+++ b/tests/unit/modules/test_kubernetes.py
@@ -181,7 +181,7 @@ class KubernetesTestCase(TestCase, LoaderModuleMockMixin):
if salt.utils.pla... | Older MacOS versions won't have TMPDIR environment | py |
diff --git a/visidata/graph.py b/visidata/graph.py
index <HASH>..<HASH> 100644
--- a/visidata/graph.py
+++ b/visidata/graph.py
@@ -137,4 +137,5 @@ class GraphSheet(InvertedCanvas):
# TODO: grid lines corresponding to axis labels
xname = ','.join(xcol.name for xcol in self.xcols if isNumeric(xcol)) o... | [canvas] clipstr xname to prevent overlap with 1st xaxis | py |
diff --git a/pylti/common.py b/pylti/common.py
index <HASH>..<HASH> 100644
--- a/pylti/common.py
+++ b/pylti/common.py
@@ -55,6 +55,7 @@ LTI_REQUEST_TYPE = [u'any', u'initial', u'session']
def default_error(exception=None):
"""Render simple error page. This should be overidden in applications."""
# pylint: ... | Logging the original exception w/stack trace when the generic LTI communication error is sent to the client. | py |
diff --git a/salt/wheel/__init__.py b/salt/wheel/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/wheel/__init__.py
+++ b/salt/wheel/__init__.py
@@ -121,6 +121,7 @@ class WheelClient(mixins.SyncClientMixin, mixins.AsyncClientMixin, object):
>>> wheel.cmd('key.finger', ['jerry'])
{'minions': ... | Fix WheelClient.cmd() inheritance. The method is overriden just to update the PyDoc string. So it should call parent method. | py |
diff --git a/test.py b/test.py
index <HASH>..<HASH> 100644
--- a/test.py
+++ b/test.py
@@ -31,7 +31,7 @@ class GenericStruct(metaclass=Test):
hex += getattr(self, _attr).build()
elif not callable(attr):
hex += _class(attr).build()
- return hex
+ return hex.rs... | Removed \n character from string. | py |
diff --git a/kernel_tuner/interface.py b/kernel_tuner/interface.py
index <HASH>..<HASH> 100644
--- a/kernel_tuner/interface.py
+++ b/kernel_tuner/interface.py
@@ -444,7 +444,10 @@ _run_kernel_docstring = """Compile and run a single kernel
def run_kernel(kernel_name, kernel_string, problem_size, arguments,
... | add option to debug print for run_kernel | py |
diff --git a/pghoard/rohmu/inotify.py b/pghoard/rohmu/inotify.py
index <HASH>..<HASH> 100644
--- a/pghoard/rohmu/inotify.py
+++ b/pghoard/rohmu/inotify.py
@@ -69,6 +69,7 @@ class InotifyWatcher(Thread):
mask |= v
watch = self.libc.inotify_add_watch(self.fd, c_char_p(path.encode("utf8")), c_uint32(... | inotify: log a warning if we fail to add a watch It may make sense to raise a warning in case there's a failure, but that may cause issues elsewhere which I don't have the time to investigate right now. Logging a warning about failure made it apparent why my new test case didn't work, and should be better than the si... | py |
diff --git a/pmagpy/contribution_builder.py b/pmagpy/contribution_builder.py
index <HASH>..<HASH> 100644
--- a/pmagpy/contribution_builder.py
+++ b/pmagpy/contribution_builder.py
@@ -1910,9 +1910,9 @@ class MagicDataFrame(object):
df_slice = df_slice[df_slice['dir_inc'].notnull() & df_slice['dir_dec'].notnull(... | get di block will now use all rows regardless of citations, fixes #<I> | py |
diff --git a/gooey/gui/seeder.py b/gooey/gui/seeder.py
index <HASH>..<HASH> 100644
--- a/gooey/gui/seeder.py
+++ b/gooey/gui/seeder.py
@@ -12,7 +12,7 @@ def fetchDynamicProperties(target, encoding):
dynamically generated defaults with which to seed the UI
"""
cmd = '{} {}'.format(target, 'gooey-seed-ui... | Prevent crash when getting dynamic properties Since `args` is a string, the `Popen` constructor interprets "/usr/bin/python myscript.py" as a path to an executable instead of "/usr/bin/python" with argument "myscript.py". Adding `shell=True` makes this behave as expected. Fix #<I> | py |
diff --git a/vc_zoom/indico_vc_zoom/controllers.py b/vc_zoom/indico_vc_zoom/controllers.py
index <HASH>..<HASH> 100644
--- a/vc_zoom/indico_vc_zoom/controllers.py
+++ b/vc_zoom/indico_vc_zoom/controllers.py
@@ -56,7 +56,8 @@ class RHWebhook(RH):
vc_room = VCRoom.query.filter(VCRoom.data.contains({'zoom_id': me... | VC/Zoom: Only log unhandled room webhooks as DEBUG This happens a lot when people create zoom rooms outside indico | py |
diff --git a/views/search.py b/views/search.py
index <HASH>..<HASH> 100644
--- a/views/search.py
+++ b/views/search.py
@@ -533,11 +533,20 @@ def results(qid, p, of, so, rm):
recids = faceted_results_filter(recIDsHitSet,
filter_data,
... | search: quickfix pagination troubles with facets * Fixes problem with ignoring pagination options while using facets. (closes #<I>) (PR #<I>) | py |
diff --git a/tests/test_wsgi_middleware.py b/tests/test_wsgi_middleware.py
index <HASH>..<HASH> 100644
--- a/tests/test_wsgi_middleware.py
+++ b/tests/test_wsgi_middleware.py
@@ -160,8 +160,10 @@ class TestWSGIMiddleware(object):
new_file = app.post('/create_file').json
file_path = DepotManager.url_... | Address test as <I> is now fixed and really redirects | py |
diff --git a/src/suit_dashboard/admin.py b/src/suit_dashboard/admin.py
index <HASH>..<HASH> 100644
--- a/src/suit_dashboard/admin.py
+++ b/src/suit_dashboard/admin.py
@@ -35,17 +35,10 @@ def register_realtime(widget):
raise ValueError('URL regex %s is already used by another '
'real t... | Remove ability to realtime class, next: remove RealTime class (only function) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ DESCRIPTION = 'Passwordless auth for Django Rest Framework Token Authentication.
URL = 'https://github.com/aaronn/django-rest-framework-passwordless'
EMAIL = 'hi@aaron.ng'
AUTHOR = 'Aaron Ng'
-REQUIRES_PYTHON... | in setup.py change required python to 3 | py |
diff --git a/scapy.py b/scapy.py
index <HASH>..<HASH> 100755
--- a/scapy.py
+++ b/scapy.py
@@ -21,6 +21,9 @@
#
# $Log: scapy.py,v $
+# Revision 0.9.17.2 2004/07/28 21:16:12 pbi
+# - added nsummary() method to SndRcvList() class
+#
# Revision 0.9.17.1 2004/07/26 19:52:55 pbi
# Release 0.9.17
#
@@ -412,7 +415,... | - added nsummary() method to SndRcvList() class | py |
diff --git a/spyder/plugins/completion/providers/languageserver/provider.py b/spyder/plugins/completion/providers/languageserver/provider.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/completion/providers/languageserver/provider.py
+++ b/spyder/plugins/completion/providers/languageserver/provider.py
@@ -87,7 +87,... | LSP: Bump CONF_VERSION after move to pylsp server | py |
diff --git a/pylatexenc/version.py b/pylatexenc/version.py
index <HASH>..<HASH> 100644
--- a/pylatexenc/version.py
+++ b/pylatexenc/version.py
@@ -23,4 +23,4 @@
#
-version_str = "1.0.post1"
+version_str = "1.1" | bumped version <I> | py |
diff --git a/anycast_healthchecker/main.py b/anycast_healthchecker/main.py
index <HASH>..<HASH> 100755
--- a/anycast_healthchecker/main.py
+++ b/anycast_healthchecker/main.py
@@ -564,7 +564,8 @@ class HealthChecker(object):
# OK some IP_PREFIX is either removed or added, go and truncate the
# configur... | Added program name in the header of bird configuration So, people know that we modified it and not puppet. TODO, it would be nice to produce a SHA1 fingerprint | py |
diff --git a/tensorflow_probability/python/distributions/jax_transformation_test.py b/tensorflow_probability/python/distributions/jax_transformation_test.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/distributions/jax_transformation_test.py
+++ b/tensorflow_probability/python/distributions/jax_tran... | Suppress testing jit(Independent.sample) and pmap(MixtureSameFamily.log_prob) due to mysterious failure. PiperOrigin-RevId: <I> | py |
diff --git a/payu/models/um.py b/payu/models/um.py
index <HASH>..<HASH> 100644
--- a/payu/models/um.py
+++ b/payu/models/um.py
@@ -238,4 +238,4 @@ def time_to_um_time(seconds):
assert(seconds % 86400 == 0)
- return [0, 0, seconds / 86400, 0, 0, 0]
+ return [0, 0, seconds // 86400, 0, 0, 0] | Changed division to integer for python3 compatibility | 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
@@ -625,7 +625,8 @@ def recurse(name, source, __env__='base'):
os.path.join(
__opts__['cachedir'],
'files',
- ... | fix path issue in recurse function for deep dirs on the salt master | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -46,7 +46,8 @@ setup(
include_package_data=True,
package_data={
'estnltk': ['corpora/arvutustehnika_ja_andmetootlus/*.xml', 'corpora/*.json', 'java/res/*.*'],
- 'estnltk.tests': ['test_morph/*.csv', '... | Updated setup.py: added more resource files to installable package data | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ setup(
url='https://github.com/ransford/sllurp',
license='GPLv3',
classifiers=[
- 'Development Status :: 3 - Alpha',
+ 'Development Status :: 4 - Beta',
'Environment :: Cons... | fix up details for pypi | py |
diff --git a/fundamentals/mysql/insert_list_of_dictionaries_into_database_tables.py b/fundamentals/mysql/insert_list_of_dictionaries_into_database_tables.py
index <HASH>..<HASH> 100644
--- a/fundamentals/mysql/insert_list_of_dictionaries_into_database_tables.py
+++ b/fundamentals/mysql/insert_list_of_dictionaries_into_... | fix bug in insert dict into mysql database - duplicate rows added | py |
diff --git a/tests/server/blueprints/variants/test_variants_views.py b/tests/server/blueprints/variants/test_variants_views.py
index <HASH>..<HASH> 100644
--- a/tests/server/blueprints/variants/test_variants_views.py
+++ b/tests/server/blueprints/variants/test_variants_views.py
@@ -21,7 +21,7 @@ def test_variants_clini... | fix test a bit but still doesn't worl | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -9,6 +9,7 @@ setup(name='lime',
license='BSD',
packages= find_packages(exclude=['js', 'node_modules', 'tests']),
install_requires=[
+ 'matplotlib==2',
'numpy',
'scipy',
... | matplotlib problem with travis | py |
diff --git a/tests/models.py b/tests/models.py
index <HASH>..<HASH> 100644
--- a/tests/models.py
+++ b/tests/models.py
@@ -338,9 +338,10 @@ class TestModelAPIs(ModelTestCase):
with self.assertQueryCount(1):
data = [(user.username, user.tweet.content) for user in query]
- self.assertEqual(... | Remove failing test assertions for now. | py |
diff --git a/drf_auto_endpoint/app_settings.py b/drf_auto_endpoint/app_settings.py
index <HASH>..<HASH> 100644
--- a/drf_auto_endpoint/app_settings.py
+++ b/drf_auto_endpoint/app_settings.py
@@ -27,6 +27,7 @@ DEFAULT_SETTINGS = {
'URLField': 'url',
'ManyToManyField': 'manytomany-lists',
'Many... | :heavy_plus_sign: add support for ember-cli-crudities generic-foreignkey field in ember adapter | py |
diff --git a/magicalimport/__init__.py b/magicalimport/__init__.py
index <HASH>..<HASH> 100644
--- a/magicalimport/__init__.py
+++ b/magicalimport/__init__.py
@@ -28,7 +28,7 @@ def import_from_physical_path(path, as_=None, here=None):
try:
return _create_module(module_id, path)
except FileNotFoundErr... | fix: support py<I> | py |
diff --git a/anndata/_io/specs/methods.py b/anndata/_io/specs/methods.py
index <HASH>..<HASH> 100644
--- a/anndata/_io/specs/methods.py
+++ b/anndata/_io/specs/methods.py
@@ -709,8 +709,8 @@ for numeric_scalar_type in [
bool, np.bool_,
np.uint8, np.uint16, np.uint32, np.uint64,
int, np.int8, np.int16, np... | Attempt to handle windows numpy dtypes (#<I>) | py |
diff --git a/bin/getFakeData.py b/bin/getFakeData.py
index <HASH>..<HASH> 100755
--- a/bin/getFakeData.py
+++ b/bin/getFakeData.py
@@ -22,8 +22,12 @@ def block_dump(block):
block_name = block['name']
dataset_name = block_name.split('#')[0]
_, primary_ds_name, processed_ds_name, tier = dataset_name.split(... | Use correct processing version and acquisition era name | py |
diff --git a/gwpy/plot/axes.py b/gwpy/plot/axes.py
index <HASH>..<HASH> 100644
--- a/gwpy/plot/axes.py
+++ b/gwpy/plot/axes.py
@@ -567,9 +567,10 @@ register_projection(Axes)
class PlotArgsProcessor(_process_plot_var_args):
"""This class controls how ax.plot() works
"""
- def _grab_next_args(self, *args, *... | gwpy.plot: fixed hack of _get_lines just manipulate args and pass back to super() | py |
diff --git a/angr/project.py b/angr/project.py
index <HASH>..<HASH> 100644
--- a/angr/project.py
+++ b/angr/project.py
@@ -275,6 +275,17 @@ class Project(object):
l.warning("Address 0x%08x is already in SimProcedure dict.", pseudo_addr)
return
+ # Special case for __libc_start_main - ... | Added a special case for libc_start_main when creating SimProcedures, so that we can call exit() at the end of the program. | py |
diff --git a/superset/views/core.py b/superset/views/core.py
index <HASH>..<HASH> 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -766,13 +766,13 @@ class Superset(BaseSupersetView): # pylint: disable=too-many-public-methods
if action == "overwrite" and not slice_overwrite_perm:
... | Update http error code from <I> to <I> (#<I>) | py |
diff --git a/teneto/classes/bids.py b/teneto/classes/bids.py
index <HASH>..<HASH> 100644
--- a/teneto/classes/bids.py
+++ b/teneto/classes/bids.py
@@ -264,10 +264,10 @@ class TenetoBIDS:
if update_pipeline:
self.selected_pipeline = output_pipeline
# Create new bids_filter dictionary t... | fixing update bids filter error of previous change | py |
diff --git a/versionner.py b/versionner.py
index <HASH>..<HASH> 100755
--- a/versionner.py
+++ b/versionner.py
@@ -2,17 +2,22 @@
from __future__ import print_function
+import pkg_resources
+import platform
+import sys
+
+if pkg_resources.parse_version(platform.python_version()) < pkg_resources.parse_version('3.3.0... | check python version earlier | py |
diff --git a/graphene_django/filter/fields.py b/graphene_django/filter/fields.py
index <HASH>..<HASH> 100644
--- a/graphene_django/filter/fields.py
+++ b/graphene_django/filter/fields.py
@@ -1,6 +1,7 @@
from functools import partial
from ..fields import DjangoConnectionField
+from graphene.relay import is_node
fro... | accept connections for DjangoFilterConnectionField | py |
diff --git a/wily/commands/build.py b/wily/commands/build.py
index <HASH>..<HASH> 100644
--- a/wily/commands/build.py
+++ b/wily/commands/build.py
@@ -4,6 +4,7 @@ Builds a cache based on a source-control history
TODO : Convert .gitignore to radon ignore patterns to make the build more efficient.
"""
+import traceba... | print tb in debug mode for builds | py |
diff --git a/blinkpy/camera.py b/blinkpy/camera.py
index <HASH>..<HASH> 100644
--- a/blinkpy/camera.py
+++ b/blinkpy/camera.py
@@ -150,7 +150,7 @@ class BlinkCamera:
self.serial = config.get("serial", None)
self.motion_enabled = config.get("enabled", "unknown")
self.battery_voltage = config.g... | Get the battery state for doorbells | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.