diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/py3status/modules/net_rate.py b/py3status/modules/net_rate.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/net_rate.py
+++ b/py3status/modules/net_rate.py
@@ -161,7 +161,7 @@ class Py3status:
# get the deltas into variable
delta = deltas[interface] if interface else None
... | Fixes #<I> - Handle non-existent interfaces better If an interface is specified, but has no statistics, handle the exception more gracefully. | py |
diff --git a/pyemu/pst/pst_handler.py b/pyemu/pst/pst_handler.py
index <HASH>..<HASH> 100644
--- a/pyemu/pst/pst_handler.py
+++ b/pyemu/pst/pst_handler.py
@@ -368,9 +368,15 @@ class Pst(object):
"""
if "forecasts" in self.pestpp_options.keys():
- return self.pestpp_options["forecasts"].lo... | tweaks to how forecast arg is parsed: | py |
diff --git a/emoji/templatetags/emoji_tags.py b/emoji/templatetags/emoji_tags.py
index <HASH>..<HASH> 100644
--- a/emoji/templatetags/emoji_tags.py
+++ b/emoji/templatetags/emoji_tags.py
@@ -48,4 +48,4 @@ def emoji_load():
except NoReverseMatch:
return ''
else:
- return "Emoji.setDataUrl('{0}'... | Mark emoji_load tag output as safe With Django <I> safe tags are automatically escaped unless the output string is safe. | py |
diff --git a/src/scs_core/aws/monitor/device_tester.py b/src/scs_core/aws/monitor/device_tester.py
index <HASH>..<HASH> 100644
--- a/src/scs_core/aws/monitor/device_tester.py
+++ b/src/scs_core/aws/monitor/device_tester.py
@@ -53,7 +53,7 @@ class DeviceTester(object):
delta = now - latest_pub
... | REALLY IMPORTANT fix for True and False being the wrong way round in "is_byline_active" !! | py |
diff --git a/mongoctl/commands/command_utils.py b/mongoctl/commands/command_utils.py
index <HASH>..<HASH> 100644
--- a/mongoctl/commands/command_utils.py
+++ b/mongoctl/commands/command_utils.py
@@ -297,10 +297,11 @@ def mongo_exe_version(mongo_exe):
# only take first line of spew
vers_spew_line = ver... | More accurate way of detecting SSL (to detect ssl in older mongo versions like <I>) | py |
diff --git a/irc/server.py b/irc/server.py
index <HASH>..<HASH> 100755
--- a/irc/server.py
+++ b/irc/server.py
@@ -170,11 +170,14 @@ class IRCClient(_py2_compat.socketserver.BaseRequestHandler):
self._send(msg)
# See if the client has any commands for us.
- if len(ready_to_read) == 1 and ... | Trap exceptions if the client has disconnected. | py |
diff --git a/src/kba/pipeline/_clean_html.py b/src/kba/pipeline/_clean_html.py
index <HASH>..<HASH> 100644
--- a/src/kba/pipeline/_clean_html.py
+++ b/src/kba/pipeline/_clean_html.py
@@ -300,13 +300,21 @@ def clean_html(config):
## make a closure around config
def _make_clean_html(stream_item):
code ... | adding allow_null_language_code as config param that will cause all the documents that CLD cannot recognize to get tagged and processed by the pipeline. This is important, because it turns out that about a third of the vital results for our entities are in language='' documents! Yes... this means that after we finish... | py |
diff --git a/salt/master.py b/salt/master.py
index <HASH>..<HASH> 100644
--- a/salt/master.py
+++ b/salt/master.py
@@ -508,7 +508,7 @@ class Master(SMaster):
# Setup the secrets here because the PubServerChannel may need
# them as well.
SMaster.secrets['aes'] = {'secret': multipro... | multiprocessing.Array wants a single character type object, py2/str or py3/bytes, not a unicode string | py |
diff --git a/ledgerautosync/ledgerwrap.py b/ledgerautosync/ledgerwrap.py
index <HASH>..<HASH> 100644
--- a/ledgerautosync/ledgerwrap.py
+++ b/ledgerautosync/ledgerwrap.py
@@ -55,6 +55,7 @@ def windows_clean(a):
def clean_payee(s):
s = s.replace('%', '')
s = s.replace('/', '\/')
+ s = s.replace("'", "")
... | replace ' in payee with nothing | py |
diff --git a/iamine/__init__.py b/iamine/__init__.py
index <HASH>..<HASH> 100755
--- a/iamine/__init__.py
+++ b/iamine/__init__.py
@@ -11,8 +11,10 @@ import aiohttp
class Miner:
- def __init__(self, identifiers, loop, done_callback=None, maxtasks=None):
+ def __init__(self, identifiers, loop, done_callback=N... | By default, don't cache item metadata in redis. Can be overriden with cache arg set to True. | py |
diff --git a/tests/test_graph.py b/tests/test_graph.py
index <HASH>..<HASH> 100644
--- a/tests/test_graph.py
+++ b/tests/test_graph.py
@@ -10,6 +10,7 @@ from algorithms.graph import all_pairs_shortest_path
from algorithms.graph import bellman_ford
from algorithms.graph import bellman_ford
from algorithms.graph impor... | Update test_graph.py unittest added for prims_minimum_spanning.py | py |
diff --git a/src/hamster/preferences.py b/src/hamster/preferences.py
index <HASH>..<HASH> 100755
--- a/src/hamster/preferences.py
+++ b/src/hamster/preferences.py
@@ -32,6 +32,8 @@ try:
except:
wnck = None
+from gettext import ngettext
+
def get_prev(selection, model):
(model, iter) = selection.get_select... | plurals for the reminder preference in minutes | py |
diff --git a/tests/integration/mapillary_tools_upload_provider/test_upload_provider.py b/tests/integration/mapillary_tools_upload_provider/test_upload_provider.py
index <HASH>..<HASH> 100644
--- a/tests/integration/mapillary_tools_upload_provider/test_upload_provider.py
+++ b/tests/integration/mapillary_tools_upload_pr... | fix: updating the user key in the tests | py |
diff --git a/cellpy/cli.py b/cellpy/cli.py
index <HASH>..<HASH> 100644
--- a/cellpy/cli.py
+++ b/cellpy/cli.py
@@ -352,6 +352,7 @@ def _check_import_pyodbc():
print(" checking existence of mdb-export")
import subprocess
sub_process_path = "mdb-export"
+
try:
x = subproce... | Travis did not like my check - so surrounded it with a try except clause | py |
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index <HASH>..<HASH> 100644
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -9,6 +9,7 @@ import os
import sys
import mock
+import pytest
import cmd2
from conftest import run_cmd, normalize, BASE_HELP, HELP_HISTORY, SHORTCUTS_TXT, SHOW_TXT
@@ -84,6 +85,8 ... | Told pytest to skip one unit test on Windows because getting the output was problematic. The feature does work on Windows though. | py |
diff --git a/tests/test_network.py b/tests/test_network.py
index <HASH>..<HASH> 100755
--- a/tests/test_network.py
+++ b/tests/test_network.py
@@ -315,6 +315,26 @@ class TestPyLastNetwork(PyLastTestCase):
self.assertIsInstance(results, list)
self.assertIsInstance(results[0], pylast.Album)
+ def t... | Add test for storing album images on search | py |
diff --git a/monit.py b/monit.py
index <HASH>..<HASH> 100644
--- a/monit.py
+++ b/monit.py
@@ -62,7 +62,10 @@ class Monit(dict):
self.daemon = daemon
self.running = None
if self.type != 'system':
- self.running = not bool(int(xml.find('status').text))
+ ... | I have found that the XML always returns 0 for status, whether the service is running or not. However, I also saw that there is only a PID field when the service is running. So I have set running to look for a PID and return false when there isn't one | py |
diff --git a/epyc/hdf5labnotebook.py b/epyc/hdf5labnotebook.py
index <HASH>..<HASH> 100644
--- a/epyc/hdf5labnotebook.py
+++ b/epyc/hdf5labnotebook.py
@@ -337,6 +337,7 @@ class HDF5LabNotebook(LabNotebook):
pdfnames = list(pds.dtype.names)
jobidcol = pdfnames.index(ResultSet.JOBID)
... | Initiaalised jobid to avoid a type warning (not an issue in practice) | py |
diff --git a/psamm/command.py b/psamm/command.py
index <HASH>..<HASH> 100644
--- a/psamm/command.py
+++ b/psamm/command.py
@@ -658,7 +658,7 @@ class MassConsistencyCommand(SolverCommandMixin, Command):
for compound in self._model.parse_compounds():
compound_name[compound.id] = (
c... | command: Access zeromass compound attribute with properties This fixes a failure when masscheck was applied to models parsed from ModelSEED tables. | py |
diff --git a/django_fsm_log/decorators.py b/django_fsm_log/decorators.py
index <HASH>..<HASH> 100644
--- a/django_fsm_log/decorators.py
+++ b/django_fsm_log/decorators.py
@@ -1,4 +1,7 @@
+from functools import wraps
+
def fsm_log_by(func):
+ @wraps(func)
def wrapped(*args, **kwargs):
arg_list = list(a... | fsm_log_by decorator uses @wraps to fix missing transitions issue | py |
diff --git a/cherrypy/_cpwsgiserver.py b/cherrypy/_cpwsgiserver.py
index <HASH>..<HASH> 100644
--- a/cherrypy/_cpwsgiserver.py
+++ b/cherrypy/_cpwsgiserver.py
@@ -217,7 +217,7 @@ class WorkerThread(threading.Thread):
request.write(line)
except socket.error, e:
... | Fix for #<I>. Yet another socket error to ignore. | py |
diff --git a/blockstack/lib/rpc.py b/blockstack/lib/rpc.py
index <HASH>..<HASH> 100644
--- a/blockstack/lib/rpc.py
+++ b/blockstack/lib/rpc.py
@@ -1224,6 +1224,20 @@ class BlockstackAPIEndpointHandler(SimpleHTTPRequestHandler):
self._reply_json({'status': 'alive', 'version': VERSION})
return
+
+... | expose getinfo as a RESTful endpoint | py |
diff --git a/jax/lax.py b/jax/lax.py
index <HASH>..<HASH> 100644
--- a/jax/lax.py
+++ b/jax/lax.py
@@ -622,7 +622,7 @@ def foreach_loop(sequence, body_fun, init_val):
"""
_, result = fori_loop(
0, len(sequence),
- lambda i, seq_val: body_fun(seq_val[0][i], seq_val[1]),
+ lambda i, seq_val: (seq_v... | fixed TypeError caused by body_fun of foreach loop | py |
diff --git a/django_afip/admin.py b/django_afip/admin.py
index <HASH>..<HASH> 100644
--- a/django_afip/admin.py
+++ b/django_afip/admin.py
@@ -99,8 +99,9 @@ class ReceiptAdmin(admin.ModelAdmin):
)
return
- queryset = queryset.filter(batch__isnull=False)
+ queryset = queryset.fi... | Fix reversed filter adding receipts to a batch | py |
diff --git a/allennlp/modules/seq2seq_encoders/bidirectional_language_model_transformer.py b/allennlp/modules/seq2seq_encoders/bidirectional_language_model_transformer.py
index <HASH>..<HASH> 100644
--- a/allennlp/modules/seq2seq_encoders/bidirectional_language_model_transformer.py
+++ b/allennlp/modules/seq2seq_encode... | Enable the PositionalEncoding class to be controlled by config.json. (#<I>) | py |
diff --git a/update-server/otupdate/buildroot/ssh_key_management.py b/update-server/otupdate/buildroot/ssh_key_management.py
index <HASH>..<HASH> 100644
--- a/update-server/otupdate/buildroot/ssh_key_management.py
+++ b/update-server/otupdate/buildroot/ssh_key_management.py
@@ -148,7 +148,7 @@ async def add(request: we... | fix(update-server): Fix hash in SSH key upload response message (#<I>) The `f` was forgotten from an f-string, causing the "Added key {hashval}" response to an SSH key upload to include the literal string "{hashval}". | py |
diff --git a/mailchimp3/entities/campaignactions.py b/mailchimp3/entities/campaignactions.py
index <HASH>..<HASH> 100755
--- a/mailchimp3/entities/campaignactions.py
+++ b/mailchimp3/entities/campaignactions.py
@@ -94,7 +94,7 @@ class CampaignActions(BaseApi):
if data['schedule_time'].tzinfo is None:
... | When verifying if the schedule time of an scheduled campaign is in UTC, the utcoffset() function was missing an argument. With None as an argument it correctly compares the offset of schedule_time to the UTC time zone | py |
diff --git a/benchexec/tablegenerator/__init__.py b/benchexec/tablegenerator/__init__.py
index <HASH>..<HASH> 100644
--- a/benchexec/tablegenerator/__init__.py
+++ b/benchexec/tablegenerator/__init__.py
@@ -904,7 +904,7 @@ def get_stats_of_number_column(values, categoryList, columnTitle):
try:
valueList =... | Trigger warnings not for '*status' columns. | py |
diff --git a/MalmoEnv/malmoenv/bootstrap.py b/MalmoEnv/malmoenv/bootstrap.py
index <HASH>..<HASH> 100644
--- a/MalmoEnv/malmoenv/bootstrap.py
+++ b/MalmoEnv/malmoenv/bootstrap.py
@@ -73,7 +73,7 @@ def launch_minecraft(port, installdir="MalmoPlatform", replaceable=False):
Must be same as given (or defaulted) in... | current dir not on exec path | py |
diff --git a/trustar/TruStar.py b/trustar/TruStar.py
index <HASH>..<HASH> 100644
--- a/trustar/TruStar.py
+++ b/trustar/TruStar.py
@@ -58,23 +58,29 @@ class TruStar(object):
Attempt to convert a string timestamp in to a TruSTAR compatible format for submission.
Will return current time with UTC time z... | Add javadoc comments to normalize_timestamp in TruStar | py |
diff --git a/intranet/apps/dataimport/tests.py b/intranet/apps/dataimport/tests.py
index <HASH>..<HASH> 100644
--- a/intranet/apps/dataimport/tests.py
+++ b/intranet/apps/dataimport/tests.py
@@ -14,10 +14,12 @@ class YearCleanupTest(IonTestCase):
def test_year_cleanup(self):
out = StringIO()
year... | don't rely on the current year | py |
diff --git a/openquake/engine/calculators/risk/base.py b/openquake/engine/calculators/risk/base.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/calculators/risk/base.py
+++ b/openquake/engine/calculators/risk/base.py
@@ -226,7 +226,7 @@ class RiskCalculator(base.Calculator):
then set the `risk_models` at... | improved docstring of get_risk_models | py |
diff --git a/keyboard/nixkeyboard.py b/keyboard/nixkeyboard.py
index <HASH>..<HASH> 100644
--- a/keyboard/nixkeyboard.py
+++ b/keyboard/nixkeyboard.py
@@ -70,7 +70,26 @@ def press(scan_code):
def release(scan_code):
write_event(scan_code, False)
+def type_unicode(character):
+ codepoint = ord(character)
+ ... | Allow linux to write arbitrary unicode | py |
diff --git a/termgraph/termgraph.py b/termgraph/termgraph.py
index <HASH>..<HASH> 100755
--- a/termgraph/termgraph.py
+++ b/termgraph/termgraph.py
@@ -481,13 +481,13 @@ def calendar_heatmap(data, labels, args):
# get max value
maxval = float(max(data)[0])
- TICK_1 = "░"
- TICK_2 = "▒"
- TICK_3 = "▓... | Make variable conform to snake_case naming | py |
diff --git a/qiskit/visualization/state_visualization.py b/qiskit/visualization/state_visualization.py
index <HASH>..<HASH> 100644
--- a/qiskit/visualization/state_visualization.py
+++ b/qiskit/visualization/state_visualization.py
@@ -768,13 +768,15 @@ def plot_state_qsphere(state, figsize=None, ax=None, show_state_lab... | Fix for a rounding error in plot_state_qsphere() (#<I>) * round, to avoid over 1 prob * avoid round | py |
diff --git a/yt_array.py b/yt_array.py
index <HASH>..<HASH> 100644
--- a/yt_array.py
+++ b/yt_array.py
@@ -228,16 +228,16 @@ class YTArray(np.ndarray):
Parameters
----------
- input_array : Iterable
+ input_array : iterable
A tuple, list, or array to attach units to
input_units : String ... | Fix all occurrences of Dataset | py |
diff --git a/thinc/extra/_vendorized/keras_generic_utils.py b/thinc/extra/_vendorized/keras_generic_utils.py
index <HASH>..<HASH> 100644
--- a/thinc/extra/_vendorized/keras_generic_utils.py
+++ b/thinc/extra/_vendorized/keras_generic_utils.py
@@ -134,7 +134,7 @@ class Progbar(object):
eta = time_per_unit *... | Add missing space in statement. (#<I>) | py |
diff --git a/instabot/api/api.py b/instabot/api/api.py
index <HASH>..<HASH> 100644
--- a/instabot/api/api.py
+++ b/instabot/api/api.py
@@ -537,15 +537,14 @@ class API(object):
next_max_id = ''
while True:
self.get_user_feed(user_id, next_max_id, min_timestamp)
- user_feed = sel... | Fix bug in 'get_total_user_feed' and simplify loop | py |
diff --git a/angr/analyses/cfg/cfg_fast.py b/angr/analyses/cfg/cfg_fast.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/cfg/cfg_fast.py
+++ b/angr/analyses/cfg/cfg_fast.py
@@ -2532,7 +2532,7 @@ class CFGFast(ForwardAnalysis, CFGBase): # pylint: disable=abstract-method
jump.resolved_targets = targets
... | Fixed indirect_jump_resolvers reusing func_addr for ijk_calls to outside functions (#<I>) When updating targets for a resolved indirect_jump in cfg_fast, to_outside does not consider that an ijk_call is naturally a jump to an outside function and should be set to True for any ijk_call jumpkind. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ setup(
long_description_content_type="text/markdown",
keywords=["Redis", "key-value store", "database"],
license="MIT",
- version="4.2.1",
+ version="4.2.2",
packages=find_packages(
... | <I> (#<I>) | py |
diff --git a/redis/connection.py b/redis/connection.py
index <HASH>..<HASH> 100755
--- a/redis/connection.py
+++ b/redis/connection.py
@@ -552,8 +552,8 @@ class Connection:
self.retry = Retry(NoBackoff(), 0)
self.health_check_interval = health_check_interval
self.next_health_check = 0
- ... | Ensure redis_connect_func is set on uds connection (#<I>) | py |
diff --git a/src/python/test/__init__.py b/src/python/test/__init__.py
index <HASH>..<HASH> 100644
--- a/src/python/test/__init__.py
+++ b/src/python/test/__init__.py
@@ -2,6 +2,8 @@
import os, sys, unittest, subprocess, re
from contextlib import contextmanager
+import dxpy
+
class DXTestCase(unittest.TestCase):
... | Fix test setup/teardown more | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,10 @@
import os
import sys
-from distutils.core import setup
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
def publish():
"""Publish to Pypi""" | Optionally support setuptools/distribute | py |
diff --git a/phy/utils/settings.py b/phy/utils/settings.py
index <HASH>..<HASH> 100644
--- a/phy/utils/settings.py
+++ b/phy/utils/settings.py
@@ -45,7 +45,7 @@ class _Settings(object):
scope = 'global'
return self._store[scope].get(namespace, {}).get(name, None)
- def _read_settings_file(sel... | Renamed _get/_set to get/set in Settings. | py |
diff --git a/jaraco/test/services.py b/jaraco/test/services.py
index <HASH>..<HASH> 100644
--- a/jaraco/test/services.py
+++ b/jaraco/test/services.py
@@ -29,11 +29,11 @@ import glob
from six.moves import urllib
+import portend
from jaraco.timing import Stopwatch
from jaraco.classes import properties
from . i... | Use portend as stipulated by the deprecation in the <I> release. | py |
diff --git a/flask_security/decorators.py b/flask_security/decorators.py
index <HASH>..<HASH> 100644
--- a/flask_security/decorators.py
+++ b/flask_security/decorators.py
@@ -11,7 +11,7 @@
from functools import wraps
-from flask import current_app, Response, request, redirect
+from flask import current_app, Respon... | Add user to request context for http basic and token auth | py |
diff --git a/tacl/stripper.py b/tacl/stripper.py
index <HASH>..<HASH> 100644
--- a/tacl/stripper.py
+++ b/tacl/stripper.py
@@ -35,9 +35,7 @@ class Stripper (object):
def strip_file (self, filename):
file_path = os.path.join(self._input_dir, filename)
- root, ext = os.path.splitext(filename)
- ... | Changed output filename to be the same as the input filename. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -8,8 +8,8 @@ setup(
version=version,
author='Tarken',
author_email='?',
- maintainer = 'Mikhail Korobov',
- maintainer_email='kmike84@gmail.com',
+# maintainer = 'Mikhail Korobov',
+# maintainer_emai... | pypi shows me instead of Tarken if maintainer meta info is in distutils options. | py |
diff --git a/flask_assistant/response.py b/flask_assistant/response.py
index <HASH>..<HASH> 100644
--- a/flask_assistant/response.py
+++ b/flask_assistant/response.py
@@ -93,6 +93,7 @@ class _Response(object):
"url": url
}
)
+ return self
def card(self, text, title=N... | empty image url instead of null for build_item | py |
diff --git a/etk/etk_extraction.py b/etk/etk_extraction.py
index <HASH>..<HASH> 100644
--- a/etk/etk_extraction.py
+++ b/etk/etk_extraction.py
@@ -90,7 +90,7 @@ class Extractable(ExtractableBase):
self.tokenize_results = dict()
self._value = value
- def get_tokens(self, tokenizer: Tokenizer, keep... | add keep white space option for tokenize method | py |
diff --git a/gary/dynamics/tests/test_naff.py b/gary/dynamics/tests/test_naff.py
index <HASH>..<HASH> 100644
--- a/gary/dynamics/tests/test_naff.py
+++ b/gary/dynamics/tests/test_naff.py
@@ -137,8 +137,8 @@ class TestLogarithmic1D(NAFFBase):
q1=1., q2=0.9, q3=1., units=... | oops, now change number of steps for log1d | py |
diff --git a/raiden/ui/cli.py b/raiden/ui/cli.py
index <HASH>..<HASH> 100644
--- a/raiden/ui/cli.py
+++ b/raiden/ui/cli.py
@@ -210,10 +210,13 @@ def options(func):
type=str,
show_default=True,
),
+ ),
+ option_group(
+ 'Raiden Services Options',
... | Move PFS / MS options into their own group | py |
diff --git a/test/test_utils.py b/test/test_utils.py
index <HASH>..<HASH> 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -1,3 +1,9 @@
+from __future__ import print_function
+
+import traceback
+import sys
+import threading
+
from contextlib import contextmanager
from stat import S_IXOTH
from os import p... | Add thread debugging function to test_utils. (In case I need it in the future again.) | py |
diff --git a/pages/models.py b/pages/models.py
index <HASH>..<HASH> 100644
--- a/pages/models.py
+++ b/pages/models.py
@@ -144,6 +144,8 @@ if settings.PAGE_PERMISSION:
def get_page_id_list(cls, user):
"""Give a list of page where the user as rights or the string "All" if
the user has... | The admin user can now do everything : PagePermission is ignored for him git-svn-id: <URL> | py |
diff --git a/salt/engines/libvirt_events.py b/salt/engines/libvirt_events.py
index <HASH>..<HASH> 100644
--- a/salt/engines/libvirt_events.py
+++ b/salt/engines/libvirt_events.py
@@ -63,17 +63,11 @@ A polkit rule like the following one will allow `salt` user to connect to libvir
.. versionadded:: 2019.2.0
"""
-
im... | Drop Py2 and six on salt/engines/libvirt_events.py | py |
diff --git a/ixexplorer/ixe_app.py b/ixexplorer/ixe_app.py
index <HASH>..<HASH> 100644
--- a/ixexplorer/ixe_app.py
+++ b/ixexplorer/ixe_app.py
@@ -306,8 +306,8 @@ class IxeSession(IxeObject):
tx_ports[port] = port.streams.values()
for port in rx_ports:
- port.enableAutoDetectInstr... | Fixed issue with set_prbs - wrong order of function calls | py |
diff --git a/jams/version.py b/jams/version.py
index <HASH>..<HASH> 100644
--- a/jams/version.py
+++ b/jams/version.py
@@ -3,4 +3,4 @@
"""Version info"""
short_version = '0.2'
-version = '0.2.0rc3'
+version = '0.2.0' | finished spellcheck and lint pass #<I> | py |
diff --git a/buildbot/status/web/feeds.py b/buildbot/status/web/feeds.py
index <HASH>..<HASH> 100644
--- a/buildbot/status/web/feeds.py
+++ b/buildbot/status/web/feeds.py
@@ -70,8 +70,15 @@ class FeedResource(XmlResource):
self.link = self.status.getBuildbotURL()
self.description = 'List of FAILED bui... | additional buildmaster@buildmaster fallback for feed GUIDs | py |
diff --git a/arcana/study/base.py b/arcana/study/base.py
index <HASH>..<HASH> 100644
--- a/arcana/study/base.py
+++ b/arcana/study/base.py
@@ -872,7 +872,7 @@ class Study(object):
'parameters': {p.name: p.value for p in self.parameters},
'inputs': inputs,
'environment': self.envir... | changed repository array in provenance dict | py |
diff --git a/rllib/algorithms/qmix/qmix_policy.py b/rllib/algorithms/qmix/qmix_policy.py
index <HASH>..<HASH> 100644
--- a/rllib/algorithms/qmix/qmix_policy.py
+++ b/rllib/algorithms/qmix/qmix_policy.py
@@ -447,6 +447,7 @@ class QMixTorchPolicy(TorchPolicy):
# Optimise
self.rmsprop_optimizer.zero_grad... | [RLlib] Fix no gradient clipping happening in QMix. (#<I>) | py |
diff --git a/pytorch_pretrained_bert/convert_tf_checkpoint_to_pytorch.py b/pytorch_pretrained_bert/convert_tf_checkpoint_to_pytorch.py
index <HASH>..<HASH> 100755
--- a/pytorch_pretrained_bert/convert_tf_checkpoint_to_pytorch.py
+++ b/pytorch_pretrained_bert/convert_tf_checkpoint_to_pytorch.py
@@ -50,7 +50,7 @@ def con... | fixing Adam weights skip in TF convert script | py |
diff --git a/wagtailmenus/settings/base.py b/wagtailmenus/settings/base.py
index <HASH>..<HASH> 100644
--- a/wagtailmenus/settings/base.py
+++ b/wagtailmenus/settings/base.py
@@ -89,7 +89,6 @@ MIDDLEWARE = (
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.Message... | Remove deprecated wagtail SiteMiddleware | py |
diff --git a/colab/accounts/search_indexes.py b/colab/accounts/search_indexes.py
index <HASH>..<HASH> 100644
--- a/colab/accounts/search_indexes.py
+++ b/colab/accounts/search_indexes.py
@@ -22,6 +22,7 @@ class UserIndex(indexes.SearchIndex, indexes.Indexable):
google_talk = indexes.CharField(model_attr='google_ta... | Added date joined field in User index search | py |
diff --git a/bcbio/distributed/objectstore.py b/bcbio/distributed/objectstore.py
index <HASH>..<HASH> 100644
--- a/bcbio/distributed/objectstore.py
+++ b/bcbio/distributed/objectstore.py
@@ -609,7 +609,7 @@ class RegularServer:
def _get_storage_manager(resource):
"""Return a storage manager which can process th... | REMOTE:leave Azure before regular HTTP/FTP objectstore | py |
diff --git a/a10_neutron_lbaas/v1/handler_vip.py b/a10_neutron_lbaas/v1/handler_vip.py
index <HASH>..<HASH> 100644
--- a/a10_neutron_lbaas/v1/handler_vip.py
+++ b/a10_neutron_lbaas/v1/handler_vip.py
@@ -142,7 +142,7 @@ class VipHandler(handler_base_v1.HandlerBaseV1):
status=status,
aut... | Corrected source_pool_nat transposition | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,5 +17,5 @@ setup(name='fast-histogram',
author_email='thomas.robitaille@gmail.com',
license='BSD',
url='https://github.com/astrofrog/fastogram',
- packages=['fast_histogram'],
+ packages=['fa... | Make sure tests get installed and included in releases | py |
diff --git a/flask_restful_extend/populate_model.py b/flask_restful_extend/populate_model.py
index <HASH>..<HASH> 100644
--- a/flask_restful_extend/populate_model.py
+++ b/flask_restful_extend/populate_model.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from flask.ext.restful import reqparse
-def populate_model(model_... | add an 'only' arg to populate_model, some times it can replace 'excludes' | 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
@@ -389,7 +389,10 @@ def grab_hidden_video_url(href):
page = get_page(href)
soup = BeautifulSoup(page)
l = soup.find('source', attrs={'type': 'video/mp4'}... | Make sure to always return a value from functions. | py |
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index <HASH>..<HASH> 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -258,7 +258,7 @@ class ReplyCommand(Command):
allrecipients = [to] + [cc]
lists = settings.get('mailinglists')
# check if any r... | Don't materialize with any() It's more efficient to use a generator here than a list comprehension, since then we can avoid calculating addresses we don't need. | py |
diff --git a/test_alpha_vantage/testalphavantage.py b/test_alpha_vantage/testalphavantage.py
index <HASH>..<HASH> 100644
--- a/test_alpha_vantage/testalphavantage.py
+++ b/test_alpha_vantage/testalphavantage.py
@@ -10,7 +10,7 @@ from pandas import DataFrame as df
import unittest
import timeit
import os
-
+import tim... | chore: Add a horrible delay to reduce api call freq A delay has been added as a workaround in order to make the build bypass this error, nevertheless it will be fixed later when the separation between unittests and integration tests is done | py |
diff --git a/src/xray/common.py b/src/xray/common.py
index <HASH>..<HASH> 100644
--- a/src/xray/common.py
+++ b/src/xray/common.py
@@ -110,7 +110,11 @@ def pretty_print(x, numchars):
def dataset_repr(ds):
summary = ['<xray.%s>' % type(ds).__name__]
- first_col_width = max(4 + max(len(k) for k in ds.variables... | Fix: dataset_repr was failing on empty datasets. | py |
diff --git a/intranet/apps/dashboard/views.py b/intranet/apps/dashboard/views.py
index <HASH>..<HASH> 100644
--- a/intranet/apps/dashboard/views.py
+++ b/intranet/apps/dashboard/views.py
@@ -71,6 +71,8 @@ def gen_sponsor_schedule(user, num_blocks=6):
sponsor = user.get_eighth_sponsor()
block = EighthBlock.o... | don't die when no next 8th block | py |
diff --git a/moderator/management/commands/classifycomments.py b/moderator/management/commands/classifycomments.py
index <HASH>..<HASH> 100644
--- a/moderator/management/commands/classifycomments.py
+++ b/moderator/management/commands/classifycomments.py
@@ -10,12 +10,15 @@ class Command(BaseCommand):
def handle... | reworked to use cleaner entry and continual evaluation of unsure comments | py |
diff --git a/geocoder/api.py b/geocoder/api.py
index <HASH>..<HASH> 100755
--- a/geocoder/api.py
+++ b/geocoder/api.py
@@ -471,6 +471,7 @@ def geonames(location, **kwargs):
:param ``location``: Your search location you want geocoded.
:param ``geonameid``: The place you want children / hierarchy for.
:par... | added params proximity in api.py docstring | py |
diff --git a/netmiko/base_connection.py b/netmiko/base_connection.py
index <HASH>..<HASH> 100644
--- a/netmiko/base_connection.py
+++ b/netmiko/base_connection.py
@@ -206,6 +206,8 @@ class BaseConnection(object):
self.ip = ip
elif host:
self.host = host
+ self.host = self.host.... | strip leading/trailing whitespace for host/ip (#<I>) | py |
diff --git a/salt/modules/parted.py b/salt/modules/parted.py
index <HASH>..<HASH> 100644
--- a/salt/modules/parted.py
+++ b/salt/modules/parted.py
@@ -2,6 +2,8 @@
'''
Module for managing partitions on POSIX-like systems.
+:depends: - parted, partprobe, lsblk (usually parted and util-linux packages)
+
Some functi... | Update __virtual__ for parted dependencies | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -44,11 +44,11 @@ except(IOError, ImportError):
setup(
name='esgfpid',
- version='0.6',
+ version='0.6.0',
author='Merret Buurman, German Climate Computing Centre (DKRZ)',
author_email='buurman@dkrz.de',... | Added download URL (for registration in pypi). | py |
diff --git a/kik_unofficial/datatypes/xmpp/chatting.py b/kik_unofficial/datatypes/xmpp/chatting.py
index <HASH>..<HASH> 100644
--- a/kik_unofficial/datatypes/xmpp/chatting.py
+++ b/kik_unofficial/datatypes/xmpp/chatting.py
@@ -92,9 +92,11 @@ class OutgoingReadReceipt(XMPPElement):
'<kik push="false" qo... | Fix group read receipt Updates OutgoingReadReceipt | py |
diff --git a/wafer/sponsors/admin.py b/wafer/sponsors/admin.py
index <HASH>..<HASH> 100644
--- a/wafer/sponsors/admin.py
+++ b/wafer/sponsors/admin.py
@@ -2,7 +2,16 @@ from django.contrib import admin
from wafer.sponsors.models import File, SponsorshipPackage, Sponsor
+from reversion.admin import VersionAdmin
-a... | Add reversion support to sponsor admin site | py |
diff --git a/crysp/padding.py b/crysp/padding.py
index <HASH>..<HASH> 100644
--- a/crysp/padding.py
+++ b/crysp/padding.py
@@ -62,15 +62,24 @@ class nopadding(blockiterator):
#------------------------------------------------------------------------------
class Nullpadding(blockiterator):
def lastblock(self,m,**k... | more precise Nullpadding with bitlen support and remove method | py |
diff --git a/enterprise/admin/__init__.py b/enterprise/admin/__init__.py
index <HASH>..<HASH> 100644
--- a/enterprise/admin/__init__.py
+++ b/enterprise/admin/__init__.py
@@ -110,6 +110,11 @@ class EnterpriseCustomerCatalogInline(admin.TabularInline):
extra = 0
can_delete = False
+ def get_formset(self, ... | Fix content filter default value not displaying in EnterpriseCustomer admin form. | py |
diff --git a/great_expectations/execution_engine/execution_engine.py b/great_expectations/execution_engine/execution_engine.py
index <HASH>..<HASH> 100644
--- a/great_expectations/execution_engine/execution_engine.py
+++ b/great_expectations/execution_engine/execution_engine.py
@@ -50,7 +50,7 @@ class MetricFunctionTyp... | Adding a comment explaining the IDENTITY metric domain type. (#<I>) | py |
diff --git a/pcef/modes/cc.py b/pcef/modes/cc.py
index <HASH>..<HASH> 100644
--- a/pcef/modes/cc.py
+++ b/pcef/modes/cc.py
@@ -352,7 +352,6 @@ class CodeCompletionMode(Mode):
items.append(item_desc)
if s.decoration is not None:
item.setData(s.decora... | Cleanup + fix bug when inserting a completion with a no word under cursor | py |
diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py
index <HASH>..<HASH> 100644
--- a/python/ccxt/base/exchange.py
+++ b/python/ccxt/base/exchange.py
@@ -644,6 +644,8 @@ class Exchange(object):
@staticmethod
def iso8601(timestamp):
+ if timestamp is None:
+ return time... | updated exchange.py iso<I> to tolerate None timestamps #<I> | py |
diff --git a/mordred/_version.py b/mordred/_version.py
index <HASH>..<HASH> 100644
--- a/mordred/_version.py
+++ b/mordred/_version.py
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
-__version__ = "0.1.24"
+__version__ = "0.1.25" | [release] Update version number to <I> | py |
diff --git a/import_export/resources.py b/import_export/resources.py
index <HASH>..<HASH> 100644
--- a/import_export/resources.py
+++ b/import_export/resources.py
@@ -461,12 +461,12 @@ class Resource(six.with_metaclass(DeclarativeMetaclass)):
"""
result = self.get_result_class()()
result.diff... | Fix order of result.totals - see #<I> | py |
diff --git a/yargy/parser.py b/yargy/parser.py
index <HASH>..<HASH> 100644
--- a/yargy/parser.py
+++ b/yargy/parser.py
@@ -44,7 +44,7 @@ class FactParser(object):
if token[0] == rule_type:
if all(self.check_labels(token, rule_labels, stack.flatten())):
stac... | Fix case when we have matching repeat rule and don't have more tokens | py |
diff --git a/pyxmpp/stanza.py b/pyxmpp/stanza.py
index <HASH>..<HASH> 100644
--- a/pyxmpp/stanza.py
+++ b/pyxmpp/stanza.py
@@ -266,7 +266,10 @@ class Stanza(object):
@from_jid.setter # pylint: disable-msg=E1101
def from_jid(self, from_jid): # pylint: disable-msg=E0202,E0102,C0111
- self._from_jid = J... | Allow setting to_jid and from_jid to None | py |
diff --git a/json.py b/json.py
index <HASH>..<HASH> 100644
--- a/json.py
+++ b/json.py
@@ -20,6 +20,8 @@ def json(obj):
result += c
elif c > '~':
result += r'\u%04x' % ord(c)
+ else:
+ raise Exception("Cannot encode character %x into json string" ... | Exception thrown when attempting to encode an invalid control character into a json string. | py |
diff --git a/icontract/__init__.py b/icontract/__init__.py
index <HASH>..<HASH> 100644
--- a/icontract/__init__.py
+++ b/icontract/__init__.py
@@ -246,7 +246,8 @@ class post: # pylint: disable=invalid-name
result = func(*args, **kwargs)
# Add the special ``result`` argument
- con... | result given to postcondition only if necessary | py |
diff --git a/ternary/heatmapping.py b/ternary/heatmapping.py
index <HASH>..<HASH> 100644
--- a/ternary/heatmapping.py
+++ b/ternary/heatmapping.py
@@ -221,9 +221,9 @@ def heatmap(data, scale, vmin=None, vmax=None, cmap=None, ax=None,
data[k] = numpy.array(v)
else:
cmap = get_cmap(cmap)
- ... | should be vmax is None? | py |
diff --git a/src/arcresthelper/publishingtools.py b/src/arcresthelper/publishingtools.py
index <HASH>..<HASH> 100644
--- a/src/arcresthelper/publishingtools.py
+++ b/src/arcresthelper/publishingtools.py
@@ -800,7 +800,8 @@ class publishingtools(abstract.baseToolsClass):
service_name = service_name.replace(... | resolved issues with FS safe names on portal <I> | py |
diff --git a/quilt/add.py b/quilt/add.py
index <HASH>..<HASH> 100644
--- a/quilt/add.py
+++ b/quilt/add.py
@@ -64,7 +64,7 @@ class Add(Command):
def _backup_file(self, filename, patch):
""" Creates a backup of filename """
dest_dir = self.quilt_pc + patch.get_name()
- backup.backup_file(fi... | Create file in add If add_file is called and the source file doesn't exist create an empty backup file. | 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
setup(name='slacker',
- version='0.5.1',
+ version='0.5.4',
packages=['slacker'],
description='Slack API client',
author='Oktay Sancak', | Set version number to <I>. | py |
diff --git a/tensorflow_probability/python/sts/local_level.py b/tensorflow_probability/python/sts/local_level.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/sts/local_level.py
+++ b/tensorflow_probability/python/sts/local_level.py
@@ -297,14 +297,13 @@ class LocalLevel(StructuralTimeSeries):
... | Fix bug in which necessary stats were not computed when both a level_scale_prior and initial_level_prior were specified for a LocalLevel model. PiperOrigin-RevId: <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -91,10 +91,10 @@ setup(
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.5',
'Programming Lang... | Drop EOLed Python<I> and add stable <I> support Python <I> has now reached its end-of-life and has been retired. <URL> 'cryptography' dependency has also just dropped support for <I>. Continuing support for <I> does not seem worth the effort. Instead we add support for the new stable Python <I>. | py |
diff --git a/pubmed_lookup/pubmed_lookup.py b/pubmed_lookup/pubmed_lookup.py
index <HASH>..<HASH> 100644
--- a/pubmed_lookup/pubmed_lookup.py
+++ b/pubmed_lookup/pubmed_lookup.py
@@ -106,7 +106,7 @@ class Publication(object):
abstract_paragraphs.append(abstract_xml)
elif isinstance(abstract_xml,... | Lookup dict keys with 'get' method where possible | py |
diff --git a/inspire_dojson/hep/rules/bd2xx.py b/inspire_dojson/hep/rules/bd2xx.py
index <HASH>..<HASH> 100644
--- a/inspire_dojson/hep/rules/bd2xx.py
+++ b/inspire_dojson/hep/rules/bd2xx.py
@@ -85,17 +85,14 @@ def titles2marc(self, key, value):
@hep2marc.over('242', '^title_translations$')
+@utils.for_each_value
... | hep2marc: refactor title_translations2marc rule | py |
diff --git a/persim/persim.py b/persim/persim.py
index <HASH>..<HASH> 100644
--- a/persim/persim.py
+++ b/persim/persim.py
@@ -1,3 +1,4 @@
+from __future__ import division
from itertools import product
import collections | Changed integer division to behave like Python3 in Python2. Fixes Issue #3. | py |
diff --git a/pbxproj/PBXGenericObject.py b/pbxproj/PBXGenericObject.py
index <HASH>..<HASH> 100644
--- a/pbxproj/PBXGenericObject.py
+++ b/pbxproj/PBXGenericObject.py
@@ -134,7 +134,8 @@ class PBXGenericObject(object):
if value.__len__() == 1:
value = value[0]
if value.__len__... | Fixed setting of non-existent PBXGenericObject attribute to empty | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.