diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/pefile.py b/pefile.py index <HASH>..<HASH> 100644 --- a/pefile.py +++ b/pefile.py @@ -3638,7 +3638,7 @@ class PE(object): if not funcname: continue - impstrs.append('%s.%s' % (libname.lower(),funcname.lower())) + impstrs.append(b'%s.%s' ...
correct bug in get_imphash to join
py
diff --git a/sh.py b/sh.py index <HASH>..<HASH> 100644 --- a/sh.py +++ b/sh.py @@ -1643,9 +1643,17 @@ class OProc(object): # by the time the process exits, and the data will be lost. # i've only seen this on OSX. if stderr is OProc.STDOUT: - self._stderr_read_fd = N...
cleaning up _err_to_out=True, _out=pipe/tty logic and adding some comments explaining it
py
diff --git a/salt/utils/timed_subprocess.py b/salt/utils/timed_subprocess.py index <HASH>..<HASH> 100644 --- a/salt/utils/timed_subprocess.py +++ b/salt/utils/timed_subprocess.py @@ -8,7 +8,6 @@ import threading import salt.exceptions import salt.utils.data -from salt.ext import six class TimedProc: @@ -75,10 ...
Remove the PY2 code in salt/utils/timed_subprocess.py
py
diff --git a/taxtastic/subcommands/info.py b/taxtastic/subcommands/info.py index <HASH>..<HASH> 100644 --- a/taxtastic/subcommands/info.py +++ b/taxtastic/subcommands/info.py @@ -56,6 +56,7 @@ def tally_taxa(pkg): def print_lengths(pkg): seqs = SeqIO.parse(pkg.file_abspath('aln_fasta'), 'fasta') writer =...
output of info --lengths has headers
py
diff --git a/fireplace/actions.py b/fireplace/actions.py index <HASH>..<HASH> 100644 --- a/fireplace/actions.py +++ b/fireplace/actions.py @@ -161,7 +161,7 @@ class EventListener: self.actions = actions self.at = at self.once = once - self.zone = zone + self.in_hand = zone == Zone.HAND def __repr__(self)...
Roll back to comparing just Zone.HAND for in-hand events It made sense to do it a different way when attribute scripts were not a thing yet. Now it's just Bolvar, and secrets can be implicit.
py
diff --git a/authomatic/providers/oauth2.py b/authomatic/providers/oauth2.py index <HASH>..<HASH> 100644 --- a/authomatic/providers/oauth2.py +++ b/authomatic/providers/oauth2.py @@ -687,7 +687,7 @@ class Google(OAuth2): user_authorization_url = 'https://accounts.google.com/o/oauth2/auth' access_token_u...
Switched the oauth2.Google provider to the Google API v3.
py
diff --git a/scapy/arch/unix.py b/scapy/arch/unix.py index <HASH>..<HASH> 100644 --- a/scapy/arch/unix.py +++ b/scapy/arch/unix.py @@ -78,7 +78,8 @@ def read_routes(): else: rt = l.split() dest,gw,flg = rt[:3] - netif = rt[4 + mtu_present + prio_present + refs_present] + ...
Handle OpenBSD routes with locked MTU. In OpenBSD the MTU value of a route may be locked. This is indicated by an ' L' in the netstat -r output. For scapy's read_routes() this looks like an additional column. Make the parser aware of this possibility when finding the network interface.
py
diff --git a/master/buildbot/test/unit/test_process_remotecommand.py b/master/buildbot/test/unit/test_process_remotecommand.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/unit/test_process_remotecommand.py +++ b/master/buildbot/test/unit/test_process_remotecommand.py @@ -166,7 +166,7 @@ class TestRunCommand(...
Change tuple to list, and fix logic error which should use '<' operator. Fixes Python 3 error: TypeError: '>' not supported between instances of 'tuple' and 'list'
py
diff --git a/troposphere/autoscaling.py b/troposphere/autoscaling.py index <HASH>..<HASH> 100644 --- a/troposphere/autoscaling.py +++ b/troposphere/autoscaling.py @@ -246,8 +246,8 @@ class LifecycleHook(AWSObject): 'LifecycleHookName': (basestring, False), 'LifecycleTransition': (basestring, True), ...
LifecycleHook NotificationTargetARN and RoleARN are now optional
py
diff --git a/pifpaf/drivers/gnocchi.py b/pifpaf/drivers/gnocchi.py index <HASH>..<HASH> 100644 --- a/pifpaf/drivers/gnocchi.py +++ b/pifpaf/drivers/gnocchi.py @@ -184,9 +184,6 @@ url = %s""" % (self.debug, gnocchi_api_cmd = [ "uwsgi", - "--plugin", "corerouter", - "--plugin...
gnocchi: remove --plugin options This fails when uwsgi is installed via pip and everything is statically compiled.
py
diff --git a/bin/release.py b/bin/release.py index <HASH>..<HASH> 100755 --- a/bin/release.py +++ b/bin/release.py @@ -348,7 +348,8 @@ def release(): prettyprint("Step 7: Uploading Artifacts", Levels.INFO) do_task(upload_artifacts, [base_dir, version], async_processes) - do_task(upload_artifacts, [...
ISPN-<I> release.py script fails due to as-modules split
py
diff --git a/dimod/serialization/format.py b/dimod/serialization/format.py index <HASH>..<HASH> 100644 --- a/dimod/serialization/format.py +++ b/dimod/serialization/format.py @@ -242,10 +242,10 @@ class Formatter(object): def format(self, obj, **kwargs): """Return the formatted representation of the objec...
Change Formatter.print to Formatter.fprint To support python2
py
diff --git a/master/buildbot/steps/trigger.py b/master/buildbot/steps/trigger.py index <HASH>..<HASH> 100644 --- a/master/buildbot/steps/trigger.py +++ b/master/buildbot/steps/trigger.py @@ -216,9 +216,14 @@ class Trigger(BuildStep): if was_cb: # errors were already logged in worstStatus ...
Trigger: make sure we got the correct builderid When virtual builders are used, the builderid used for triggering is not the same as the one that the build has
py
diff --git a/python_terraform/__init__.py b/python_terraform/__init__.py index <HASH>..<HASH> 100644 --- a/python_terraform/__init__.py +++ b/python_terraform/__init__.py @@ -314,7 +314,7 @@ class Terraform(object): if ret_code == 0: self.read_state_file() else: - log.warn('err...
Replace deprecated warn with warning
py
diff --git a/egg/_gui.py b/egg/_gui.py index <HASH>..<HASH> 100644 --- a/egg/_gui.py +++ b/egg/_gui.py @@ -229,7 +229,7 @@ class BaseObject(object): path = _os.path.join(gui_settings_dir, self._autosettings_path) # for saving header info - d = _d.databox() + ...
Update _gui.py default settings save / load is comma delimited, so that databox plot scripts remember the extra spaces.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ def check_setuptools(): check_setuptools() setup(name='instana', - version='1.8.0', + version='1.8.1', download_url='https://github.com/instana/python-sensor', url='https://www.instan...
Bump package version to <I>
py
diff --git a/vc_vidyo/indico_vc_vidyo/zodbimport.py b/vc_vidyo/indico_vc_vidyo/zodbimport.py index <HASH>..<HASH> 100644 --- a/vc_vidyo/indico_vc_vidyo/zodbimport.py +++ b/vc_vidyo/indico_vc_vidyo/zodbimport.py @@ -83,8 +83,6 @@ class VidyoImporter(Importer): opts = self.zodb_root['plugins']['Collaboration']._...
VC/Vidyo: Ignore auth list in zodbimport The new authentication system uses different names so it's pointless to migrate the old names.
py
diff --git a/yowsup/layers/protocol_iq/protocolentities/iq.py b/yowsup/layers/protocol_iq/protocolentities/iq.py index <HASH>..<HASH> 100644 --- a/yowsup/layers/protocol_iq/protocolentities/iq.py +++ b/yowsup/layers/protocol_iq/protocolentities/iq.py @@ -6,8 +6,12 @@ class IqProtocolEntity(ProtocolEntity): </iq> ...
Expose possible iq types in static variables
py
diff --git a/walrus/utils.py b/walrus/utils.py index <HASH>..<HASH> 100644 --- a/walrus/utils.py +++ b/walrus/utils.py @@ -33,7 +33,8 @@ def decode_dict(d): def safe_decode_list(l): - return [i.decode('raw_unicode_escape') for i in l] + return [i.decode('raw_unicode_escape') if isinstance(i, bytes) else i + ...
Do not double-decode strings if user has decode_responses on. Fixes #<I>
py
diff --git a/cobra/__init__.py b/cobra/__init__.py index <HASH>..<HASH> 100644 --- a/cobra/__init__.py +++ b/cobra/__init__.py @@ -1,7 +1,7 @@ import sys __version__ = '0.2.1' from os import name as __name -from core import Object, Formula, Metabolite, Gene, Reaction, Model, DictList, Species +from core import Objec...
removed import of species (not present in branch)
py
diff --git a/src/you_get/extractors/bilibili.py b/src/you_get/extractors/bilibili.py index <HASH>..<HASH> 100644 --- a/src/you_get/extractors/bilibili.py +++ b/src/you_get/extractors/bilibili.py @@ -173,7 +173,7 @@ class Bilibili(VideoExtractor): return has_plist = re.search(r'"page":2', self.pa...
[bilibili] warn when target URL is a playlist and --playlist is not used
py
diff --git a/testsuite/end2end/pytest_end2end.py b/testsuite/end2end/pytest_end2end.py index <HASH>..<HASH> 100644 --- a/testsuite/end2end/pytest_end2end.py +++ b/testsuite/end2end/pytest_end2end.py @@ -126,8 +126,10 @@ def wbem_connection(request, server_definition): warnings.warn(msg, ToleratedServerIssueWar...
End2end: Fixed optimization for unreachable servers
py
diff --git a/GCR.py b/GCR.py index <HASH>..<HASH> 100644 --- a/GCR.py +++ b/GCR.py @@ -53,6 +53,7 @@ class BaseGenericCatalog(object): _default_quantity_modifier = None _quantity_modifiers = dict() + _native_quantities = set() _native_filter_quantities = set() def __init__(self, **kwargs):
initialize _native_quantities in base class
py
diff --git a/tests/integration/cloud/providers/test_virtualbox.py b/tests/integration/cloud/providers/test_virtualbox.py index <HASH>..<HASH> 100644 --- a/tests/integration/cloud/providers/test_virtualbox.py +++ b/tests/integration/cloud/providers/test_virtualbox.py @@ -342,6 +342,7 @@ class VirtualboxProviderHeavyTest...
Skip tests on required missing libs
py
diff --git a/vcs/utils/lazy.py b/vcs/utils/lazy.py index <HASH>..<HASH> 100644 --- a/vcs/utils/lazy.py +++ b/vcs/utils/lazy.py @@ -17,11 +17,12 @@ class LazyProperty(object): def __init__(self, func): self._func = func + self.__module__ = func.__module__ self.__name__ = func.__name__ ...
Small fixes to LazyProperty
py
diff --git a/pygubu/__init__.py b/pygubu/__init__.py index <HASH>..<HASH> 100644 --- a/pygubu/__init__.py +++ b/pygubu/__init__.py @@ -10,7 +10,7 @@ from pygubu.builder.builderobject import BuilderObject, register_widget from pygubu.binding import remove_binding, ApplicationLevelBindManager -__version__ = '0.9.8.3...
sync with pypi.
py
diff --git a/faker/providers/person.py b/faker/providers/person.py index <HASH>..<HASH> 100644 --- a/faker/providers/person.py +++ b/faker/providers/person.py @@ -11,7 +11,7 @@ class Provider(BaseProvider): def name(self): """ - :example 'Jhon Doe' + :example 'John Doe' """ ...
Update person.py Fix typo in comments
py
diff --git a/roometr/scrapy.py b/roometr/scrapy.py index <HASH>..<HASH> 100644 --- a/roometr/scrapy.py +++ b/roometr/scrapy.py @@ -19,7 +19,7 @@ class UploadPipeline(object): self.c.add_complex( external_id=self.item['complex_id'], name=self.item['complex_name'], - ...
complex_url is not not a required param
py
diff --git a/django_ses/utils.py b/django_ses/utils.py index <HASH>..<HASH> 100644 --- a/django_ses/utils.py +++ b/django_ses/utils.py @@ -179,7 +179,7 @@ class BounceMessageVerifier(object): return outbytes.getvalue() def verify_bounce_message(msg): - u""" + """ Verify an SES/SNS bounce notifica...
Removed leading u from docstring
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ setup(name='GPflow', package_dir={'GPflow': 'GPflow'}, py_modules=['GPflow.__init__'], test_suite='testing', - install_requires=['numpy>=1.9', 'scipy>=0.16', 'tensorflow>=0.11rc1', 'pan...
fixing tf version in setup.py
py
diff --git a/awslimitchecker/services/ec2.py b/awslimitchecker/services/ec2.py index <HASH>..<HASH> 100644 --- a/awslimitchecker/services/ec2.py +++ b/awslimitchecker/services/ec2.py @@ -78,6 +78,7 @@ class _Ec2Service(_AwsService): # update our limits with usage inst_usage = self._instance_usage() ...
log EC2 reservations at debug-level
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,7 @@ setup( 'flask-sqlalchemy==2.1', 'flask-testing==0.6.2', 'flask-wtf==0.14.2', - 'flower==0.9.1', + 'flower==0.9.2', 'future>=0.16.0, <0.17', 'python-geoh...
Bump flower==<I> (#<I>)
py
diff --git a/peru/runtime.py b/peru/runtime.py index <HASH>..<HASH> 100644 --- a/peru/runtime.py +++ b/peru/runtime.py @@ -40,8 +40,7 @@ class Runtime: self.force = args['--force'] if args['--quiet'] and args['--verbose']: raise PrintableError( - "Peru can't be quiet and lo...
get rid of a corny joke Reviewers: sean Reviewed By: sean Differential Revision: <URL>
py
diff --git a/scapy/as_resolvers.py b/scapy/as_resolvers.py index <HASH>..<HASH> 100644 --- a/scapy/as_resolvers.py +++ b/scapy/as_resolvers.py @@ -44,7 +44,7 @@ class AS_resolver: return asn,desc.strip() def _resolve_one(self, ip): - self.s.send(b"%s\n" % ip.encode('ascii')) + self.s.send(...
Update as_resolvers.py
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -891,8 +891,9 @@ class Kconfig(object): True/False. encoding (default: "utf-8"): - The encoding to use when reading and writing files. If None, the - encoding specifi...
Mention that the 'encoding' parameter is also used for $(shell)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,12 +16,8 @@ setup( 'extras/*']), include_package_data=True, zip_safe=False, - install_requires=['nose', - 'cssutils', - 'rdflib', ...
Ensures that setup.py install_requires is in sync with requirements.txt
py
diff --git a/mythril/laser/ethereum/svm.py b/mythril/laser/ethereum/svm.py index <HASH>..<HASH> 100644 --- a/mythril/laser/ethereum/svm.py +++ b/mythril/laser/ethereum/svm.py @@ -1,4 +1,5 @@ from mythril.laser.ethereum import helper, natives +from mythril import mythril from ethereum import utils from enum import En...
Get contract size from infura for EXTCODESIZE
py
diff --git a/flask_appbuilder/security/sqla/manager.py b/flask_appbuilder/security/sqla/manager.py index <HASH>..<HASH> 100755 --- a/flask_appbuilder/security/sqla/manager.py +++ b/flask_appbuilder/security/sqla/manager.py @@ -573,7 +573,7 @@ class SecurityManager(BaseSecurityManager): vm = self.add_view_menu(...
fix: populating permission and vm instead of just setting the id (#<I>)
py
diff --git a/fireplace/cards/classic/warrior.py b/fireplace/cards/classic/warrior.py index <HASH>..<HASH> 100644 --- a/fireplace/cards/classic/warrior.py +++ b/fireplace/cards/classic/warrior.py @@ -114,7 +114,10 @@ class EX1_607: # Commanding Shout class NEW1_036: - play = Buff(FRIENDLY_MINIONS, "NEW1_036e") + pla...
Finish Commanding Shout implementation to apply buffs to new summons
py
diff --git a/python/mxnet/module/base_module.py b/python/mxnet/module/base_module.py index <HASH>..<HASH> 100644 --- a/python/mxnet/module/base_module.py +++ b/python/mxnet/module/base_module.py @@ -102,7 +102,7 @@ class BaseModule(object): - `data_names`: list of type string indicating the names of the required i...
Fix a spelling mistake. (#<I>)
py
diff --git a/bugwarrior/services/gitlab.py b/bugwarrior/services/gitlab.py index <HASH>..<HASH> 100644 --- a/bugwarrior/services/gitlab.py +++ b/bugwarrior/services/gitlab.py @@ -5,9 +5,9 @@ from builtins import map from builtins import filter try: - from urllib import quote # Python 2.X + from urllib import...
Gitlab request projects in simple mode
py
diff --git a/spyder/widgets/ipythonconsole/shell.py b/spyder/widgets/ipythonconsole/shell.py index <HASH>..<HASH> 100644 --- a/spyder/widgets/ipythonconsole/shell.py +++ b/spyder/widgets/ipythonconsole/shell.py @@ -108,7 +108,7 @@ class ShellWidget(NamepaceBrowserWidget, HelpWidget, DebuggingWidget): dirna...
issue<I>: Error when setting a path with a single quote
py
diff --git a/switchbot/__init__.py b/switchbot/__init__.py index <HASH>..<HASH> 100644 --- a/switchbot/__init__.py +++ b/switchbot/__init__.py @@ -86,7 +86,7 @@ def _process_wosensorth(data: bytes) -> dict[str, object]: """Process woSensorTH/Temp sensor services data.""" _temp_sign = 1 if data[4] & 0b100000...
Discard sensor temperature alert status flags (#<I>) Per [specification the broadcast message](<URL>) byte 3 includes the device temperature and humidity alert status flags and the decimal temperature (in the last 4 bits). Therefore, only the last 4 bits should be considered to extract the temperature in Celsius. W...
py
diff --git a/tornado/iostream.py b/tornado/iostream.py index <HASH>..<HASH> 100644 --- a/tornado/iostream.py +++ b/tornado/iostream.py @@ -789,8 +789,11 @@ class BaseIOStream(object): self._read_from_buffer(pos) def _start_read(self) -> Future: - self._check_closed() # Before reading, check ...
avoid premature _check_closed in _start_read _start_read can resolve with _try_inline_read, which can succeed even if the stream has been closed if the buffer has been populated by a prior read preserve the fix for asserts being hit when dealing with closed sockets
py
diff --git a/opengem/output/risk.py b/opengem/output/risk.py index <HASH>..<HASH> 100644 --- a/opengem/output/risk.py +++ b/opengem/output/risk.py @@ -8,7 +8,7 @@ as shaml-style XML. import lxml import lxml.etree -from opengem.logs import * +from opengem.logs import RISK_LOG from opengem import writer from openge...
More pylint cleanup
py
diff --git a/msm/skill_entry.py b/msm/skill_entry.py index <HASH>..<HASH> 100644 --- a/msm/skill_entry.py +++ b/msm/skill_entry.py @@ -130,9 +130,9 @@ class SkillEntry(object): self.name = self.meta_info['name'] else: self.name = basename(path) - - self.author = self.extract_au...
Check that URL is from github before extracting author and id.
py
diff --git a/tests/test_database_whois.py b/tests/test_database_whois.py index <HASH>..<HASH> 100644 --- a/tests/test_database_whois.py +++ b/tests/test_database_whois.py @@ -109,6 +109,7 @@ class TestWhoisDB(TestCase): """ PyFunceble.helpers.File(self.storage_file).delete() + del self.whois_...
Ensure that the object is correctly cleaned/deleted.
py
diff --git a/java-iamcredentials/synth.py b/java-iamcredentials/synth.py index <HASH>..<HASH> 100644 --- a/java-iamcredentials/synth.py +++ b/java-iamcredentials/synth.py @@ -16,6 +16,8 @@ import synthtool.languages.java as java +AUTOSYNTH_MULTIPLE_COMMITS = True + service = 'iam-credentials' versions = ['v1']
chore: enable context aware commits (#<I>)
py
diff --git a/gpapi/config.py b/gpapi/config.py index <HASH>..<HASH> 100644 --- a/gpapi/config.py +++ b/gpapi/config.py @@ -54,8 +54,13 @@ class DeviceBuilder(object): self.device[key] = value def setLocale(self, locale): - if locale is None: + # test if provided locale is valid + ...
Tightened locale checks Consider the case when locale is manually initalized with a non-string value, and the case when python's getdefaultlocale() returns None
py
diff --git a/dia_vgp.py b/dia_vgp.py index <HASH>..<HASH> 100755 --- a/dia_vgp.py +++ b/dia_vgp.py @@ -2,6 +2,7 @@ import pmag,sys def spitout(line): dat=[] # initialize list for dec,inc,slat,slon + line.replace('\t',' ') rec =line.split() # split the data on a space into columns for element in re...
modified: dia_vgp.py => replaced tabs with spaces in input file
py
diff --git a/test.py b/test.py index <HASH>..<HASH> 100644 --- a/test.py +++ b/test.py @@ -57,6 +57,7 @@ def test_pipes_stderr(): printf(u"Hellø") libc.fflush(c_stdout_p) printf_err(u"Hi, stdérr") + libc.fflush(c_stderr_p) assert _stdout is stdout assert _stderr is No...
flush stderr after writing
py
diff --git a/icekit/blog_tools/admin.py b/icekit/blog_tools/admin.py index <HASH>..<HASH> 100644 --- a/icekit/blog_tools/admin.py +++ b/icekit/blog_tools/admin.py @@ -6,7 +6,8 @@ from django.conf import settings class PostAdmin(admin.ModelAdmin): list_filter = ['is_active', ] - -icekit_blog_model = getattr(sett...
Avoid registering blog admin if we're overriding in a project
py
diff --git a/fragments/commands.py b/fragments/commands.py index <HASH>..<HASH> 100644 --- a/fragments/commands.py +++ b/fragments/commands.py @@ -105,8 +105,6 @@ def follow(*args): config = FragmentsConfig() for s, filename in _iterate_over_files(args.FILENAME, config, statuses='?'): - if s != '?': ...
remove check that was preventing error messages about not being able to follow an already followed file
py
diff --git a/puz.py b/puz.py index <HASH>..<HASH> 100644 --- a/puz.py +++ b/puz.py @@ -572,7 +572,7 @@ def restore(s, t): 'XYZ.ABC' """ t = (c for c in t) - return ''.join(t.next() if not is_blacksquare(c) else c for c in s) + return ''.join(next(t) if not is_blacksquare(c) else c for c in s) de...
Use next function instead of assuming that t has next method
py
diff --git a/tests/integration_tests.py b/tests/integration_tests.py index <HASH>..<HASH> 100644 --- a/tests/integration_tests.py +++ b/tests/integration_tests.py @@ -118,7 +118,10 @@ def test_integration_https(): #test try: - context = ssl.create_default_context(cafile='tests/ssl/ssl.crt') + context = ssl.SSLC...
fix integration test compatibility with <I>
py
diff --git a/sciluigi/task.py b/sciluigi/task.py index <HASH>..<HASH> 100644 --- a/sciluigi/task.py +++ b/sciluigi/task.py @@ -114,6 +114,8 @@ class WorkflowTask(audit.AuditTrailHelpers, luigi.Task): wflog_file_handler.setLevel(logging.INFO) wflog_file_handler.setFormatter(wflog_formatter) ...
Log luigi-interface to main workflow log too
py
diff --git a/pyqode/core/modes/filewatcher.py b/pyqode/core/modes/filewatcher.py index <HASH>..<HASH> 100644 --- a/pyqode/core/modes/filewatcher.py +++ b/pyqode/core/modes/filewatcher.py @@ -154,9 +154,10 @@ class FileWatcherMode(Mode, QtCore.QObject): "The file <i>%s</i> has changed externally.\nDo yo...
Reload file directly if auto_reload is True Don't wait for the editor to get the focus to reload file if auto_reload is True Adress issue mentioned in pyQode/pyQode#<I>
py
diff --git a/ak_vendor/usbmux.py b/ak_vendor/usbmux.py index <HASH>..<HASH> 100644 --- a/ak_vendor/usbmux.py +++ b/ak_vendor/usbmux.py @@ -268,7 +268,7 @@ class USBMux(object): self.version = 1 self.devices = self.listener.devices - def process(self, timeout=None): + def process(self, time...
Increase usbmux timeout to <I> seconds
py
diff --git a/terrabot/packets/packet19.py b/terrabot/packets/packet19.py index <HASH>..<HASH> 100644 --- a/terrabot/packets/packet19.py +++ b/terrabot/packets/packet19.py @@ -1,12 +1,18 @@ from . import packet - +from terrabot.util.streamer import Streamer class Packet19Parser(object): def parse(self, world,...
Updated the chat message to use the streamer for clarity
py
diff --git a/openquake/server/utils.py b/openquake/server/utils.py index <HASH>..<HASH> 100644 --- a/openquake/server/utils.py +++ b/openquake/server/utils.py @@ -146,7 +146,7 @@ def array_of_strings_to_bytes(arr, key): unchanged in the other cases. """ if arr is None: - return [] + return ...
Return an empty typle instead of an empty list in case of None
py
diff --git a/python/segyio/__init__.py b/python/segyio/__init__.py index <HASH>..<HASH> 100644 --- a/python/segyio/__init__.py +++ b/python/segyio/__init__.py @@ -79,10 +79,10 @@ class Enum(object): return sorted(result, key=int) +from .binfield import BinField from .segysampleformat import SegySampleForm...
Import BinField header first Under some conditions this would cause imports to fail, because the binary field class was used in a different file that was in front of it in __init__'s imports.
py
diff --git a/actstream/templatetags/activity_tags.py b/actstream/templatetags/activity_tags.py index <HASH>..<HASH> 100644 --- a/actstream/templatetags/activity_tags.py +++ b/actstream/templatetags/activity_tags.py @@ -94,7 +94,7 @@ class DisplayAction(AsNode): 'actstream/%s/action.html' % action_instance....
Send full <I> compatible context into templates
py
diff --git a/association.py b/association.py index <HASH>..<HASH> 100644 --- a/association.py +++ b/association.py @@ -7,11 +7,11 @@ from openid.util import * class Association(object): def __init__(self, server_url, handle, key, expiry, replace_after): - self.server_url = server_url - self.handle...
[project @ Association object does some type casting]
py
diff --git a/intranet/apps/announcements/notifications.py b/intranet/apps/announcements/notifications.py index <HASH>..<HASH> 100644 --- a/intranet/apps/announcements/notifications.py +++ b/intranet/apps/announcements/notifications.py @@ -12,6 +12,8 @@ import requests from requests_oauthlib import OAuth1 +from sen...
refactor(announcements): send Twitter errors to Sentry
py
diff --git a/hive/capabilities/pop3.py b/hive/capabilities/pop3.py index <HASH>..<HASH> 100644 --- a/hive/capabilities/pop3.py +++ b/hive/capabilities/pop3.py @@ -51,12 +51,16 @@ class pop3(HandlerBase): session.activity() - msg = None - - if ' ' in raw_msg: - cmd, ...
better handling of (lacking) space in commands
py
diff --git a/tests/smoke.py b/tests/smoke.py index <HASH>..<HASH> 100644 --- a/tests/smoke.py +++ b/tests/smoke.py @@ -195,19 +195,6 @@ class SmokeTest(aiounittest.AsyncTestCase): rows = await cursor.fetchall() self.assertEqual(rows, [(10,), (24,), (16,)]) - async def test_load_extension(...
Remove failing test On some systems, sqlite will check for the existence of the extension before checking that extension loading is enabled, making this test useless.
py
diff --git a/betfairlightweight/parse/apiparsedata.py b/betfairlightweight/parse/apiparsedata.py index <HASH>..<HASH> 100644 --- a/betfairlightweight/parse/apiparsedata.py +++ b/betfairlightweight/parse/apiparsedata.py @@ -220,6 +220,8 @@ class MarketBook: back_a = price_check(runner.ex.available_t...
overround fix for when odds trading at <I> or not present
py
diff --git a/tests/test_pydevconsole.py b/tests/test_pydevconsole.py index <HASH>..<HASH> 100644 --- a/tests/test_pydevconsole.py +++ b/tests/test_pydevconsole.py @@ -70,7 +70,10 @@ class Test(unittest.TestCase): try: self.assertEqual(['50', 'input_request'], found) except: - ...
Fixing test with latest IPython.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,8 @@ setup( version='0.0.8', python_requires='>=3.6', setup_requires=[], - install_requires=[], + install_requires=['click', + 'ruamel.yaml'], packages=find_packages('sr...
Include dependencies in setup.py Adding the dependencies means that these will automatically be downloaded when the package is installed, whether from pip or just using the setup.py file.
py
diff --git a/telemetry/telemetry/command_line/commands.py b/telemetry/telemetry/command_line/commands.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/command_line/commands.py +++ b/telemetry/telemetry/command_line/commands.py @@ -55,7 +55,7 @@ def _GetStoriesWithTags(b): 'name': s.name, 'tags...
Python 3 migration of benchmark list command Work around Python 3 error resulted from sorting dict objects. "run_benchmark list" command now works under Python 3. Bug: chromium:<I> Change-Id: Ia<I>a<I>af<I>efe5cfe<I>edbd<I>d<I>f0c<I> Reviewed-on: <URL>
py
diff --git a/pathvalidate/_common.py b/pathvalidate/_common.py index <HASH>..<HASH> 100644 --- a/pathvalidate/_common.py +++ b/pathvalidate/_common.py @@ -29,7 +29,7 @@ def is_pathlike_obj(value: PathType) -> bool: def validate_pathtype(text: PathType, error_msg: Optional[str] = None) -> None: - from .error imp...
Modify raising exception from NullNameError to ValidationError of validate_pathtype
py
diff --git a/Lib/fontParts/base/contour.py b/Lib/fontParts/base/contour.py index <HASH>..<HASH> 100644 --- a/Lib/fontParts/base/contour.py +++ b/Lib/fontParts/base/contour.py @@ -557,10 +557,11 @@ class BaseContour( Subclasses may override this method. """ onCurve = points[-1] - offCur...
Fixes insertSegment so that the segment index isn't used as a point index
py
diff --git a/MAVProxy/mavproxy.py b/MAVProxy/mavproxy.py index <HASH>..<HASH> 100755 --- a/MAVProxy/mavproxy.py +++ b/MAVProxy/mavproxy.py @@ -22,6 +22,17 @@ from MAVProxy.modules.lib import rline from MAVProxy.modules.lib import mp_module from MAVProxy.modules.lib import dumpstacks +# adding all this allows pyinst...
fixed mavproxy with pyinstaller on windows
py
diff --git a/pysonos/core.py b/pysonos/core.py index <HASH>..<HASH> 100755 --- a/pysonos/core.py +++ b/pysonos/core.py @@ -2158,7 +2158,7 @@ PLAY_MODES = { PLAY_MODE_BY_MEANING = {meaning: mode for mode, meaning in PLAY_MODES.items()} # soundbar product names -SOUNDBARS = ('playbase', 'playbar', 'beam', 'sonos amp'...
Add Arc as a soundbar (#<I>)
py
diff --git a/fs/sshfs/sshfs.py b/fs/sshfs/sshfs.py index <HASH>..<HASH> 100644 --- a/fs/sshfs/sshfs.py +++ b/fs/sshfs/sshfs.py @@ -48,8 +48,8 @@ class _SSHFileWrapper(RawWrapper): return self._f.readline(size) def truncate(self, size=None): # noqa: D102 - size = size or self._f.tell() # SFTPFi...
Fix potential bug with `_SSHFileWrapper.truncate(0)`
py
diff --git a/lltk/exceptions.py b/lltk/exceptions.py index <HASH>..<HASH> 100755 --- a/lltk/exceptions.py +++ b/lltk/exceptions.py @@ -19,3 +19,4 @@ class DailyForvoLimitExceeded(Exception): class CacheFatalError(Exception): ''' Used to indicate that the cache backend is not properly configured. ''' + pass
Minor fix to exceptions.py
py
diff --git a/stagpy/parfile.py b/stagpy/parfile.py index <HASH>..<HASH> 100644 --- a/stagpy/parfile.py +++ b/stagpy/parfile.py @@ -607,13 +607,13 @@ PAR_DEFAULT = { def _write_default(): """create default par file""" if not PAR_DFLT_FILE.is_file(): - f90nml.write(PAR_DEFAULT, PAR_DFLT_FILE) + f...
Convert PAR_DFLT_FILE to str for f<I>nml
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ install_requires = [ setup( name='nodeconductor', - version='0.28.0', + version='0.29.0.dev0', author='OpenNode Team', author_email='info@opennodecloud.com', url='https://github.com/...
Starting new development cycle: <I>
py
diff --git a/master/buildbot/test/__init__.py b/master/buildbot/test/__init__.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/__init__.py +++ b/master/buildbot/test/__init__.py @@ -126,3 +126,9 @@ warnings.filterwarnings('ignore', "'U' mode is deprecated", DeprecationWarning) # sqlalchemy.migrate is calling ...
Ignore warnings about bytes filepaths on Windows with Python 3.
py
diff --git a/sockeye/translate.py b/sockeye/translate.py index <HASH>..<HASH> 100644 --- a/sockeye/translate.py +++ b/sockeye/translate.py @@ -144,9 +144,10 @@ def make_inputs(input_file: Optional[str], else: input_factors = [] if input_factors is None else input_factors inputs = [input_file] + i...
Correct source factor input files check. (#<I>)
py
diff --git a/estnltk/taggers/morph_analysis/morf.py b/estnltk/taggers/morph_analysis/morf.py index <HASH>..<HASH> 100644 --- a/estnltk/taggers/morph_analysis/morf.py +++ b/estnltk/taggers/morph_analysis/morf.py @@ -79,9 +79,12 @@ class VabamorfTagger(TaggerOld): self.kwargs = kwargs self.lay...
added some attributes to VabamorfTagger(TaggerOld) to fake Tagger behaviour
py
diff --git a/surrealism/__init__.py b/surrealism/__init__.py index <HASH>..<HASH> 100644 --- a/surrealism/__init__.py +++ b/surrealism/__init__.py @@ -539,7 +539,7 @@ def __replace_random__(_sentence): def __replace_repeat__(_sentence): """ - HERE BE DRAGONS! + Allows the use of repeating random-elements ...
Added docstring for repeat function.
py
diff --git a/SimpleAudioIndexer/__init__.py b/SimpleAudioIndexer/__init__.py index <HASH>..<HASH> 100755 --- a/SimpleAudioIndexer/__init__.py +++ b/SimpleAudioIndexer/__init__.py @@ -219,7 +219,8 @@ class SimpleAudioIndexer(object): """ if self.src_dir is not None: for directory in self._...
Conditional remove for __exit__ to make nested with statements work
py
diff --git a/salt/modules/reg.py b/salt/modules/reg.py index <HASH>..<HASH> 100644 --- a/salt/modules/reg.py +++ b/salt/modules/reg.py @@ -131,6 +131,15 @@ def _key_exists(hive, key, use_32bit_registry=False): return False +def broadcast_change(): + ''' + Refresh the windows environment. + ''' + ...
Add broadcast_change function from <I> from #<I>
py
diff --git a/arviz/stats/stats.py b/arviz/stats/stats.py index <HASH>..<HASH> 100644 --- a/arviz/stats/stats.py +++ b/arviz/stats/stats.py @@ -774,7 +774,7 @@ def psislw(log_weights, reff=1.0): log_weights: array Array of size (n_observations, n_samples) reff: float - relative MCMC efficiency,...
Add see also section to arviz.psislw docstring (#<I>) * Add docs references to arviz.psislw docstring * Remove trailing whitespace * Add double ticks to ess function
py
diff --git a/neurosound/data/ParsePST.py b/neurosound/data/ParsePST.py index <HASH>..<HASH> 100644 --- a/neurosound/data/ParsePST.py +++ b/neurosound/data/ParsePST.py @@ -8,7 +8,9 @@ def parse_pst(filename): with open(filename) as fh: file_contents = fh.read() - lines = file_contents.split('\r\n') + ...
windows line endings for batlab parsing fix
py
diff --git a/ordering/__init__.py b/ordering/__init__.py index <HASH>..<HASH> 100644 --- a/ordering/__init__.py +++ b/ordering/__init__.py @@ -1,6 +1,6 @@ from fractions import Fraction from functools import total_ordering -from typing import Dict, Generic, TypeVar, Union +from typing import Collection, Dict, Generic...
Add appropriate methods to make Ordering a Collection
py
diff --git a/python/ccxt/async/base/exchange.py b/python/ccxt/async/base/exchange.py index <HASH>..<HASH> 100644 --- a/python/ccxt/async/base/exchange.py +++ b/python/ccxt/async/base/exchange.py @@ -104,6 +104,7 @@ class Exchange(BaseExchange): async with session_method(url, data=encoded_body, headers=head...
added last_http_response to py3 async fix #<I>
py
diff --git a/tango/test_context.py b/tango/test_context.py index <HASH>..<HASH> 100644 --- a/tango/test_context.py +++ b/tango/test_context.py @@ -374,10 +374,12 @@ class DeviceTestContext(MultiDeviceTestContext): self.device_name = device_name self.device = self.server = None - def get_device_ac...
Add extra argument to DeviceTestContext.get_device_access DeviceTestContext.get_device_access interfere with the MultiDeviceTestContext.get_device_access (base class) method. They both should have a common API. Even if it does not have too much sense to pass a device_name in DeviceTestContext.get_device_access do it t...
py
diff --git a/raven/contrib/flask.py b/raven/contrib/flask.py index <HASH>..<HASH> 100644 --- a/raven/contrib/flask.py +++ b/raven/contrib/flask.py @@ -53,6 +53,7 @@ def make_client(client_cls, app, dsn=None): list_max_length=app.config.get('SENTRY_MAX_LENGTH_LIST'), auto_log_stacks=app.config.get('SEN...
Support SENTRY_RELEASE in Flask (fixes GH-<I>)
py
diff --git a/holoviews/core/options.py b/holoviews/core/options.py index <HASH>..<HASH> 100644 --- a/holoviews/core/options.py +++ b/holoviews/core/options.py @@ -107,7 +107,7 @@ class AbbreviatedException(Exception): self.msg = str(value) def __str__(self): - abbrev = 'Abbreviated %s: %s' % (sel...
Removed unnecessary repetition of the word 'Abbreviated'
py
diff --git a/dwavebinarycsp/package_info.py b/dwavebinarycsp/package_info.py index <HASH>..<HASH> 100644 --- a/dwavebinarycsp/package_info.py +++ b/dwavebinarycsp/package_info.py @@ -14,7 +14,7 @@ # # ================================================================================================ -__version__ = '0....
Update version <I> -> <I> New Features ------------ * Uses the new `penaltymodel-lp` library for penalty models without auxiliary variables.
py
diff --git a/dwave/system/package_info.py b/dwave/system/package_info.py index <HASH>..<HASH> 100644 --- a/dwave/system/package_info.py +++ b/dwave/system/package_info.py @@ -14,7 +14,7 @@ __all__ = ['__version__', '__author__', '__authoremail__', '__description__'] -__version__ = '1.3.0' +__version__ = '1.4.0' _...
Release <I> New Features --- - Support for problem labels (all samplers now accept an optional `label` kwarg) - Label on `VirtualGraphComposite` flux bias measurements Fixes --- - Hybrid samplers now properly select the latest version of an appropriate hybrid solver - Python 2 cruft cleanup
py
diff --git a/telapi/__init__.py b/telapi/__init__.py index <HASH>..<HASH> 100644 --- a/telapi/__init__.py +++ b/telapi/__init__.py @@ -1,2 +1,2 @@ __all__ = ['rest', 'inboundxml', 'utils', 'schema'] -VERSION = '0.1.5' +VERSION = '0.1.6'
Include all json files using manifest.in
py
diff --git a/pyramid/__init__.py b/pyramid/__init__.py index <HASH>..<HASH> 100644 --- a/pyramid/__init__.py +++ b/pyramid/__init__.py @@ -4,7 +4,7 @@ # # The pyramid module -__version__ = '0.4' +__version__ = '0.5-dev' try: # this var is injected in the setup build to enable
[ci skip] bump dev version
py
diff --git a/insights/specs/sos_archive.py b/insights/specs/sos_archive.py index <HASH>..<HASH> 100644 --- a/insights/specs/sos_archive.py +++ b/insights/specs/sos_archive.py @@ -67,6 +67,7 @@ class SosSpecs(Specs): journal_since_boot = first_of([simple_file("sos_commands/logs/journalctl_--no-pager_--boot"), simpl...
Adding LsBoot to sos_archive spec source (#<I>) The sos_archive context does not currently collect the contents of /boot so contexts wrapping sosreports can not provide the LsBoot spec set or parser. This commit adds a missing call to simple_file() to pull in the specs for LsBoot.
py
diff --git a/troposphere/autoscaling.py b/troposphere/autoscaling.py index <HASH>..<HASH> 100644 --- a/troposphere/autoscaling.py +++ b/troposphere/autoscaling.py @@ -134,6 +134,7 @@ class AutoScalingGroup(AWSObject): 'MinSize': (integer, True), 'NotificationConfigurations': ([NotificationConfiguratio...
Add ServiceLinkedRoleARN to AutoScaling::AutoScalingGroup
py
diff --git a/SoftLayer/CLI/account/bandwidth_pools.py b/SoftLayer/CLI/account/bandwidth_pools.py index <HASH>..<HASH> 100644 --- a/SoftLayer/CLI/account/bandwidth_pools.py +++ b/SoftLayer/CLI/account/bandwidth_pools.py @@ -20,6 +20,7 @@ def cli(env): items = manager.get_bandwidth_pools() table = formatting....
Add id in the result in the command bandwidth-pools
py
diff --git a/polyaxon/event_manager/event.py b/polyaxon/event_manager/event.py index <HASH>..<HASH> 100644 --- a/polyaxon/event_manager/event.py +++ b/polyaxon/event_manager/event.py @@ -26,20 +26,18 @@ class Attribute(object): class Event(object): - __slots__ = ['uuid', 'attributes', 'data', 'datetime', 'event...
Update event __slots__
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup( author_email='umutbozkurt92@gmail.com', requires=[ 'mongoengine', - 'djangorestframework>=3.1.0' + 'djangorestframework' ], classifiers=['Development Status :: 5...
Removed version condition for djangorestframework Since distutils requires param doesn't support setuptools version lookups
py