diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/holoviews/plotting/bokeh/plot.py b/holoviews/plotting/bokeh/plot.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/plot.py +++ b/holoviews/plotting/bokeh/plot.py @@ -34,7 +34,7 @@ class BokehPlot(DimensionedPlot): share their Bokeh data source allowing for linked brushing and ...
Removed dash separator in bokeh titles
py
diff --git a/atlassian/confluence.py b/atlassian/confluence.py index <HASH>..<HASH> 100644 --- a/atlassian/confluence.py +++ b/atlassian/confluence.py @@ -2100,6 +2100,34 @@ class Confluence(AtlassianRestAPI): return response + def get_user_details_by_accountid(self, accountid, expand=None): + ""...
Adding get user account details by account id method based off username/userkey method (#<I>)
py
diff --git a/pysat/_instrument.py b/pysat/_instrument.py index <HASH>..<HASH> 100644 --- a/pysat/_instrument.py +++ b/pysat/_instrument.py @@ -868,6 +868,7 @@ class Instrument(object): # Check for download flags for tests try: # Used for instruments without download access + # ...
DOC: comments for download flags
py
diff --git a/moztelemetry/spark.py b/moztelemetry/spark.py index <HASH>..<HASH> 100644 --- a/moztelemetry/spark.py +++ b/moztelemetry/spark.py @@ -60,7 +60,7 @@ def _read(filename): key = _bucket.get_key(filename) compressed = key.get_contents_as_string() raw = lzma.decompress(compressed).split("\n")[:-1...
Split incoming lines by the tab, rather than assuming that it's a <I>-byte UUID.
py
diff --git a/testing/run.py b/testing/run.py index <HASH>..<HASH> 100755 --- a/testing/run.py +++ b/testing/run.py @@ -19,9 +19,11 @@ def run_test(t): total += 1 c = glob.glob(t + "/cursor.*")[0] cursorpos = os.path.splitext(c)[1][1:] - outexpected = "" - with open(t + "/out.expected", "r") as f: - outexpected =...
testing: absence of out.expected is expected ;-D.
py
diff --git a/swiftwind/core/templatetags/banking.py b/swiftwind/core/templatetags/banking.py index <HASH>..<HASH> 100644 --- a/swiftwind/core/templatetags/banking.py +++ b/swiftwind/core/templatetags/banking.py @@ -22,7 +22,7 @@ def currency(value): locale_values = [] for money in value.monies(): ...
Fixes for currency rendering (needs reworking down the line)
py
diff --git a/andes/routines/tds.py b/andes/routines/tds.py index <HASH>..<HASH> 100644 --- a/andes/routines/tds.py +++ b/andes/routines/tds.py @@ -149,7 +149,7 @@ class TDS(RoutineBase): # reduce time step for fixed_times events for fixed_t in self.fixed_times: - if (fixed_t > self.t) and...
check fixed times before calc time step
py
diff --git a/helusers/migrations/0001_add_ad_groups.py b/helusers/migrations/0001_add_ad_groups.py index <HASH>..<HASH> 100644 --- a/helusers/migrations/0001_add_ad_groups.py +++ b/helusers/migrations/0001_add_ad_groups.py @@ -31,7 +31,7 @@ class Migration(migrations.Migration): ('group', models.Foreig...
Fix migration for model verbose name changes
py
diff --git a/peyotl/nexson_syntax/__init__.py b/peyotl/nexson_syntax/__init__.py index <HASH>..<HASH> 100755 --- a/peyotl/nexson_syntax/__init__.py +++ b/peyotl/nexson_syntax/__init__.py @@ -36,7 +36,8 @@ import codecs import json _CONVERTIBLE_FORMATS = frozenset([DEFAULT_NEXSON_VERSION, - ...
added <I> to list of convertible formats, as that seems to be working
py
diff --git a/pylabcontrol/core/script.py b/pylabcontrol/core/script.py index <HASH>..<HASH> 100644 --- a/pylabcontrol/core/script.py +++ b/pylabcontrol/core/script.py @@ -515,9 +515,9 @@ class Script(QObject): def check_filename(filename): if os.name == 'nt': if builtin_len(filename) >= 256 a...
Changed an explicit change of / to \ in filenames on windows to instead be done properly by os.path.normpath
py
diff --git a/src/bidi/chartypes.py b/src/bidi/chartypes.py index <HASH>..<HASH> 100644 --- a/src/bidi/chartypes.py +++ b/src/bidi/chartypes.py @@ -87,6 +87,10 @@ class TextOrdering(object): @property def ordering_type(self): + """Return the type of TextOrdering. One of `"sor"`, `"eor"`, + `"un...
Added docstring to TextOrdering.ordering_type
py
diff --git a/src/armet/query.py b/src/armet/query.py index <HASH>..<HASH> 100644 --- a/src/armet/query.py +++ b/src/armet/query.py @@ -47,7 +47,10 @@ class QueryList(list): qobjects = (Q(**{key: value}) for value in query.value) # Reduce them all to a single one via 'or'ing them - return redu...
Add negation, and move sorting to its own function since you can't sort a Q object
py
diff --git a/githooks/git.py b/githooks/git.py index <HASH>..<HASH> 100644 --- a/githooks/git.py +++ b/githooks/git.py @@ -42,13 +42,13 @@ def description(revision): def author(revision): - # TODO - return "" + log = __execute_command(['git', 'log', revision, '-n', '1']).splitlines() + return log[2][8:...
Implementation of the remaining git functions
py
diff --git a/planet/cli/orders.py b/planet/cli/orders.py index <HASH>..<HASH> 100644 --- a/planet/cli/orders.py +++ b/planet/cli/orders.py @@ -343,8 +343,6 @@ async def request(ctx, raise click.BadParameter(e) tools = [planet.order_request.clip_tool(clip)] - else: - tools = [] i...
Fixed bug, which would set tools as empty if request.
py
diff --git a/consul/base.py b/consul/base.py index <HASH>..<HASH> 100644 --- a/consul/base.py +++ b/consul/base.py @@ -77,6 +77,21 @@ class Check(object): return {'ttl': ttl} @classmethod + def docker(klass, container_id, shell, script, interval): + """ + Invoke *script* packaged within...
Add support for Docker health check Relates-to: #<I>
py
diff --git a/nodeconductor/iaas/backend/openstack.py b/nodeconductor/iaas/backend/openstack.py index <HASH>..<HASH> 100644 --- a/nodeconductor/iaas/backend/openstack.py +++ b/nodeconductor/iaas/backend/openstack.py @@ -834,12 +834,6 @@ class OpenStackBackend(OpenStackClient): membership.set_quota_limit('securi...
Remove a hack for setting project level quotas in pull_resource_quota (NC-<I>)
py
diff --git a/gitlint/__init__.py b/gitlint/__init__.py index <HASH>..<HASH> 100644 --- a/gitlint/__init__.py +++ b/gitlint/__init__.py @@ -1 +1 @@ -__version__ = "0.9.0" +__version__ = "0.10.0dev"
Version bump to <I>dev Bumped version to <I>dev.
py
diff --git a/prepro/macrocall.py b/prepro/macrocall.py index <HASH>..<HASH> 100644 --- a/prepro/macrocall.py +++ b/prepro/macrocall.py @@ -54,10 +54,10 @@ class MacroCall(object): # The macro is defined ID = TABLE[self.id] # Get the defined macro - if ID.hasArgs() and self.callargs is None: #...
Fixed a call to a property
py
diff --git a/salt/modules/rsync.py b/salt/modules/rsync.py index <HASH>..<HASH> 100644 --- a/salt/modules/rsync.py +++ b/salt/modules/rsync.py @@ -161,6 +161,7 @@ def rsync(src, if not src or not dst: raise SaltInvocationError('src and dst cannot be empty') + tmp_src = None if src.startswith('sa...
Fixing local variable 'tmp_src' referenced before assignment issue.
py
diff --git a/sorl/thumbnail/admin/current.py b/sorl/thumbnail/admin/current.py index <HASH>..<HASH> 100644 --- a/sorl/thumbnail/admin/current.py +++ b/sorl/thumbnail/admin/current.py @@ -1,9 +1,14 @@ +import logging + from django import forms from django.utils.safestring import mark_safe from sorl.thumbnail.fields i...
Log the exception if the AdminImageWidget cannot generate the thumbnail instead of silencing it. This case can occur for example if the thumbnail_kvstore table has not bee created.
py
diff --git a/luigi/hdfs.py b/luigi/hdfs.py index <HASH>..<HASH> 100644 --- a/luigi/hdfs.py +++ b/luigi/hdfs.py @@ -67,7 +67,10 @@ def load_hadoop_cmd(): def tmppath(path=None): # No /tmp//tmp/luigi_tmp_testdir sorts of paths just /tmp/luigi_tmp_testdir. - if path is not None and path.startswith(tempfile.gett...
Update hdfs.py Minimum viable change to allow setting an override to HDFS tmp dir in luigi.
py
diff --git a/setuptools/namespaces.py b/setuptools/namespaces.py index <HASH>..<HASH> 100755 --- a/setuptools/namespaces.py +++ b/setuptools/namespaces.py @@ -83,3 +83,11 @@ class Installer: while parts: yield '.'.join(parts) parts.pop() + + +class DevelopInstaller(Installer): + de...
Create DevelopInstaller, inspired by the code in #<I>.
py
diff --git a/openquake/engine/export/risk.py b/openquake/engine/export/risk.py index <HASH>..<HASH> 100644 --- a/openquake/engine/export/risk.py +++ b/openquake/engine/export/risk.py @@ -274,7 +274,7 @@ def export_event_loss_csv(output, target_dir): output.id)) with open(filepath...
export/risk: `event_loss` tables (csv) are now actually comma-delimited (instead of pipe delimited).
py
diff --git a/hpcbench/driver/slurm.py b/hpcbench/driver/slurm.py index <HASH>..<HASH> 100644 --- a/hpcbench/driver/slurm.py +++ b/hpcbench/driver/slurm.py @@ -1,8 +1,10 @@ from collections import Mapping import datetime +import inspect import logging import re import subprocess +import os from os import path as o...
sbatch: look for ben-sh script in stack Fixes #<I>
py
diff --git a/bt/core.py b/bt/core.py index <HASH>..<HASH> 100644 --- a/bt/core.py +++ b/bt/core.py @@ -546,8 +546,9 @@ class StrategyBase(Node): if c._issec and not c._needupdate: continue try: - c._weight = c.value / val - except ...
Forcing numpy to raise exception on floating point error and handling it
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,11 @@ CLASSIFIERS = [ setup( name='seacucumber', version=version_str, - packages=['seacucumber'], + packages=[ + 'seacucumber', + 'seacucumber.management', + 'seacucumber.managem...
Updating setup.py to include management package.
py
diff --git a/datatableview/helpers.py b/datatableview/helpers.py index <HASH>..<HASH> 100644 --- a/datatableview/helpers.py +++ b/datatableview/helpers.py @@ -90,10 +90,11 @@ def itemgetter(k): def attrgetter(attr): def helper(instance, *args, **kwargs): - value = getattr(instance, attr) - - if ca...
Allow attrgetter to call intermediate attributes
py
diff --git a/ovp_search/views.py b/ovp_search/views.py index <HASH>..<HASH> 100644 --- a/ovp_search/views.py +++ b/ovp_search/views.py @@ -139,6 +139,7 @@ class ProjectSearchResource(mixins.ListModelMixin, viewsets.GenericViewSet): if address: address = json.loads(address) + address = address[0...
unpack first address item on ProjectSearch
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,12 @@ -from distutils.core import setup import sys import platform import os +try: + from setuptools import setup +except ImportError: + from distutils.core import setup + def main(): # Check python ...
Improved setup script: support of setuptools.
py
diff --git a/pypiper/manager.py b/pypiper/manager.py index <HASH>..<HASH> 100644 --- a/pypiper/manager.py +++ b/pypiper/manager.py @@ -678,9 +678,9 @@ class PipelineManager(object): and not any([os.path.isfile(l) for l in lock_files]) \ and not newstart: for tg...
new start shouldn't ignore locks. new start mode overrides existing targets, but shouldn't override locks... that requires additionally using recover or override mode. otherwise, it gets stuck in an infinite loop because it's not programmed to override locks.
py
diff --git a/.travis/autobrew.py b/.travis/autobrew.py index <HASH>..<HASH> 100644 --- a/.travis/autobrew.py +++ b/.travis/autobrew.py @@ -23,6 +23,10 @@ class Ocrmypdf < Formula depends_on "unpaper" depends_on "qpdf" + # mactex installs its own ghostscript by default which causes problems + # mactex users sh...
autobrew: declare conflict with mactex As reported in <URL>
py
diff --git a/manticore/manticore.py b/manticore/manticore.py index <HASH>..<HASH> 100644 --- a/manticore/manticore.py +++ b/manticore/manticore.py @@ -49,12 +49,10 @@ def makeLinux(program, argv, env, concrete_start = ''): logger.info('Starting with concrete input: {}'.format(concrete_start)) for i, arg...
Don't use string=True for symbolic arg/env (#<I>) This very strictly constrains the arg/env to the length of the symbolic string which is too strict for many use cases. For example: manticore ./bin +++++ that symbolic string would only be allowed to be strings of length 5, and no shorter.
py
diff --git a/exchangelib/folders.py b/exchangelib/folders.py index <HASH>..<HASH> 100644 --- a/exchangelib/folders.py +++ b/exchangelib/folders.py @@ -925,14 +925,14 @@ class Root(Folder): if isinstance(f, (ErrorFolderNotFound, ErrorNoPublicFolderReplicaAvailable)): # This is just ...
Exception classes got mixed up. Refs #<I>
py
diff --git a/pupa/cli/commands/update.py b/pupa/cli/commands/update.py index <HASH>..<HASH> 100644 --- a/pupa/cli/commands/update.py +++ b/pupa/cli/commands/update.py @@ -298,7 +298,8 @@ class Command(BaseCommand): } print_report(report) - self.check_session_list(juris) + if ...
don't scrape if --scrape isn't passed, #<I>
py
diff --git a/src/sos/executor_utils.py b/src/sos/executor_utils.py index <HASH>..<HASH> 100644 --- a/src/sos/executor_utils.py +++ b/src/sos/executor_utils.py @@ -202,13 +202,6 @@ def create_task(global_def, global_vars, task_stmt, task_params): env.sos_dict['_runtime']['run_mode'] = env.config.get( 'run_...
Stop interpreting workdir as local directory
py
diff --git a/libtmux/test.py b/libtmux/test.py index <HASH>..<HASH> 100644 --- a/libtmux/test.py +++ b/libtmux/test.py @@ -2,7 +2,7 @@ import contextlib import logging import os -import tempfile +import random import time import warnings from typing import Callable, Optional @@ -15,7 +15,19 @@ TEST_SESSION_PREFIX...
chore(test): Replace temp._RandomNameSequence with separate function This was a private API and not mypy compatible (not in typeshed)
py
diff --git a/models/fallahi_eval/run_task5.py b/models/fallahi_eval/run_task5.py index <HASH>..<HASH> 100644 --- a/models/fallahi_eval/run_task5.py +++ b/models/fallahi_eval/run_task5.py @@ -23,20 +23,19 @@ def get_task_5(data, inverse=False): stmts_to_check[cell_line] = {} for drug in drug_names.keys...
Implement drug-target nodes for Task 5
py
diff --git a/transformers/tokenization_utils.py b/transformers/tokenization_utils.py index <HASH>..<HASH> 100644 --- a/transformers/tokenization_utils.py +++ b/transformers/tokenization_utils.py @@ -634,7 +634,7 @@ class PreTrainedTokenizer(object): return result def split_on_tokens(tok_list, te...
handle string with only whitespaces as empty
py
diff --git a/visidata/path.py b/visidata/path.py index <HASH>..<HASH> 100644 --- a/visidata/path.py +++ b/visidata/path.py @@ -55,6 +55,11 @@ class FileProgress: self.fp.__enter__() return self + def __next__(self): + r = next(self.fp) + self.prog.addProgress(len(r)) + return...
[path] auto-Progress for open non-compressed files
py
diff --git a/tests/jenkins.py b/tests/jenkins.py index <HASH>..<HASH> 100644 --- a/tests/jenkins.py +++ b/tests/jenkins.py @@ -91,10 +91,12 @@ def download_unittest_reports(options): print('Downloading remote unittest reports...') sys.stdout.flush() - if os.path.isdir('xml-test-reports'): - shutil...
Don't ignore the workspace path option
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,8 @@ setup(name="pysnmp-apps", 'pysnmpap.cli.ucd.proto', 'pysnmpap.cli.ucd.carrier', 'pysnmpap.cli.ucd.carrier.udp' ], - data_files ...
missing pysnmpget/set committed
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -104,6 +104,8 @@ class Test(TestCommand): check_call(cmd, shell=True) except CalledProcessError as exc: print(exc) + print('Unit tests failed. Fix the error(s) above and try again....
Fix Travis false positive message (#<I>) Fix Coverage and Test not throwing errors when tests fail.
py
diff --git a/holoviews/core/data.py b/holoviews/core/data.py index <HASH>..<HASH> 100644 --- a/holoviews/core/data.py +++ b/holoviews/core/data.py @@ -314,7 +314,7 @@ class Columns(Element): if not len(dimensions): dimensions = self.dimensions('key', True) if group_type is None: group_type = type(self...
Added strict checking of dimensions on Columns.groupby
py
diff --git a/unittests/test_packet_data.py b/unittests/test_packet_data.py index <HASH>..<HASH> 100755 --- a/unittests/test_packet_data.py +++ b/unittests/test_packet_data.py @@ -191,13 +191,6 @@ class DataPacketTestCase(unittest.TestCase): ] - def test_repr(self): - ''' - The represe...
Remove (now broken) __repr__ test
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup from os import path -import re +import re PACKAGE_NAME='psaw' HERE = path.abspath(path.dirname(__file__)) @@ -22,6 +22,7 @@ setup(name=PACKAGE_NAME, url='http://github.co...
Added keywords to setup.py
py
diff --git a/brothon/bro_log_reader.py b/brothon/bro_log_reader.py index <HASH>..<HASH> 100644 --- a/brothon/bro_log_reader.py +++ b/brothon/bro_log_reader.py @@ -42,15 +42,20 @@ class BroLogReader(file_tailer.FileTailer): as a dictionary of {key:value, ...} based on Bro header. """ # Cal...
letting the user know that we are successfully monitoring the file
py
diff --git a/pytest-virtualenv/pytest_virtualenv.py b/pytest-virtualenv/pytest_virtualenv.py index <HASH>..<HASH> 100644 --- a/pytest-virtualenv/pytest_virtualenv.py +++ b/pytest-virtualenv/pytest_virtualenv.py @@ -170,7 +170,11 @@ class VirtualEnv(Workspace): """ installed = [p for p in working_set i...
virtualenv/install_package: Add support for windows This commit introduces a change similar to <I>d3bd8 (fix pytest-virtualenv running on Windows)
py
diff --git a/wandb/sklearn/__init__.py b/wandb/sklearn/__init__.py index <HASH>..<HASH> 100644 --- a/wandb/sklearn/__init__.py +++ b/wandb/sklearn/__init__.py @@ -1093,6 +1093,12 @@ def plot_calibration_curve(clf=None, X=None, y=None, clf_name="Classifier"): random_state=42, ) + # Complem...
[CLI-<I>]: Fixed Bug in plot_calibration_curve for ComplementNB (#<I>) * fixed bug in complementnb * fixed comment * fixed comment
py
diff --git a/tofu/geom/_plot_optics.py b/tofu/geom/_plot_optics.py index <HASH>..<HASH> 100644 --- a/tofu/geom/_plot_optics.py +++ b/tofu/geom/_plot_optics.py @@ -1024,9 +1024,13 @@ def CrystalBragg_plot_johannerror( if err is None: err = 'abs' - if err == 'rel': - err_lamb = 100.*err_lamb / (...
[#<I>] Added err == 'rel2' to _plot_optics.CrystalBragg_plot_johannerror()
py
diff --git a/test/common/procutil.py b/test/common/procutil.py index <HASH>..<HASH> 100644 --- a/test/common/procutil.py +++ b/test/common/procutil.py @@ -45,6 +45,7 @@ class SubProcess(object): self.valgrind_tool = valgrind_tool if valgrind_tool is not None: cmd_line = ["valgrind", + ...
Change where valgrind output goes. Valgrind output is now seperate from rethinkdb's output so that we can actually see stuff in our test failures.
py
diff --git a/gwpy/plotter/timeseries.py b/gwpy/plotter/timeseries.py index <HASH>..<HASH> 100644 --- a/gwpy/plotter/timeseries.py +++ b/gwpy/plotter/timeseries.py @@ -451,14 +451,12 @@ class TimeSeriesPlot(Plot): "'bottom'.") segax = divider.append_axes(location, height, pad=pad, ...
TimeSeriesPlot.add_state_segments: simplified segax scaling new axes inherits scaling and limits from the original data axes, so we don't need to set_epoch or set_xscale
py
diff --git a/wpull/processor.py b/wpull/processor.py index <HASH>..<HASH> 100644 --- a/wpull/processor.py +++ b/wpull/processor.py @@ -145,7 +145,7 @@ class WebProcessorSession(BaseProcessorSession): url_info = self._next_url_info url_record = self._url_item.url_record - if self._test_url_fil...
Splits WebProcessorSession._test_url_filter. Adds _is_url_filtered and _filter_url.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -5,12 +5,12 @@ from setuptools import setup, find_packages setup( name='nautilus', - version='0.4.6', + version='0.4.7', description='A library for creating microservice applications', author='Alec Aiva...
package version and download link are now in sync
py
diff --git a/exchangelib/util.py b/exchangelib/util.py index <HASH>..<HASH> 100644 --- a/exchangelib/util.py +++ b/exchangelib/util.py @@ -22,6 +22,7 @@ from oauthlib.oauth2 import TokenExpiredError from pygments import highlight from pygments.formatters.terminal import TerminalFormatter from pygments.lexers.html im...
Add client_id and client_secret explicitly to session.post() to work around token refresh bug (#<I>) Fixes #<I>
py
diff --git a/cherrypy/wsgiserver/ssl_pyopenssl.py b/cherrypy/wsgiserver/ssl_pyopenssl.py index <HASH>..<HASH> 100644 --- a/cherrypy/wsgiserver/ssl_pyopenssl.py +++ b/cherrypy/wsgiserver/ssl_pyopenssl.py @@ -96,17 +96,8 @@ class SSL_fileobject(wsgiserver.CP_fileobject): if time.time() - start > self.ssl_tim...
Simplified SSL_fileobject.recv(). This should be a better resolution for issue #<I>.
py
diff --git a/client/__init__.py b/client/__init__.py index <HASH>..<HASH> 100644 --- a/client/__init__.py +++ b/client/__init__.py @@ -1,4 +1,4 @@ -__version__ = 'v1.3.3' +__version__ = 'v1.3.4' import os import sys
Update ok to <I>
py
diff --git a/uncompyle6/semantics/fragments.py b/uncompyle6/semantics/fragments.py index <HASH>..<HASH> 100644 --- a/uncompyle6/semantics/fragments.py +++ b/uncompyle6/semantics/fragments.py @@ -105,6 +105,9 @@ TABLE_DIRECT_FRAGMENT = { 'pass': ( '%|%rpass\n', ), 'raise_stmt0': ( '%|%rraise\n', ), ...
More complete fragment parsing for imports
py
diff --git a/holoviews/plotting/bokeh/annotation.py b/holoviews/plotting/bokeh/annotation.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/bokeh/annotation.py +++ b/holoviews/plotting/bokeh/annotation.py @@ -40,8 +40,11 @@ class TextPlot(ElementPlot): def get_batched_data(self, element, ranges=None): ...
Fixed bug introduced in recent bokeh plots refactor (#<I>)
py
diff --git a/keyboard/keyboard.py b/keyboard/keyboard.py index <HASH>..<HASH> 100644 --- a/keyboard/keyboard.py +++ b/keyboard/keyboard.py @@ -192,9 +192,12 @@ def write(text, delay=0): Delay is a number of seconds to wait between keypresses. """ - for modifier in all_modifiers: - if is_pressed(mo...
Restore state of modifiers after writing text
py
diff --git a/forms.py b/forms.py index <HASH>..<HASH> 100644 --- a/forms.py +++ b/forms.py @@ -14,10 +14,15 @@ class RegistrationForm(forms.Form): and that the username is not already taken. """ - username = forms.CharField(max_length=30, widget=forms.TextInput(attrs=attrs_dict)) - email = forms.E...
Add labels to form fields so that built-in display methods will work nicely
py
diff --git a/tests/organization.py b/tests/organization.py index <HASH>..<HASH> 100644 --- a/tests/organization.py +++ b/tests/organization.py @@ -454,6 +454,11 @@ class organization(Spec): } self._expect_releases(entries, expected, skip_initial=True) + def affects_unreleased_buckets_...
Was missing some more skel tests
py
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -515,8 +515,11 @@ def _virtual(osdata): sysctl = salt.utils.which('sysctl') if osdata['kernel'] in choices: if os.path.isfile('/proc/1/cgroup'): - if ':...
sometimes /proc/1/cgroup is not readable Prevent the code from throwing fatal exceptions when /proc/1/cgroup exists but is not readable (which can happen in VPS systems).
py
diff --git a/sshtunnel.py b/sshtunnel.py index <HASH>..<HASH> 100644 --- a/sshtunnel.py +++ b/sshtunnel.py @@ -610,15 +610,16 @@ class SSHTunnelForwarder(object): .format(ssh_config_file)) if not ssh_password: - ssh_private_key = paramiko.RSAKey.from_private_key_fi...
Support paramiko PKey as ssh_private_key
py
diff --git a/py/testdir_multi_jvm/test_KMeans_create_frame_fvec.py b/py/testdir_multi_jvm/test_KMeans_create_frame_fvec.py index <HASH>..<HASH> 100644 --- a/py/testdir_multi_jvm/test_KMeans_create_frame_fvec.py +++ b/py/testdir_multi_jvm/test_KMeans_create_frame_fvec.py @@ -15,7 +15,7 @@ def define_create_frame_params(...
Don't test the case where all columns are missing values in combination with default argument of KMeans to ignore those columns!
py
diff --git a/tacl/corpus.py b/tacl/corpus.py index <HASH>..<HASH> 100644 --- a/tacl/corpus.py +++ b/tacl/corpus.py @@ -51,7 +51,12 @@ class Corpus: filename)) with open(os.path.join(self._path, filename), encoding='utf-8') \ as fh: - content = fh.read() + try...
Added useful logging on failure to read a witness file.
py
diff --git a/oauth/salesforce.py b/oauth/salesforce.py index <HASH>..<HASH> 100644 --- a/oauth/salesforce.py +++ b/oauth/salesforce.py @@ -8,7 +8,6 @@ from urlparse import urlparse import webbrowser HTTP_HEADERS = {'Content-Type': 'application/x-www-form-urlencoded'} -HTTP_TIMEOUT_S = 300 class SalesforceOAuth...
change httpd timeout to instance var
py
diff --git a/axes/decorators.py b/axes/decorators.py index <HASH>..<HASH> 100644 --- a/axes/decorators.py +++ b/axes/decorators.py @@ -106,8 +106,8 @@ def get_ip_address_from_request(request): if not x_forwarded_for.startswith(PRIVATE_IPS_PREFIX) and is_valid_ip(x_forwarded_for): ip_address = x_fo...
Iterate over ip addresses only once
py
diff --git a/billing/tests/paylane_tests.py b/billing/tests/paylane_tests.py index <HASH>..<HASH> 100644 --- a/billing/tests/paylane_tests.py +++ b/billing/tests/paylane_tests.py @@ -106,11 +106,6 @@ class PaylaneTestCase(TestCase): self.assertTrue('transaction' in bill1['response']) self.assertTrue('...
fix duplicate test case fixes: <PaylaneTransaction: Transaction for ....>, 'error': Error Code: <I> (Multiple same transactions lock triggered. Wait 7 s and try again.). Acquirer Error:
py
diff --git a/isort/isort.py b/isort/isort.py index <HASH>..<HASH> 100644 --- a/isort/isort.py +++ b/isort/isort.py @@ -844,9 +844,9 @@ class SortImports(object): self._in_top_comment = False while not self._at_end(): line = self._get_line() - line = line.replace("from.import", ...
Implement fix for issue #<I>
py
diff --git a/src/streamlink/plugins/periscope.py b/src/streamlink/plugins/periscope.py index <HASH>..<HASH> 100644 --- a/src/streamlink/plugins/periscope.py +++ b/src/streamlink/plugins/periscope.py @@ -10,7 +10,7 @@ STREAM_INFO_URL = "https://api.periscope.tv/api/v2/getAccessPublic" STATUS_GONE = 410 STATUS_UNAVAILA...
New Periscope URL #<I> Old periscope URL still works accessible. Using new one temporarily (?) during legal action in turkey. API URL (STREAM_INFO_URL) not interchangeable yet.
py
diff --git a/ppb/systems/clocks.py b/ppb/systems/clocks.py index <HASH>..<HASH> 100644 --- a/ppb/systems/clocks.py +++ b/ppb/systems/clocks.py @@ -1,3 +1,7 @@ +""" +This module performs time keeping of subsystems +""" + import time import ppb
Add module docstrings clocks Change reflected on clocks.py
py
diff --git a/tests/test_buku.py b/tests/test_buku.py index <HASH>..<HASH> 100644 --- a/tests/test_buku.py +++ b/tests/test_buku.py @@ -568,6 +568,17 @@ def test_sigint_handler(capsys): 'serp..1.2.311.06cSKPTLo18', ('xkbcomp alt gr', 0, 0) ], + [ + 'http://www.vim.org...
new: test: 2 url for testing
py
diff --git a/peep.py b/peep.py index <HASH>..<HASH> 100755 --- a/peep.py +++ b/peep.py @@ -162,7 +162,7 @@ def version_of_download(filename, package_name): # Since we know the project_name, we can strip that off the left, strip # any archive extensions off the right, and take the rest as the ...
Add support for .tar.bz2 archives. Found that at least pytz provides a tar.bz2 archive.
py
diff --git a/validator/sawtooth_validator/networking/interconnect.py b/validator/sawtooth_validator/networking/interconnect.py index <HASH>..<HASH> 100644 --- a/validator/sawtooth_validator/networking/interconnect.py +++ b/validator/sawtooth_validator/networking/interconnect.py @@ -350,7 +350,14 @@ class _SendReceive(o...
Handle ZMQError as LocalConfigurationError Exit the validator if we can't bind to a provided address.
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 @@ -934,7 +934,17 @@ class CFGFast(ForwardAnalysis, CFGBase): # pylint: disable=abstract-method addr += 1 if sz and is...
CFGFast: Do not match against bx lr in strings heuristics. (#<I>)
py
diff --git a/ddsc/core/download.py b/ddsc/core/download.py index <HASH>..<HASH> 100644 --- a/ddsc/core/download.py +++ b/ddsc/core/download.py @@ -304,8 +304,11 @@ class ProjectFileDownloader(object): def show_progress_bar(self): downloaded_files, download_percent, total_bytes_downloaded = self.get_down...
download progress bar show bytes and files Changes progress bar to show human size of data download and number of complete files. Removes percent since it is not performant to calculate.
py
diff --git a/paramiko/channel.py b/paramiko/channel.py index <HASH>..<HASH> 100644 --- a/paramiko/channel.py +++ b/paramiko/channel.py @@ -889,7 +889,8 @@ class Channel(ClosingContextManager): client, it only makes sense to open this file for reading. For a server, it only makes sense to open this fi...
Fix old docstring re: returned object class
py
diff --git a/pyemma/msm/analysis/dense/pcca.py b/pyemma/msm/analysis/dense/pcca.py index <HASH>..<HASH> 100644 --- a/pyemma/msm/analysis/dense/pcca.py +++ b/pyemma/msm/analysis/dense/pcca.py @@ -420,5 +420,5 @@ def coarsegrain(P, n): """ M = pcca(P,n) A = np.dot(np.dot(M.T, P), M) - B = np.invert(np.d...
[pcca] fix: call correct function for matrix inversion in coarse_grain.
py
diff --git a/nptdms/tdms.py b/nptdms/tdms.py index <HASH>..<HASH> 100644 --- a/nptdms/tdms.py +++ b/nptdms/tdms.py @@ -7,8 +7,12 @@ from collections import namedtuple try: from collections import OrderedDict except ImportError: - # For Python < 2.7, just use a normal dict - OrderedDict = dict + try: + ...
Use ordereddict package if it's available on Python < <I> Issue #6
py
diff --git a/smartmin/views.py b/smartmin/views.py index <HASH>..<HASH> 100644 --- a/smartmin/views.py +++ b/smartmin/views.py @@ -6,7 +6,7 @@ from django.views.generic.base import TemplateView, View from django.views.generic import DetailView, ListView import django.forms.models as model_forms from guardian.utils i...
Changed urlquote_plus to urlquote
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -95,7 +95,8 @@ master_doc = 'index' # General information about the project. project = 'MetPy' # noinspection PyShadowingBuiltins -copyright = ('2019, MetPy Developers. Development supported by National Scie...
Update copyright year to include <I>
py
diff --git a/src/rez/tests/test_context.py b/src/rez/tests/test_context.py index <HASH>..<HASH> 100644 --- a/src/rez/tests/test_context.py +++ b/src/rez/tests/test_context.py @@ -114,7 +114,8 @@ class TestContext(TestBase, TempdirMixin): # check the pkg we contain is in the copied pkg repo variant =...
debugging failing test on osx
py
diff --git a/uncompyle6/parsers/parse36.py b/uncompyle6/parsers/parse36.py index <HASH>..<HASH> 100644 --- a/uncompyle6/parsers/parse36.py +++ b/uncompyle6/parsers/parse36.py @@ -122,9 +122,12 @@ class Python36Parser(Python35Parser): try_except36 ::= SETUP_EXCEPT returns except_handler36 ...
Python <I>+ try/else with no trailing END_FINALLY
py
diff --git a/openquake/calculators/disaggregation.py b/openquake/calculators/disaggregation.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/disaggregation.py +++ b/openquake/calculators/disaggregation.py @@ -303,12 +303,13 @@ class DisaggregationCalculator(base.HazardCalculator): self.save_bin_edges...
Improved logging [skip CI]
py
diff --git a/pyana/examples/gp_rdiff.py b/pyana/examples/gp_rdiff.py index <HASH>..<HASH> 100644 --- a/pyana/examples/gp_rdiff.py +++ b/pyana/examples/gp_rdiff.py @@ -204,7 +204,7 @@ def gp_rdiff(version, nomed, noxerr, diffRel, divdNdy): #lines = { ('x=1' if diffRel else 'x=0'): 'lc 0 lw 4 lt 2' }, gpcalls =...
gp_rdiff: small arrow_offset fix
py
diff --git a/openquake/hazardlib/__init__.py b/openquake/hazardlib/__init__.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/__init__.py +++ b/openquake/hazardlib/__init__.py @@ -26,5 +26,5 @@ from openquake.hazardlib import ( tom, near_fault) # the version is managed by packager.sh with a sed -__versio...
update development version to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -75,6 +75,7 @@ classifiers = [ 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Topic...
Run Cython with -Werror on continuous integration services
py
diff --git a/abilian/services/indexing/schema.py b/abilian/services/indexing/schema.py index <HASH>..<HASH> 100644 --- a/abilian/services/indexing/schema.py +++ b/abilian/services/indexing/schema.py @@ -26,4 +26,4 @@ class DefaultSearchSchema(SchemaClass): name = TEXT(stored=True, analyzer=accent_folder) descri...
don't store text by default, it's supposed to be the "full text" index
py
diff --git a/tools/merge_flink_pr.py b/tools/merge_flink_pr.py index <HASH>..<HASH> 100755 --- a/tools/merge_flink_pr.py +++ b/tools/merge_flink_pr.py @@ -92,7 +92,7 @@ def continue_maybe(prompt): fail("Okay, exiting") -original_head = run_cmd("git rev-parse HEAD")[:8] +original_head = run_cmd("git rev-par...
[tools] Add --abbrev-ref to get the right branch name of HEAD Add --abbrev-ref to get the right branch name of HEAD rather than checksum to return back to original branch. Without it will make merge tool to go to unnamed branch. Somehow old PR #<I> could not be reopen so submit new one. Sorry
py
diff --git a/bcbio/cwl/hpc.py b/bcbio/cwl/hpc.py index <HASH>..<HASH> 100644 --- a/bcbio/cwl/hpc.py +++ b/bcbio/cwl/hpc.py @@ -78,7 +78,7 @@ def _args_to_cromwell(args): """Convert input arguments into cromwell inputs for config and command line. """ default_config = {"slurm": {"timelimit": "1-00:00", "a...
Cromwell SGE: default to mem_free for memory specification #<I>
py
diff --git a/animal/views.py b/animal/views.py index <HASH>..<HASH> 100644 --- a/animal/views.py +++ b/animal/views.py @@ -126,12 +126,12 @@ def breeding_change(request, breeding_id): """ breeding = Breeding.objects.select_related().get(id=breeding_id) strain = breeding.Strain - PupsFormSet = inlinefo...
Altered fields displayed in breeding_change view. Also changed redirect upon success
py
diff --git a/git/remote.py b/git/remote.py index <HASH>..<HASH> 100644 --- a/git/remote.py +++ b/git/remote.py @@ -186,7 +186,7 @@ class FetchInfo(object): FAST_FORWARD, ERROR = [1 << x for x in range(8)] # %c %-*s %-*s -> %s (%s) - re_fetch_result = r...
Allow "$" sign in fetch output lines
py
diff --git a/pelix/shell/core.py b/pelix/shell/core.py index <HASH>..<HASH> 100644 --- a/pelix/shell/core.py +++ b/pelix/shell/core.py @@ -186,7 +186,7 @@ class IOHandler(object): def prompt(self, prompt=None): """ Reads a line written by the user - + :param prompt: An optional p...
Removed the ',' in the list of shell command arguments
py
diff --git a/hydpy/core/timetools.py b/hydpy/core/timetools.py index <HASH>..<HASH> 100644 --- a/hydpy/core/timetools.py +++ b/hydpy/core/timetools.py @@ -2730,8 +2730,10 @@ has already been set to `31`. def __init__(self, value: Union[str, Date] = ''): try: if isinstance(value, Date): + ...
Speed up the initialisation of `TOY` objects based on `Date` objects (module `timetools`).
py
diff --git a/django_extensions/tests/uuid_field.py b/django_extensions/tests/uuid_field.py index <HASH>..<HASH> 100644 --- a/django_extensions/tests/uuid_field.py +++ b/django_extensions/tests/uuid_field.py @@ -48,7 +48,7 @@ class UUIDFieldTest(unittest.TestCase): def testUUIDField_pkAgregateCreate(self): ...
Make assertion on pk type compatible with Python 3
py
diff --git a/functional_tests/conftest.py b/functional_tests/conftest.py index <HASH>..<HASH> 100644 --- a/functional_tests/conftest.py +++ b/functional_tests/conftest.py @@ -225,13 +225,17 @@ class Helpers: return newRole def waitOnJobByID(self, jobId): + sleepTime = 0 while True: ...
SPT-<I> do not infinite loop. (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -72,7 +72,7 @@ class InstallWithKernelspec(install): setup(name='SAS_kernel', version='2.1.0', - description='A SAS kernel for IPython', + description='A SAS kernel for Jupyter', long_description=ope...
inital push of doc build system
py
diff --git a/poet/poet.py b/poet/poet.py index <HASH>..<HASH> 100755 --- a/poet/poet.py +++ b/poet/poet.py @@ -13,7 +13,7 @@ spits out Homebrew resource stanzas. from __future__ import print_function import argparse from collections import OrderedDict -from hashlib import sha1 +from hashlib import sha256 import jso...
Replace sha1 with sha<I>
py
diff --git a/salt/modules/yumpkg.py b/salt/modules/yumpkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/yumpkg.py +++ b/salt/modules/yumpkg.py @@ -404,7 +404,7 @@ def _get_yum_config(): conf[opt] = cp.get("main", opt) else: log.warning( - "Could not find [ma...
Clean up some split strings in yumpkg
py
diff --git a/libact/base/interfaces.py b/libact/base/interfaces.py index <HASH>..<HASH> 100644 --- a/libact/base/interfaces.py +++ b/libact/base/interfaces.py @@ -26,13 +26,13 @@ class Model(metaclass=ABCMeta): #TODO: documentation @abstractmethod - def fit(self, dataset): + def fit(self, dataset, *ar...
add Model method arguments for passing to sklearn methods
py