diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/deploy_stack.py b/deploy_stack.py index <HASH>..<HASH> 100755 --- a/deploy_stack.py +++ b/deploy_stack.py @@ -604,6 +604,7 @@ def run_deployer(): if host is None: raise Exception('Could not get machine 0 host') try: + client.wait_for_started() safe_print_status(client) ...
client.wait_for_started() before running deployer.
py
diff --git a/psamm/commands/vis.py b/psamm/commands/vis.py index <HASH>..<HASH> 100644 --- a/psamm/commands/vis.py +++ b/psamm/commands/vis.py @@ -302,14 +302,15 @@ def rxnset_for_vis(mm, subset_file, exclude): cpd_set = set() rxn_set = set() for l in subset_file.readlines(): - val...
modify vis.py to make it recoganize '#' in subset file and skip the reactions start with '#' in subset file
py
diff --git a/zk_shell/copy.py b/zk_shell/copy.py index <HASH>..<HASH> 100644 --- a/zk_shell/copy.py +++ b/zk_shell/copy.py @@ -374,7 +374,10 @@ class JSONProxy(Proxy): self._tree = defaultdict(dict) if os.path.exists(self._file_path): with open(self._file_path, "r") as fp: - ...
Update the in-memory JSON datatree with the on-disc one (instead of overwriting)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup( url='https://github.com/alexandershov/mess', keywords=['utilities', 'iterators'], classifiers=[ - 'Programming Language :: Python :: 2.7' + 'Programming Language :: Python :: ...
Add missing comma Classifiers were concatenated.
py
diff --git a/pyblish_qml/control.py b/pyblish_qml/control.py index <HASH>..<HASH> 100644 --- a/pyblish_qml/control.py +++ b/pyblish_qml/control.py @@ -671,6 +671,9 @@ class Controller(QtCore.QObject): @QtCore.pyqtSlot(int) def repairPlugin(self, index): + if "finished" not in self.states: + ...
Fixed repair, and prevented repair from happening during publishing.
py
diff --git a/dronekit/test/sitl/test_goto.py b/dronekit/test/sitl/test_goto.py index <HASH>..<HASH> 100644 --- a/dronekit/test/sitl/test_goto.py +++ b/dronekit/test/sitl/test_goto.py @@ -1,7 +1,7 @@ """ simple_goto.py: GUIDED mode "simple goto" example (Copter Only) -The example demonstrates how to arm and takeoff ...
fix a bug where global_frame is used in case which global_relative_frame should be used instead, it causes the drone to take off using a very low sea-level altitude, so it won't leave the ground and its engine will be disarmed shortly after.
py
diff --git a/gns3server/controller/export_project.py b/gns3server/controller/export_project.py index <HASH>..<HASH> 100644 --- a/gns3server/controller/export_project.py +++ b/gns3server/controller/export_project.py @@ -49,6 +49,9 @@ def export_project(project, temporary_dir, include_images=False, keep_compute_id ...
Catch error if you export a project deleted from disk Fix #<I>
py
diff --git a/libtmux/__about__.py b/libtmux/__about__.py index <HASH>..<HASH> 100644 --- a/libtmux/__about__.py +++ b/libtmux/__about__.py @@ -1,6 +1,6 @@ __title__ = 'libtmux' __package_name__ = 'libtmux' -__version__ = '0.8.0' +__version__ = 'dev' __description__ = 'scripting library / orm for tmux' __email__ = '...
Use dev for __version__ This is for sphinx docs to link to the right code file
py
diff --git a/bonobo/contrib/django/commands.py b/bonobo/contrib/django/commands.py index <HASH>..<HASH> 100644 --- a/bonobo/contrib/django/commands.py +++ b/bonobo/contrib/django/commands.py @@ -77,6 +77,7 @@ class ETLCommand(BaseCommand): self.stderr = OutputWrapper(ConsoleOutputPlugin._stderr, ending=CLEAR_E...
Fixes unused return variable, restore stdout/stderr even if there is an error.
py
diff --git a/hpOneView/networking.py b/hpOneView/networking.py index <HASH>..<HASH> 100644 --- a/hpOneView/networking.py +++ b/hpOneView/networking.py @@ -185,10 +185,13 @@ class networking(object): task = self._activity.wait4task(task, tout=60, verbose=verbose) return entity - def create_fc_...
Expose the fc-networkV2 type via the create_fc_network method
py
diff --git a/src/rez/pip.py b/src/rez/pip.py index <HASH>..<HASH> 100644 --- a/src/rez/pip.py +++ b/src/rez/pip.py @@ -18,6 +18,7 @@ from rez.exceptions import BuildError, PackageFamilyNotFoundError, \ from rez.package_maker__ import make_package from rez.config import config from rez.system import System +from rez....
rez.pip: Support python 2 executable on Windows (<I>)
py
diff --git a/pypif/obj/common/property.py b/pypif/obj/common/property.py index <HASH>..<HASH> 100644 --- a/pypif/obj/common/property.py +++ b/pypif/obj/common/property.py @@ -79,7 +79,7 @@ class Property(Value, Rcl): @method.deleter def method(self): - self._methods = None + self._method = Non...
Removing erroneous 's' in method deleter
py
diff --git a/tornado/ioloop.py b/tornado/ioloop.py index <HASH>..<HASH> 100644 --- a/tornado/ioloop.py +++ b/tornado/ioloop.py @@ -370,9 +370,10 @@ class PeriodicCallback(object): self.callback = callback self.callback_time = callback_time self.io_loop = io_loop or IOLoop.instance() - ...
Set PeriodicCallback._running to True in start instead of __init__ Closes #<I>.
py
diff --git a/cumulusci/tasks/push/tasks.py b/cumulusci/tasks/push/tasks.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/push/tasks.py +++ b/cumulusci/tasks/push/tasks.py @@ -256,7 +256,10 @@ class SchedulePushOrgList(BaseSalesforcePushTask): if "csv" in self.options: with open(self.options.ge...
[CCI] Create multiple format reader for csv file org repush
py
diff --git a/sanic/app.py b/sanic/app.py index <HASH>..<HASH> 100644 --- a/sanic/app.py +++ b/sanic/app.py @@ -220,7 +220,7 @@ class Sanic: name=name) def add_route(self, handler, uri, methods=frozenset({'GET'}), host=None, - strict_slashes=None, version=None, name=Non...
Allow streaming handlers in add_route
py
diff --git a/salt/modules/boto_cognitoidentity.py b/salt/modules/boto_cognitoidentity.py index <HASH>..<HASH> 100644 --- a/salt/modules/boto_cognitoidentity.py +++ b/salt/modules/boto_cognitoidentity.py @@ -85,7 +85,6 @@ from distutils.version import LooseVersion as _LooseVersion # pylint: disable=i import salt.utils...
oops, missed this unused import.
py
diff --git a/graphs/construction/msg.py b/graphs/construction/msg.py index <HASH>..<HASH> 100644 --- a/graphs/construction/msg.py +++ b/graphs/construction/msg.py @@ -165,6 +165,9 @@ def _connect_meta_edges(X, G, CC_planes, CC_labels, CC_ninds, min_F = 1.0 min_D = np.inf W = G.matrix(dense=True, coo=True) +...
quick hack to avoid attribute error I should really move arbitrary edge-adding methods to the Graph classes...
py
diff --git a/www/src/Lib/sys.py b/www/src/Lib/sys.py index <HASH>..<HASH> 100644 --- a/www/src/Lib/sys.py +++ b/www/src/Lib/sys.py @@ -172,6 +172,27 @@ warnoptions=[] def getfilesystemencoding(): return 'utf-8' + +def _getframe(num=0): + """ tb_frame frame object at this level + tb_lasti ...
add _getframe function to sys (expected by inspect module)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,10 +7,8 @@ setup( version=__version__, packages=find_packages(exclude=['tests']), install_requires=[ - # django-polymorphic is currently not working with django 2.2 - # https://github.com/django...
updated dependencies django <I> is now also available due to newer versions of django-polymorphic.
py
diff --git a/gui/tools/designer.py b/gui/tools/designer.py index <HASH>..<HASH> 100644 --- a/gui/tools/designer.py +++ b/gui/tools/designer.py @@ -77,7 +77,9 @@ class BasicDesigner: elif evt.GetEventType() == wx.EVT_LEFT_UP.typeId: self.mouse_up(evt) elif evt.GetEventType() == wx.EVT_MOTI...
fixed accidental move when clicking over a control in the designer
py
diff --git a/certipy/__init__.py b/certipy/__init__.py index <HASH>..<HASH> 100644 --- a/certipy/__init__.py +++ b/certipy/__init__.py @@ -61,10 +61,10 @@ from certipy.certipy import ( TLSFileType, TLSFile, TLSFileBundle, CertStore, open_tls_file, - CertExistsError, Certipy + CertNotFoundError, CertExistsErr...
Set up init to export all from Certipy
py
diff --git a/netmiko/juniper/juniper_ssh.py b/netmiko/juniper/juniper_ssh.py index <HASH>..<HASH> 100644 --- a/netmiko/juniper/juniper_ssh.py +++ b/netmiko/juniper/juniper_ssh.py @@ -36,7 +36,7 @@ class JuniperSSH(BaseSSHConnection): output = self.send_command('\n', strip_prompt=False, strip_command=False) ...
Fixing issue with entering config mode
py
diff --git a/pyfolio/perf_attrib.py b/pyfolio/perf_attrib.py index <HASH>..<HASH> 100644 --- a/pyfolio/perf_attrib.py +++ b/pyfolio/perf_attrib.py @@ -449,7 +449,8 @@ def plot_factor_contribution_to_perf( ax = plt.gca() factors_to_plot = perf_attrib_data.drop( - ['total_returns', 'common_returns'...
Also drop tilt and timing returns if present.
py
diff --git a/cinderlib/persistence/__init__.py b/cinderlib/persistence/__init__.py index <HASH>..<HASH> 100644 --- a/cinderlib/persistence/__init__.py +++ b/cinderlib/persistence/__init__.py @@ -43,6 +43,8 @@ def setup(config): """ if config is None: config = {} + else: + config = config.co...
Don't alter persistence config When setting up the persistence plugin we are altering the configuration dictionary by removing the storage key-value pairs. This patch fixes this by using a copy of the dictionary.
py
diff --git a/graphql_compiler/compiler/emit_cypher.py b/graphql_compiler/compiler/emit_cypher.py index <HASH>..<HASH> 100644 --- a/graphql_compiler/compiler/emit_cypher.py +++ b/graphql_compiler/compiler/emit_cypher.py @@ -209,7 +209,7 @@ def _emit_fold_scope(cypher_query): """ query_data = [] previous_f...
Sort FoldScopeLocations to ensure predictable output order for multiple folds (#<I>)
py
diff --git a/claripy/balancer.py b/claripy/balancer.py index <HASH>..<HASH> 100644 --- a/claripy/balancer.py +++ b/claripy/balancer.py @@ -272,6 +272,9 @@ class Balancer: elif t.args[0].cardinality > 1 and t.args[1].cardinality > 1: l.debug("can't do anything because we have multiple multivalued g...
Balancer: Mark If as not handleable. (#<I>)
py
diff --git a/src/auditlog/mixins.py b/src/auditlog/mixins.py index <HASH>..<HASH> 100644 --- a/src/auditlog/mixins.py +++ b/src/auditlog/mixins.py @@ -17,7 +17,10 @@ class LogEntryAdminMixin(object): app_label, model = settings.AUTH_USER_MODEL.split('.') viewname = 'admin:%s_%s_change' % (app_...
LogEntryAdminMixin throws Attribute error If a user misses full_name
py
diff --git a/pyrser/passes/to_yml.py b/pyrser/passes/to_yml.py index <HASH>..<HASH> 100644 --- a/pyrser/passes/to_yml.py +++ b/pyrser/passes/to_yml.py @@ -127,7 +127,8 @@ def to_yml_item(item, pp, name): tag = fmt.block(name + " " + str(yml_attr('type', 'set')) + ':\n', '', inner) ...
fix some ident problem when to_ymling sets
py
diff --git a/nptdms/tdms.py b/nptdms/tdms.py index <HASH>..<HASH> 100644 --- a/nptdms/tdms.py +++ b/nptdms/tdms.py @@ -754,12 +754,14 @@ class TdmsObject(object): # When absolute_time is True, # use the wf_start_time as offset for the time_track() try: - time = self.time_track(abso...
line breaks modified to meet pep8
py
diff --git a/satpy/scene.py b/satpy/scene.py index <HASH>..<HASH> 100644 --- a/satpy/scene.py +++ b/satpy/scene.py @@ -132,7 +132,10 @@ class Scene(InfoObject): 'end_time': end_time, 'area': area, }) + filter_parameters = fp if filter_parameters: + ...
Fix backwards compatibility with scene instantiation
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ setup(name='bugwarrior', "requests", "offtrac", "python-bugzilla", - "jira-python", + #"jira-python", "taskw >= 0.4.2", "dogpile.cache", ...
Knock out jira-python by default for now.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -383,6 +383,7 @@ setup ( 'bin/hdfcoinc/pycbc_coinc_statmap_inj', 'bin/hdfcoinc/pycbc_page_foreground', 'bin/hdfcoinc/pycbc_page_foundmissed', + 'bin/hdfcoinc/pycbc_...
Add IFAR plot exe to setup.py.
py
diff --git a/py17track/package.py b/py17track/package.py index <HASH>..<HASH> 100644 --- a/py17track/package.py +++ b/py17track/package.py @@ -251,7 +251,7 @@ PACKAGE_TYPE_MAP = { } -@attr.s # pylint: disable=too-few-public-methods +@attr.s(cmp=False) # pylint: disable=too-few-public-methods class Package: ...
Allow Package objects to be hashable (#3)
py
diff --git a/django_productline/tasks.py b/django_productline/tasks.py index <HASH>..<HASH> 100644 --- a/django_productline/tasks.py +++ b/django_productline/tasks.py @@ -264,7 +264,7 @@ def write_composer_operation_log(filename): @tasks.register @tasks.requires_product_environment -def runfeaturetests(): +def run_...
renamed runfeaturetests to run_product_tests
py
diff --git a/setuptools/package_index.py b/setuptools/package_index.py index <HASH>..<HASH> 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -582,8 +582,9 @@ class PackageIndex(Environment): if local_index is not None: dist = dist or find(requirement, local_index) - ...
fix setuptools don't search download location in dependency_links bug
py
diff --git a/notmuchmailchecker.py b/notmuchmailchecker.py index <HASH>..<HASH> 100644 --- a/notmuchmailchecker.py +++ b/notmuchmailchecker.py @@ -19,8 +19,6 @@ class NotmuchMailChecker(object): db_path = '' - servers = [] - def __init__(self, db_path): self.db_path = db_path
remove the servers array, there is no need for it
py
diff --git a/pyramid_restful/api.py b/pyramid_restful/api.py index <HASH>..<HASH> 100644 --- a/pyramid_restful/api.py +++ b/pyramid_restful/api.py @@ -133,7 +133,6 @@ class ApiFactory(dict): except KeyError: raise HTTPNotFound() else: - print per...
remove print, was messing up None permissions
py
diff --git a/docs/examples/automat_example.py b/docs/examples/automat_example.py index <HASH>..<HASH> 100644 --- a/docs/examples/automat_example.py +++ b/docs/examples/automat_example.py @@ -101,7 +101,7 @@ class FoodSlot(object): @machine.output() def unlockDoor(self): """ - Lock the door, we...
Update automat_example.py `unlockDoor` needs it's own docstring. (was duplicate of `lockDoor`'s docstring)
py
diff --git a/ella/interviews/models.py b/ella/interviews/models.py index <HASH>..<HASH> 100644 --- a/ella/interviews/models.py +++ b/ella/interviews/models.py @@ -60,13 +60,21 @@ class Interview(models.Model): objects = RelatedManager() + + def asking_started(self): + now = datetime.now() + re...
added ended and started properties to interview git-svn-id: <URL>
py
diff --git a/test/metalearn/metafeatures/test_metafeatures.py b/test/metalearn/metafeatures/test_metafeatures.py index <HASH>..<HASH> 100644 --- a/test/metalearn/metafeatures/test_metafeatures.py +++ b/test/metalearn/metafeatures/test_metafeatures.py @@ -71,7 +71,7 @@ class MetaFeaturesWithDataTestCase(unittest.TestCas...
Test name typo fixed and more detailed.
py
diff --git a/src/discoursegraphs/readwrite/rst/rs3/rs3tree.py b/src/discoursegraphs/readwrite/rst/rs3/rs3tree.py index <HASH>..<HASH> 100644 --- a/src/discoursegraphs/readwrite/rst/rs3/rs3tree.py +++ b/src/discoursegraphs/readwrite/rst/rs3/rs3tree.py @@ -267,9 +267,9 @@ def group2tree(child_dict, elem_dict, ordered_edu...
rs3tree: top span w/ 1 child -> same output as expected from child alone
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -23,6 +23,9 @@ setup( classifiers=[ "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Pytho...
Update the classifier for all the tested versions of python
py
diff --git a/combine/jinja_extensions/markdown.py b/combine/jinja_extensions/markdown.py index <HASH>..<HASH> 100644 --- a/combine/jinja_extensions/markdown.py +++ b/combine/jinja_extensions/markdown.py @@ -19,5 +19,9 @@ class MarkdownExtension(Extension): def _support(self, caller): """Helper callback.""...
Add markdown fenced code and tables extensions
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setup( classifiers = ( 'Programming Language :: Python', 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 3' + 'Programming Language :: Python ...
Added missing comma between classifier items.
py
diff --git a/holoviews/__init__.py b/holoviews/__init__.py index <HASH>..<HASH> 100644 --- a/holoviews/__init__.py +++ b/holoviews/__init__.py @@ -36,7 +36,10 @@ for rcfile in [os.environ.get("HOLOVIEWSRC", ''), "~/.holoviews.rc", "~/.config/holoviews/holoviews.rc"]: try: - e...
Replaced execfile for running rc file with Python 3 compatible code
py
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index <HASH>..<HASH> 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2978,14 +2978,36 @@ class NDFrame(PandasObject, SelectionMixin): def head(self, n=5): """ - Returns first n rows + Return the first n rows....
DOC: Expand docstrings for head / tail methods (#<I>)
py
diff --git a/examples/maze_explorer.py b/examples/maze_explorer.py index <HASH>..<HASH> 100644 --- a/examples/maze_explorer.py +++ b/examples/maze_explorer.py @@ -108,7 +108,7 @@ def main(): def episode_finished(r): if r.episode % report_episodes == 0: - sps = r.total_timesteps / (time.time()...
Fixed: steps per second calculation maze explorer
py
diff --git a/insteonlocal/Hub.py b/insteonlocal/Hub.py index <HASH>..<HASH> 100755 --- a/insteonlocal/Hub.py +++ b/insteonlocal/Hub.py @@ -370,7 +370,7 @@ class Hub(object): response = command_cache[device_id][key] - if response['ttl'] > int(time()): + if response['ttl'] < int(time()): ...
am I just this big of an idiot?
py
diff --git a/openquake/engine/celeryconfig.py b/openquake/engine/celeryconfig.py index <HASH>..<HASH> 100644 --- a/openquake/engine/celeryconfig.py +++ b/openquake/engine/celeryconfig.py @@ -41,12 +41,7 @@ else: sys.modules['openquake'].__dict__["__path__"].insert( 0, os.path.join(os.path.dirname(...
Avoided reading the configuration twice [skip CI]
py
diff --git a/hypercorn/config.py b/hypercorn/config.py index <HASH>..<HASH> 100644 --- a/hypercorn/config.py +++ b/hypercorn/config.py @@ -186,7 +186,7 @@ class Config: ) if self.workers > 1: try: - sock.setsockopt(socket.SOL_SOCKET, socket.S...
Bugix RESUSE -> REUSE typo This may be the cause of the reported errors binding to sockets.
py
diff --git a/populous/cli.py b/populous/cli.py index <HASH>..<HASH> 100644 --- a/populous/cli.py +++ b/populous/cli.py @@ -85,3 +85,19 @@ def predict(files): by="({} by {})".format(item.count.number, item.count.by) if item.count.by else "" )) + + +@cli.command() +def generators(): ...
Add a command to list all the available generators
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ except ImportError: from setuptools import setup import l2cs -version = l2cs.__version__ +version = "1.0.2" setup( name='l2cs',
Fix import issue in setup.py Bumps version to <I>
py
diff --git a/src/pyramid_orb/__init__.py b/src/pyramid_orb/__init__.py index <HASH>..<HASH> 100644 --- a/src/pyramid_orb/__init__.py +++ b/src/pyramid_orb/__init__.py @@ -22,7 +22,7 @@ __email__ = 'team@projexsoftware.com' __depends__ = [] __major__ = 1 __minor__ = 1 -__revision__ = 7 +__revision__ = 8 __version_...
#noissue upres for release
py
diff --git a/glue/pipeline.py b/glue/pipeline.py index <HASH>..<HASH> 100644 --- a/glue/pipeline.py +++ b/glue/pipeline.py @@ -1968,6 +1968,14 @@ class CondorDAG: workflow_job.addArguments(Pegasus.DAX3.File(os.path.basename(job_arg[0]))) elif node_file_dict.has_key(job_arg[1]): ...
For command line options that have multiple file entries, tag them as Pegasus Files
py
diff --git a/MAVProxy/modules/lib/mp_menu.py b/MAVProxy/modules/lib/mp_menu.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/lib/mp_menu.py +++ b/MAVProxy/modules/lib/mp_menu.py @@ -284,7 +284,7 @@ class MPMenuCallFileDialog(object): dlg = wx.FileDialog(None, self.title, '', "", self.wildcard, flagsMa...
map: fix encoding error when loading from utf-8 filename
py
diff --git a/ryu/lib/packet/icmp.py b/ryu/lib/packet/icmp.py index <HASH>..<HASH> 100644 --- a/ryu/lib/packet/icmp.py +++ b/ryu/lib/packet/icmp.py @@ -103,7 +103,7 @@ class echo(object): return msg def serialize(self): - hdr = bytearray(struct.pack(Echo._PACK_STR, self.id, + hdr = bytearr...
packet lib: fix icmp echo serialize Fix the merge breakage.
py
diff --git a/src/manhole.py b/src/manhole.py index <HASH>..<HASH> 100644 --- a/src/manhole.py +++ b/src/manhole.py @@ -99,13 +99,13 @@ _INST_LOCK = _ORIGINAL_ALLOCATE_LOCK() # These are initialized when manhole is installed. _INST = None -_VERBOSE_DESTINATION = None _ORIGINAL_OS_FORK = None _ORIGINAL_OS_FORKPTY =...
Reorder variable alpabetically.
py
diff --git a/pyzcasp/asp/utilities.py b/pyzcasp/asp/utilities.py index <HASH>..<HASH> 100644 --- a/pyzcasp/asp/utilities.py +++ b/pyzcasp/asp/utilities.py @@ -17,6 +17,7 @@ # -*- coding: utf-8 -*- import json, subprocess, os +from itertools import chain from zope import component @@ -31,8 +32,9 @@ class Proces...
More robust handling of process arguments passing ["-e record"] doesn't work but ["-e", "record"] does
py
diff --git a/salt/utils/aws.py b/salt/utils/aws.py index <HASH>..<HASH> 100644 --- a/salt/utils/aws.py +++ b/salt/utils/aws.py @@ -239,6 +239,8 @@ def sig4(method, endpoint, params, prov_dict, amzdate = timenow.strftime('%Y%m%dT%H%M%SZ') datestamp = timenow.strftime('%Y%m%d') new_headers = {} + if isi...
salt/utils/aws.py: Changed manual dict copying to a .copy()-call
py
diff --git a/lib/python/dxpy/bindings/dxgtable.py b/lib/python/dxpy/bindings/dxgtable.py index <HASH>..<HASH> 100644 --- a/lib/python/dxpy/bindings/dxgtable.py +++ b/lib/python/dxpy/bindings/dxgtable.py @@ -523,14 +523,14 @@ class DXGTable(DXDataObject): self._http_threadpool_futures.add(future) def _ge...
cosmetic change to dxgtable
py
diff --git a/ayrton/expansion.py b/ayrton/expansion.py index <HASH>..<HASH> 100644 --- a/ayrton/expansion.py +++ b/ayrton/expansion.py @@ -228,9 +228,15 @@ def tilde_expand (s): # these ones is actually *used* by the functions def get_var (parameter): try: - return ayrton.runner.globals[parameter] + ...
[*] get_var() raises ValueError if the returned value is not a string. not sure if I will keep this.
py
diff --git a/test/test_packet.py b/test/test_packet.py index <HASH>..<HASH> 100644 --- a/test/test_packet.py +++ b/test/test_packet.py @@ -36,7 +36,7 @@ class PacketManagerTest(unittest.TestCase): def test_list_projects(self): projects = self.manager.list_projects() - self.assertTrue(isinstance(p...
tests: use builtin assertIsInstance
py
diff --git a/chess/__init__.py b/chess/__init__.py index <HASH>..<HASH> 100644 --- a/chess/__init__.py +++ b/chess/__init__.py @@ -1680,15 +1680,12 @@ class Board(BaseBoard): if not any(self.generate_legal_moves()): return True - # Fivefold repetition. - if self.is_fivefold_repetit...
Avoid duplicate repetition check in is_game_over()
py
diff --git a/claripy/vsa/strided_interval.py b/claripy/vsa/strided_interval.py index <HASH>..<HASH> 100644 --- a/claripy/vsa/strided_interval.py +++ b/claripy/vsa/strided_interval.py @@ -107,9 +107,12 @@ class StridedInterval(object): lb = self.lower_bound - while len(results) < n and lb <= self.upp...
fixed a bug in StridedInterval.eval() that yields more results when SI.stride is 0
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -7,12 +7,12 @@ __version__ = '0.98pre' setup(name='visidata', version=__version__, - install_requires=open('requirements.txt').read().split(), + install_requires='python-dateutil openpyxl xlrd h5py psycopg2...
Inline requirements.txt into setup.py directly
py
diff --git a/salt/cloud/clouds/linode.py b/salt/cloud/clouds/linode.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/linode.py +++ b/salt/cloud/clouds/linode.py @@ -1037,7 +1037,7 @@ def decode_linode_plan_label(label): log.warning("An outdated Linode plan label was detected in your Cloud profile (...
more consistent use of parens in logged warning
py
diff --git a/tests/test_protobuf.py b/tests/test_protobuf.py index <HASH>..<HASH> 100644 --- a/tests/test_protobuf.py +++ b/tests/test_protobuf.py @@ -4,10 +4,16 @@ import os import pytest sys.path = [os.path.join(os.path.dirname(__file__), "..")] + sys.path -from physt.io.protobuf import write, write_many, read, r...
Tests: don't fail if it is not possible to import protobuf
py
diff --git a/spyder/dependencies.py b/spyder/dependencies.py index <HASH>..<HASH> 100644 --- a/spyder/dependencies.py +++ b/spyder/dependencies.py @@ -63,7 +63,7 @@ QTPY_REQVER = '>=1.5.0' RTREE_REQVER = '>=0.8.3' SETUPTOOLS_REQVER = '>=39.0.0' SPHINX_REQVER = '>=0.6.6' -SPYDER_KERNELS_REQVER = '>=1.10.0;<1.11.0'...
Restore kernel version to work with bootstrap again [ci skip]
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,7 +13,6 @@ vtki.set_error_output_file('errors.txt') vtki.OFF_SCREEN = True # Not necessary - simply an insurance policy # Preferred plotting style for documentation vtki.set_plot_theme('document') -vtki....
Revert color bars to default in docs
py
diff --git a/jsonschema/tests/_suite.py b/jsonschema/tests/_suite.py index <HASH>..<HASH> 100644 --- a/jsonschema/tests/_suite.py +++ b/jsonschema/tests/_suite.py @@ -45,10 +45,7 @@ class Suite(object): remotes = subprocess.check_output( [sys.executable, str(jsonschema_suite), "remotes"], ...
Tweak remote URIs when running the upstream test suite. The full remote URI is now properly emitted upstream. Ref: json-schema-org/JSON-Schema-Test-Suite#<I>.
py
diff --git a/pecan/configuration.py b/pecan/configuration.py index <HASH>..<HASH> 100755 --- a/pecan/configuration.py +++ b/pecan/configuration.py @@ -10,7 +10,13 @@ class Config(object): def update(self, conf_dict): # first check the keys for correct - for k in conf_dict: + + if isinstanc...
changed the __iter__ be an item iterator instrea of a key iterator
py
diff --git a/src/fonduer/parser/visual_linker.py b/src/fonduer/parser/visual_linker.py index <HASH>..<HASH> 100644 --- a/src/fonduer/parser/visual_linker.py +++ b/src/fonduer/parser/visual_linker.py @@ -309,17 +309,6 @@ class VisualLinker(object): for i in range(len(self.html_word_list)) ) - ...
Remove unused _calculate_offset from visual_linker This method should have been removed at <I>e<I>f3e.
py
diff --git a/heron/cli/src/python/utils.py b/heron/cli/src/python/utils.py index <HASH>..<HASH> 100644 --- a/heron/cli/src/python/utils.py +++ b/heron/cli/src/python/utils.py @@ -212,14 +212,18 @@ def parse_cluster_role_env(cluster_role_env, config_path): # if role is required but not provided, raise exception ...
Improve error messaging when role or env is missing, fixes #<I> (#<I>) * Improve error messaging when role or env is missing, fixes #<I> * Also including cluster/role/env in error message
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ requirements = [ setup( name='gnosis-py', - version='0.12.1', + version='0.12.2', packages=find_packages(), install_requires=requirements, include_package_data=True,
Set version <I> - Implement CREATE2 address calculation
py
diff --git a/anyconfig/inputs.py b/anyconfig/inputs.py index <HASH>..<HASH> 100644 --- a/anyconfig/inputs.py +++ b/anyconfig/inputs.py @@ -140,6 +140,9 @@ def find_parser(ipath, cps_by_ext, cps_by_type, forced_type=None): if (ipath is None or not ipath) and forced_type is None: raise ValueError("ipath or ...
fix: make .inputs.find_parser return the first arg if it's parser .inputs.find_parser should return the first argument `ipath` at once if it's a parser object but it was not and now that wrong behavior was changed and corrected to do so.
py
diff --git a/treeherder/etl/mixins.py b/treeherder/etl/mixins.py index <HASH>..<HASH> 100644 --- a/treeherder/etl/mixins.py +++ b/treeherder/etl/mixins.py @@ -116,7 +116,6 @@ class ResultSetsLoaderMixin(JsonLoaderMixin): class OAuthLoaderMixin(object): def load(self, th_collections): - for project in t...
Bug <I> - better handling of failures on data ingestion
py
diff --git a/dashboard_server/settings.py b/dashboard_server/settings.py index <HASH>..<HASH> 100644 --- a/dashboard_server/settings.py +++ b/dashboard_server/settings.py @@ -30,7 +30,10 @@ Settings module suitable for development # # When this is False a very simple configuration is created that allows # you to run...
Fix settings.py to allow local_settings.py to define CONFIGURED=True
py
diff --git a/tests/unit/test_shape_decoders.py b/tests/unit/test_shape_decoders.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_shape_decoders.py +++ b/tests/unit/test_shape_decoders.py @@ -158,7 +158,6 @@ class TestEllipseDecoder(TestShapeDecoder): def test_decoder(self, ellipse): encoder = get_enco...
Remove print statement used for debugging
py
diff --git a/test/integration/049_dbt_debug_test/test_debug.py b/test/integration/049_dbt_debug_test/test_debug.py index <HASH>..<HASH> 100644 --- a/test/integration/049_dbt_debug_test/test_debug.py +++ b/test/integration/049_dbt_debug_test/test_debug.py @@ -1,8 +1,7 @@ -import yaml - from test.integration.base import...
Update order of imports in test_debug
py
diff --git a/nashvegas/management/commands/upgradedb.py b/nashvegas/management/commands/upgradedb.py index <HASH>..<HASH> 100644 --- a/nashvegas/management/commands/upgradedb.py +++ b/nashvegas/management/commands/upgradedb.py @@ -78,7 +78,7 @@ class Command(BaseCommand): scripts_in_directory.appen...
make --seed behave as one would expect (fixes #<I>)
py
diff --git a/python/dllib/src/bigdl/dllib/utils/file_utils.py b/python/dllib/src/bigdl/dllib/utils/file_utils.py index <HASH>..<HASH> 100644 --- a/python/dllib/src/bigdl/dllib/utils/file_utils.py +++ b/python/dllib/src/bigdl/dllib/utils/file_utils.py @@ -82,7 +82,10 @@ def save_file(save_func, path, **kwargs): ...
Fix overwrite issue in save model (#<I>) * pyzoo/zoo/common/utils.py * update save weights
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,8 @@ setup( keywords = "bioinformatics", url = "https://github.com/kblin/bioinf-helperlibs/wiki", packages=['helperlibs', 'helperlibs.bio', 'helperlibs.wrappers', 'helperlibs.tests'], - install_requ...
setup: More complete set of dependencies
py
diff --git a/astrobase/checkplot.py b/astrobase/checkplot.py index <HASH>..<HASH> 100644 --- a/astrobase/checkplot.py +++ b/astrobase/checkplot.py @@ -1445,6 +1445,7 @@ def _pkl_finder_objectinfo(objectinfo, (objectid, objectinfo['ra'], objectinfo['decl'])) finderb64 = None ...
lcproc: add neighbor stuff to parallel_cp workers and driver
py
diff --git a/cumulus/storage.py b/cumulus/storage.py index <HASH>..<HASH> 100644 --- a/cumulus/storage.py +++ b/cumulus/storage.py @@ -44,8 +44,10 @@ class CloudFilesStorage(Storage): self.username = username or settings.CUMULUS_USERNAME self.api_key = api_key or settings.CUMULUS_API_KEY self...
added CUMULUS_USE_SERVICENET into storage backend
py
diff --git a/representatives/management/commands/import_representatives_no_preserve.py b/representatives/management/commands/import_representatives_no_preserve.py index <HASH>..<HASH> 100644 --- a/representatives/management/commands/import_representatives_no_preserve.py +++ b/representatives/management/commands/import_...
[fix] didn't reassigned newly created country
py
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1590,7 +1590,7 @@ class Kconfig(object): self._tokens = self._tokenize("if " + s)[1:] self._tokens_i = -1 - return expr_value(self._expect_expr_and_eol()) # transform_m + ...
Remove outdated comment in eval_string()
py
diff --git a/crowd.py b/crowd.py index <HASH>..<HASH> 100644 --- a/crowd.py +++ b/crowd.py @@ -503,7 +503,7 @@ class CrowdServer(object): return True - def get_membership(self): + def get_memberships(self): """Fetches all group memberships. Returns:
Rename get_membership to get_memberships
py
diff --git a/demag_gui.py b/demag_gui.py index <HASH>..<HASH> 100755 --- a/demag_gui.py +++ b/demag_gui.py @@ -585,7 +585,7 @@ class Zeq_GUI(wx.Frame): # Draw figures and add text if self.Data: self.update_pmag_tables() - self.Add_text() + self.update_selection() ...
demag_gui.py: debugged and optomized main drawing and boot functions
py
diff --git a/openid/server/trustroot.py b/openid/server/trustroot.py index <HASH>..<HASH> 100644 --- a/openid/server/trustroot.py +++ b/openid/server/trustroot.py @@ -38,6 +38,10 @@ def _parseURL(url): host = netloc port = '' + host = host.lower() + if not path: + path = '/' + retu...
[project @ Fix for case and trailing-slash sensitivity of trust root code]
py
diff --git a/pyairtable/__init__.py b/pyairtable/__init__.py index <HASH>..<HASH> 100644 --- a/pyairtable/__init__.py +++ b/pyairtable/__init__.py @@ -1,3 +1,3 @@ -__version__ = "1.0.1" +__version__ = "1.1.0" from .api import Api, Base, Table # noqa
Publish Version: <I>
py
diff --git a/tests/test_fetch.py b/tests/test_fetch.py index <HASH>..<HASH> 100644 --- a/tests/test_fetch.py +++ b/tests/test_fetch.py @@ -159,10 +159,6 @@ def test_nearest_retrieval(requested, expected, is_namespace): """ flags = fuzzfetch.BuildFlags(asan=False, tsan=False, debug=False, fuzzing=False, covera...
Reenable rev based 'nearest' tests
py
diff --git a/python/setup.py b/python/setup.py index <HASH>..<HASH> 100644 --- a/python/setup.py +++ b/python/setup.py @@ -306,7 +306,6 @@ def move_file(target_dir, filename): # Create the target directory if it doesn't already exist. os.makedirs(os.path.dirname(destination), exist_ok=True) if not os.pat...
[CI] Stop Wheel Builds from Spamming Logs (#<I>)
py
diff --git a/django_extensions/management/commands/dumpscript.py b/django_extensions/management/commands/dumpscript.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/commands/dumpscript.py +++ b/django_extensions/management/commands/dumpscript.py @@ -478,7 +478,7 @@ def get_attribute_value(item, field, ...
dumpscript: Objects not added are created as on the first step instead of the second
py
diff --git a/allennlp/modules/elmo.py b/allennlp/modules/elmo.py index <HASH>..<HASH> 100644 --- a/allennlp/modules/elmo.py +++ b/allennlp/modules/elmo.py @@ -233,7 +233,7 @@ def batch_to_ids(batch: List[List[str]]) -> torch.Tensor: class _ElmoCharacterEncoder(torch.nn.Module): """ - Compute context sensitiv...
Update elmo.py (#<I>)
py
diff --git a/gwpy/io/cache.py b/gwpy/io/cache.py index <HASH>..<HASH> 100644 --- a/gwpy/io/cache.py +++ b/gwpy/io/cache.py @@ -283,13 +283,10 @@ def is_cache(cache): """ if isinstance(cache, (str, os.PathLike) + FILE_LIKE): try: - return bool(len(read_cache(cache))) - except ( - ...
gwpy.io: simplify cache.is_cache error handling use float as the GPS type, and catch _all_ errors and return as False fixes #<I>
py
diff --git a/sentinel_s3/converter.py b/sentinel_s3/converter.py index <HASH>..<HASH> 100644 --- a/sentinel_s3/converter.py +++ b/sentinel_s3/converter.py @@ -97,15 +97,6 @@ def to_latlon(geojson, origin_espg=None): new_coords = convert_coordinates(geojson['coordinates'], origin, wgs84) if new...
Don't add crs property to geojson
py
diff --git a/scripts/experiments/run_dp.py b/scripts/experiments/run_dp.py index <HASH>..<HASH> 100755 --- a/scripts/experiments/run_dp.py +++ b/scripts/experiments/run_dp.py @@ -191,7 +191,8 @@ class SrlExpParamsRunner(ExpParamsRunner): propTrainAsDev=0.5, ...
Switching to reals for dp-aware-small
py
diff --git a/cassandra/connection.py b/cassandra/connection.py index <HASH>..<HASH> 100644 --- a/cassandra/connection.py +++ b/cassandra/connection.py @@ -443,13 +443,10 @@ class Connection(object): raise ProtocolError(msg) def set_keyspace(self, keyspace): - if not keyspace: + if not ...
Move current keyspace check out of Connection lock
py
diff --git a/indra/tests/test_pmc_client.py b/indra/tests/test_pmc_client.py index <HASH>..<HASH> 100644 --- a/indra/tests/test_pmc_client.py +++ b/indra/tests/test_pmc_client.py @@ -106,5 +106,5 @@ def test_extract_text(): pmc_id = '4322985' xml_str = pmc_client.get_xml(pmc_id) text = pmc_client.extract...
chaged assertion in test from 'assert text' to 'assert text is not None'
py
diff --git a/vexbot/util/generate_certificates.py b/vexbot/util/generate_certificates.py index <HASH>..<HASH> 100644 --- a/vexbot/util/generate_certificates.py +++ b/vexbot/util/generate_certificates.py @@ -89,7 +89,7 @@ def main(): _check_vexbot_filepath(create_if_missing=True) cert_path = get_certificate_fi...
added in ability for folders to already exists and create parent directories
py