diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/fastly/auth.py b/fastly/auth.py index <HASH>..<HASH> 100644 --- a/fastly/auth.py +++ b/fastly/auth.py @@ -10,7 +10,7 @@ class KeyAuthenticator(object): self.key = key def add_auth(self, headers): - headers['X-Fastly-Key'] = self.key + headers['Fastly-Key'] = self.key class ...
use Fastly-Key instead of X-Fastly-Key
py
diff --git a/salt/modules/cron.py b/salt/modules/cron.py index <HASH>..<HASH> 100644 --- a/salt/modules/cron.py +++ b/salt/modules/cron.py @@ -408,6 +408,10 @@ def _get_cron_date_time(**kwargs): value = str(kwargs.get(param, '1')).lower() if value == 'random': ret[param] = str(random.samp...
Added range for minute and hour in cron module
py
diff --git a/pyforms/gui/Controls/ControlMdiArea.py b/pyforms/gui/Controls/ControlMdiArea.py index <HASH>..<HASH> 100644 --- a/pyforms/gui/Controls/ControlMdiArea.py +++ b/pyforms/gui/Controls/ControlMdiArea.py @@ -43,8 +43,12 @@ class ControlMdiArea(ControlBase, QMdiArea): :return: """ widget.close() + self ...
Fixes remove widget (and sub window) from the mdi list
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( packages=['albertson'], license="BSD", long_description=open('README.md').read(), - install_requires=[], + install_requires=['boto>=2.2.2'], classifiers=[ 'Development S...
Added boto as a dependency.
py
diff --git a/test/sigv4_test.py b/test/sigv4_test.py index <HASH>..<HASH> 100644 --- a/test/sigv4_test.py +++ b/test/sigv4_test.py @@ -92,10 +92,10 @@ class AWSSigV4TestCaseRunner(TestCase): body = fd.read() first_space = method_line.find(" ") - second_space = method_line.find(" "...
Allow spaces in the test URLs.
py
diff --git a/proso/models/environment.py b/proso/models/environment.py index <HASH>..<HASH> 100644 --- a/proso/models/environment.py +++ b/proso/models/environment.py @@ -331,9 +331,8 @@ class InMemoryEnvironment(CommonEnvironment): for user, primaries in users.items(): for item_primary, s...
fix export of values fron in memory environment
py
diff --git a/moto/sqs/models.py b/moto/sqs/models.py index <HASH>..<HASH> 100644 --- a/moto/sqs/models.py +++ b/moto/sqs/models.py @@ -338,8 +338,7 @@ class Queue(CloudFormationModel): if attributes.get("RedrivePolicy", None) is not None: self._setup_dlq(attributes["RedrivePolicy"]) - if ...
SQS - prevent a missing policy json (#<I>)
py
diff --git a/uncompyle6/semantics/pysource.py b/uncompyle6/semantics/pysource.py index <HASH>..<HASH> 100644 --- a/uncompyle6/semantics/pysource.py +++ b/uncompyle6/semantics/pysource.py @@ -363,9 +363,14 @@ class SourceWalker(GenericASTTraversal, object): def n_funcdef(node): - ...
Fix up retreiving "async" property on <I>
py
diff --git a/bids/layout/db.py b/bids/layout/db.py index <HASH>..<HASH> 100644 --- a/bids/layout/db.py +++ b/bids/layout/db.py @@ -139,7 +139,7 @@ class ConnectionManager: # Add config records config = listify('bids' if config is None else config) config = [Config.load(c, session=self.session...
fix: that isn't how sqlalchemy works
py
diff --git a/redis/connection.py b/redis/connection.py index <HASH>..<HASH> 100755 --- a/redis/connection.py +++ b/redis/connection.py @@ -1317,7 +1317,7 @@ class ConnectionPool: try: if connection.can_read(): raise ConnectionError("Connection has data") - e...
get_connection: catch OSError too (#<I>)
py
diff --git a/safe/gui/tools/test/test_wizard_dialog.py b/safe/gui/tools/test/test_wizard_dialog.py index <HASH>..<HASH> 100644 --- a/safe/gui/tools/test/test_wizard_dialog.py +++ b/safe/gui/tools/test/test_wizard_dialog.py @@ -1251,8 +1251,7 @@ class WizardDialogTest(unittest.TestCase): # expected_summary_key ...
Fix failing test caused by new building report for some IFs.
py
diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index <HASH>..<HASH> 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -42,7 +42,8 @@ _LEGACY_MAP = { 'Series' : 'legacy_series', 'TimeSeries' : 'legacy_series', 'DataFrame' : 'legacy_frame', - 'DataMatrix' : 'legacy_frame' + ...
ENH: support for reading legacy (pre <I>) WidePanel stored in HDFStore
py
diff --git a/umap/umap_.py b/umap/umap_.py index <HASH>..<HASH> 100644 --- a/umap/umap_.py +++ b/umap/umap_.py @@ -252,6 +252,8 @@ def nearest_neighbors( distance_func = sparse.sparse_named_distances[metric] if metric in sparse.sparse_need_n_features: metric_kwds["...
Allow passing a callable as a sparse metric
py
diff --git a/silverberg/client.py b/silverberg/client.py index <HASH>..<HASH> 100644 --- a/silverberg/client.py +++ b/silverberg/client.py @@ -50,6 +50,11 @@ class CassandraClient(object): :param password: Username to connect with. :type password: str. + n.b. Cassandra presently doesn't have any real sup...
adding a bit more docs.
py
diff --git a/lifelines/estimation.py b/lifelines/estimation.py index <HASH>..<HASH> 100644 --- a/lifelines/estimation.py +++ b/lifelines/estimation.py @@ -1256,8 +1256,10 @@ def _subtract(self, estimate): def subtract(other): self_estimate = getattr(self, estimate) other_estimate = getattr(other,...
Fixed issue with reindexing in _divide and _subtract.
py
diff --git a/cloudvolume/lib.py b/cloudvolume/lib.py index <HASH>..<HASH> 100644 --- a/cloudvolume/lib.py +++ b/cloudvolume/lib.py @@ -476,13 +476,9 @@ class Bbox(object): ] """ arr = np.array(arr, dtype=np.float32) - - mins = [] - maxes = [] - - for i in range(arr.shape[1]): - mins.appen...
make contain more accurate for boundary points (#<I>) * make contain more accurate for boundary points following the convention of python indexing, the `maxpt` should not be inclusive? according to the measurement of `size` or `length`, it seems that this is true. if so, the point should not be contained if it is...
py
diff --git a/dump2polarion/__init__.py b/dump2polarion/__init__.py index <HASH>..<HASH> 100644 --- a/dump2polarion/__init__.py +++ b/dump2polarion/__init__.py @@ -135,9 +135,7 @@ class XunitExport(object): testcase_data = { 'name': testcase_title or testcase_id, 'time': str(testcase_t...
don't add classname when not needed
py
diff --git a/tests/test_performance.py b/tests/test_performance.py index <HASH>..<HASH> 100644 --- a/tests/test_performance.py +++ b/tests/test_performance.py @@ -25,6 +25,8 @@ print( "The testing below tests the code under 3 different circumstances." "\n" ) + + # ------------------------------------------ ...
Added seconds to print to be explicit on the speed context.
py
diff --git a/pyramid_default_cors/__init__.py b/pyramid_default_cors/__init__.py index <HASH>..<HASH> 100644 --- a/pyramid_default_cors/__init__.py +++ b/pyramid_default_cors/__init__.py @@ -1,7 +1,7 @@ """ Preflight approach inspired by -# https://gist.github.com/kamalgill/b1f682dbdc6d6df4d052 -# MIT License Protect...
Tweak doc string Had something that looked like a code comment inside a docstring
py
diff --git a/pyverilog/controlflow/controlflow_analyzer.py b/pyverilog/controlflow/controlflow_analyzer.py index <HASH>..<HASH> 100644 --- a/pyverilog/controlflow/controlflow_analyzer.py +++ b/pyverilog/controlflow/controlflow_analyzer.py @@ -88,8 +88,8 @@ class VerilogControlflowAnalyzer(VerilogSubset): tree ...
bug fix of controlflow_analyzer for recent python
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ setup(name='svg.path', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', - 'License :: MIT', + 'License :: OSI Approved :: MIT Lice...
Made the license classifier Cheeseshop friendly.
py
diff --git a/lenstronomy/Util/package_util.py b/lenstronomy/Util/package_util.py index <HASH>..<HASH> 100644 --- a/lenstronomy/Util/package_util.py +++ b/lenstronomy/Util/package_util.py @@ -1,3 +1,5 @@ +import types + def exporter(export_self=False): """Export utility, modified from https://stackoverflow.com/a...
Add underscore to disambiguate modules and classes in laconic mode
py
diff --git a/pypot/dynamixel/io.py b/pypot/dynamixel/io.py index <HASH>..<HASH> 100644 --- a/pypot/dynamixel/io.py +++ b/pypot/dynamixel/io.py @@ -8,6 +8,7 @@ import threading from collections import namedtuple, OrderedDict from contextlib import contextmanager +from struct import unpack from .conversion import ...
Fixes a bug when raising DxlCommunicationError with Python 3
py
diff --git a/trinity/utils/logging.py b/trinity/utils/logging.py index <HASH>..<HASH> 100644 --- a/trinity/utils/logging.py +++ b/trinity/utils/logging.py @@ -20,7 +20,8 @@ def setup_trinity_logging(level: int) -> Tuple[Logger, Queue, handlers.QueueList handler = logging.StreamHandler(sys.stdout) formatter ...
trinity/utils/logging: drop year and milliseconds from date format.
py
diff --git a/tvrenamer/tests/base.py b/tvrenamer/tests/base.py index <HASH>..<HASH> 100755 --- a/tvrenamer/tests/base.py +++ b/tvrenamer/tests/base.py @@ -1,5 +1,13 @@ +from oslo_config import fixture as fixture_config from oslotest import base as test_base +import tvrenamer + class BaseTest(test_base.BaseTestCas...
added oslo_config.fixture to base test class.
py
diff --git a/telethon/tl/tlobject.py b/telethon/tl/tlobject.py index <HASH>..<HASH> 100644 --- a/telethon/tl/tlobject.py +++ b/telethon/tl/tlobject.py @@ -5,12 +5,35 @@ from threading import Event class TLObject: def __init__(self): - self.confirm_received = Event() self.rpc_error = None ...
Make TLObjects picklable (#<I>)
py
diff --git a/ca/certificate/managers.py b/ca/certificate/managers.py index <HASH>..<HASH> 100644 --- a/ca/certificate/managers.py +++ b/ca/certificate/managers.py @@ -43,6 +43,18 @@ class CertificateManager(models.Manager): cert.set_issuer(issuerPub.get_subject()) cert.set_subject(req.get_subject()) ...
add SubjectAltNames to certificate
py
diff --git a/lib/astrodither/drizCR.py b/lib/astrodither/drizCR.py index <HASH>..<HASH> 100644 --- a/lib/astrodither/drizCR.py +++ b/lib/astrodither/drizCR.py @@ -84,8 +84,8 @@ def rundrizCR(imgObjList,configObj,saveFile=True,procSteps=None): p.join() else: print 'Executing serially' - for ima...
indentation error; was not affecting code currently in use in DEV since pool_size is hardcoded to 1 git-svn-id: <URL>
py
diff --git a/examples/example4-file-object.py b/examples/example4-file-object.py index <HASH>..<HASH> 100644 --- a/examples/example4-file-object.py +++ b/examples/example4-file-object.py @@ -4,21 +4,20 @@ import basc_py4chan def main(): # grab the first thread on the board by checking first page - v = basc_p...
typo with example, should probably test them before pushing
py
diff --git a/bids/layout/models.py b/bids/layout/models.py index <HASH>..<HASH> 100644 --- a/bids/layout/models.py +++ b/bids/layout/models.py @@ -309,7 +309,7 @@ class BIDSDataFile(BIDSFile): } def get_df(self, include_timing=True, adjust_onset=False, - enforce_dtypes=True): + e...
may as well pass through args to read_csv to prevent similar issues
py
diff --git a/mutant/contrib/related/models.py b/mutant/contrib/related/models.py index <HASH>..<HASH> 100644 --- a/mutant/contrib/related/models.py +++ b/mutant/contrib/related/models.py @@ -96,10 +96,7 @@ class RelatedFieldDefinition(FieldDefinition): South add_column choke when passing 'self' or 'app.Model' ...
Simplified a related field method.
py
diff --git a/flask_swagger.py b/flask_swagger.py index <HASH>..<HASH> 100644 --- a/flask_swagger.py +++ b/flask_swagger.py @@ -10,6 +10,7 @@ import inspect import yaml import re +from collections import defaultdict def _sanitize(comment): return comment.replace('\n', '<br/>') if comment else comment @@ -73,...
Handling multiple views for same route Extending on work by abhaga. Handles the case where definitions get overridden by seperate view functions for the same verb.
py
diff --git a/rdt/transformers/NumberTransformer.py b/rdt/transformers/NumberTransformer.py index <HASH>..<HASH> 100644 --- a/rdt/transformers/NumberTransformer.py +++ b/rdt/transformers/NumberTransformer.py @@ -48,12 +48,12 @@ class NumberTransformer(BaseTransformer): out[self.col_name] = out.apply(self.ge...
Safe default pick on NumberTransformer
py
diff --git a/django_ulogin/templatetags/ulogin_tags.py b/django_ulogin/templatetags/ulogin_tags.py index <HASH>..<HASH> 100644 --- a/django_ulogin/templatetags/ulogin_tags.py +++ b/django_ulogin/templatetags/ulogin_tags.py @@ -73,6 +73,7 @@ def ulogin_widget(context, name="default"): 'LOAD_SCRIPT_AT_ONCE': s.L...
PEP8: 2 blank lines after function definition
py
diff --git a/weighted.py b/weighted.py index <HASH>..<HASH> 100644 --- a/weighted.py +++ b/weighted.py @@ -1 +1,7 @@ +from warnings import warn +warn('This module has been superseded by wquantiles. In future, please import ' + 'wquantiles as this module has been deprecated and will not appear in ' + 'future rel...
Added a deprecation warning to weighted.py This is probably a good idea even if you are currently in the alpha phase.
py
diff --git a/clients/python/girder_client/__init__.py b/clients/python/girder_client/__init__.py index <HASH>..<HASH> 100644 --- a/clients/python/girder_client/__init__.py +++ b/clients/python/girder_client/__init__.py @@ -118,7 +118,7 @@ class _ProgressBytesIO(six.BytesIO): self.reporter = kwargs.pop('reporte...
Girder client: The size is not required to upload data
py
diff --git a/spyder/plugins/projectexplorer.py b/spyder/plugins/projectexplorer.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/projectexplorer.py +++ b/spyder/plugins/projectexplorer.py @@ -66,7 +66,7 @@ class ProjectExplorer(ProjectExplorerWidget, SpyderPluginMixin): #------ SpyderPluginWidget API ----------...
Projects: Rename plugin title to "Project"
py
diff --git a/analyzers/URLhaus/URLhaus.py b/analyzers/URLhaus/URLhaus.py index <HASH>..<HASH> 100644 --- a/analyzers/URLhaus/URLhaus.py +++ b/analyzers/URLhaus/URLhaus.py @@ -58,7 +58,7 @@ class URLhaus: "link": cols[1].find("a").attrs.get("href"), "status": cols[2].text, ...
fix in case GSB value is missing I noticed that GSB value is not retrieved in json causing "index out of range" error. This fix checks if fields is available, otherwise go ahead. If this field is not available anymore we can skip it and remove also from template long. I don't find documentation about this.
py
diff --git a/test/phase_info_test.py b/test/phase_info_test.py index <HASH>..<HASH> 100644 --- a/test/phase_info_test.py +++ b/test/phase_info_test.py @@ -22,6 +22,10 @@ def PlainFunc(): pass +def NormalTestPhase(test): + return 'return value' + + def ExtraArgFunc(input=None): return input @@ -36,6 +40,10...
Add test for a test-arg phase
py
diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py index <HASH>..<HASH> 100644 --- a/ryu/ofproto/ofproto_v1_3_parser.py +++ b/ryu/ofproto/ofproto_v1_3_parser.py @@ -2567,10 +2567,23 @@ class OFPMultipartReply(MsgBase): class OFPDescStats(ofproto_parser.namedtuple('OFPDescStats', ( ...
of<I>: make OFPDescStats more human readable - when parsing, remove zero padding. - stop base<I> encoding for json representation because these fields are ASCII strings per OF spec.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ class PyTest(TestCommand): setup( name="teamcity-messages", - version="1.14", + version="1.13", author='JetBrains', author_email='teamcity-feedback@jetbrains.com', description='Send ...
I don't think I am supposed to trip the rev
py
diff --git a/src/td_run_all_local.py b/src/td_run_all_local.py index <HASH>..<HASH> 100644 --- a/src/td_run_all_local.py +++ b/src/td_run_all_local.py @@ -100,6 +100,16 @@ def check_if_needs_modeling(tomodir): def check_if_needs_inversion(tomodir): """check of we need to run CRTomo in a given tomodir + + Par...
[td_run_all_local] check once more if the TD is not finished yet before actually calling CRTomo. This reduces duplicate inversions in cases were multiple computers invert in the same directory tree
py
diff --git a/htmresearch/algorithms/extended_temporal_memory.py b/htmresearch/algorithms/extended_temporal_memory.py index <HASH>..<HASH> 100644 --- a/htmresearch/algorithms/extended_temporal_memory.py +++ b/htmresearch/algorithms/extended_temporal_memory.py @@ -410,7 +410,7 @@ class ExtendedTemporalMemory(TemporalMemo...
Grow new segments, don't reuse unmatching segments
py
diff --git a/salt/runners/venafiapi.py b/salt/runners/venafiapi.py index <HASH>..<HASH> 100644 --- a/salt/runners/venafiapi.py +++ b/salt/runners/venafiapi.py @@ -130,6 +130,9 @@ def gen_key(minion_id, dns_name=None, zone='default', password=None): keygen_type = keyTypes[0]['keyType'] key_len ...
Address more comments from @cachedout
py
diff --git a/ironman/constructs/ipbus.py b/ironman/constructs/ipbus.py index <HASH>..<HASH> 100644 --- a/ironman/constructs/ipbus.py +++ b/ironman/constructs/ipbus.py @@ -19,7 +19,7 @@ Struct detailing the Packet Header logic """ ControlHeaderStruct = BitStruct("transaction", - BitField("prot...
Require protocol_version OneOf assertion in transaction packets
py
diff --git a/google_images_download/google_images_download.py b/google_images_download/google_images_download.py index <HASH>..<HASH> 100755 --- a/google_images_download/google_images_download.py +++ b/google_images_download/google_images_download.py @@ -703,8 +703,6 @@ class googleimagesdownload: if a...
For --extract_metadata, skip failed downloads and include saved filename (#<I>) * For --extract_metadata, exclude failed downloads * For --extract_metadata, include saved image filename
py
diff --git a/devassistant/actions.py b/devassistant/actions.py index <HASH>..<HASH> 100644 --- a/devassistant/actions.py +++ b/devassistant/actions.py @@ -437,7 +437,7 @@ class PkgInfoAction(Action): logger.setLevel(logging.ERROR) try: d = dapi.Dap(kwargs['package']) - ...
Fixed invocation of DAP checking in actions
py
diff --git a/src/saml2/server.py b/src/saml2/server.py index <HASH>..<HASH> 100644 --- a/src/saml2/server.py +++ b/src/saml2/server.py @@ -430,6 +430,9 @@ class Server(Entity): except AttributeError: snq = sp_entity_id + if not snq: + snq = sp_en...
snq must not be None
py
diff --git a/nanomsg/__init__.py b/nanomsg/__init__.py index <HASH>..<HASH> 100644 --- a/nanomsg/__init__.py +++ b/nanomsg/__init__.py @@ -382,7 +382,7 @@ class Socket(object): _nn_check_positive_rtn(rtn) if length != size: raise NanoMsgError(('Returned option size (%r) should be the same...
Fix bug in error message The error message was showing the return code instead of the length of the returned object.
py
diff --git a/libsubmit/providers/torque/torque.py b/libsubmit/providers/torque/torque.py index <HASH>..<HASH> 100644 --- a/libsubmit/providers/torque/torque.py +++ b/libsubmit/providers/torque/torque.py @@ -187,7 +187,7 @@ class TorqueProvider(ClusterProvider, RepresentationMixin): job_config["task_blocks"] = ...
Fixes #<I>. Removing walltime to minutes conversion.
py
diff --git a/gandi/cli/modules/cert.py b/gandi/cli/modules/cert.py index <HASH>..<HASH> 100644 --- a/gandi/cli/modules/cert.py +++ b/gandi/cli/modules/cert.py @@ -47,7 +47,12 @@ class Certificate(GandiModule): def package_list(cls, options=None): """ list possible certificate packages """ options...
Handle Ote case where no cert api is exported.
py
diff --git a/openquake/calculators/scenario_damage.py b/openquake/calculators/scenario_damage.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/scenario_damage.py +++ b/openquake/calculators/scenario_damage.py @@ -170,7 +170,6 @@ class ScenarioDamageCalculator(base.RiskCalculator): aed = res.pop('aed'...
Removed a debugging print [skip CI]
py
diff --git a/usb/core.py b/usb/core.py index <HASH>..<HASH> 100644 --- a/usb/core.py +++ b/usb/core.py @@ -216,6 +216,8 @@ class _ResourceManager(object): self.backend.set_interface_altsetting(self.handle, i.bInterfaceNumber, alt) + self._ep_info.clear() + @synchronized def setup_request(s...
core: reset cached endpoints on alternate setting changes Endpoints are not shared between different interfaces within a single configuration *except* the endpoint is used by alternate settings of the same interface. Related: #<I>
py
diff --git a/glue/ligolw/lsctables.py b/glue/ligolw/lsctables.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/lsctables.py +++ b/glue/ligolw/lsctables.py @@ -719,16 +719,6 @@ class ProcessParamsTable(LSCTableMulti): if row.process_id == key: row.program = value - def __getitem__(self, key): - """ - Return...
Remove crufty __getitem__ method from ProcessParamsTable class. I don't think it's breaking anything, but this isn't the way things are supposed to work anymore (so anything broken by its removal needs fixing anyway).
py
diff --git a/command/install_lib.py b/command/install_lib.py index <HASH>..<HASH> 100644 --- a/command/install_lib.py +++ b/command/install_lib.py @@ -80,7 +80,8 @@ class install_lib(Command): if not isinstance(self.optimize, int): try: self.optimize = int(self.optimize) - ...
removing the assert statement so the code works when Python is run with -O
py
diff --git a/salt/modules/win_task.py b/salt/modules/win_task.py index <HASH>..<HASH> 100644 --- a/salt/modules/win_task.py +++ b/salt/modules/win_task.py @@ -19,7 +19,7 @@ import logging # Import 3rd Party Libraries import pythoncom import win32com.client -import salt.ext.six.moves import range +from salt.ext.six.m...
Fixed an egregious error with an import
py
diff --git a/synapse/lib/types.py b/synapse/lib/types.py index <HASH>..<HASH> 100644 --- a/synapse/lib/types.py +++ b/synapse/lib/types.py @@ -530,7 +530,7 @@ class CompType(DataType): def _norm_dict(self, valu, oldval=None): newv = [] - for name, type in self.fields: + for name, ftype in ...
Replace 'type' with 'ftype' since 'type' is a builtin.
py
diff --git a/geomet/wkt.py b/geomet/wkt.py index <HASH>..<HASH> 100644 --- a/geomet/wkt.py +++ b/geomet/wkt.py @@ -61,7 +61,7 @@ def __dump_point(obj, fmt): decimal point when formatting coordinates. :returns: - WKT representation of the input GeoJSON ``obj``. + WKT representation of the i...
wkt: Updated the docstring for `__dump_point`.
py
diff --git a/jardin/query_builders.py b/jardin/query_builders.py index <HASH>..<HASH> 100644 --- a/jardin/query_builders.py +++ b/jardin/query_builders.py @@ -247,7 +247,7 @@ class WriteQueryBuilder(PGQueryBuilder): for idx, val in self.write_values.iterrows(): values = collections.OrderedDict() ...
Fix Series.iteritems
py
diff --git a/simuvex/s_irstmt.py b/simuvex/s_irstmt.py index <HASH>..<HASH> 100644 --- a/simuvex/s_irstmt.py +++ b/simuvex/s_irstmt.py @@ -220,7 +220,7 @@ class SimIRStmt: self.add_constraints(*old_lo_constraints) # save it to the tmp - if o.SYMBOLIC in self.options: + if o.SYMBOLIC_TEMPS in self.options: ...
use symbolic_temps instead of symbolic for controlling whether the temps are assumed to be symbolic in CAS
py
diff --git a/modin/pandas/dataframe.py b/modin/pandas/dataframe.py index <HASH>..<HASH> 100644 --- a/modin/pandas/dataframe.py +++ b/modin/pandas/dataframe.py @@ -145,6 +145,7 @@ class DataFrame(BasePandasDataset): "display.expand_frame_repr" ): width, _ = console.get_console_size() +...
FIX-#<I>: Fix unlimited column printing for smaller dataframes (#<I>)
py
diff --git a/marathon_acme/tests/test_cli.py b/marathon_acme/tests/test_cli.py index <HASH>..<HASH> 100644 --- a/marathon_acme/tests/test_cli.py +++ b/marathon_acme/tests/test_cli.py @@ -67,13 +67,13 @@ class TestCli(TestCase): def test_cannot_listen(self): """ When the program is run with an arg...
test_cli: Maybe more luck with an address that can't be used
py
diff --git a/src/python/atomistica/atomic_strain.py b/src/python/atomistica/atomic_strain.py index <HASH>..<HASH> 100644 --- a/src/python/atomistica/atomic_strain.py +++ b/src/python/atomistica/atomic_strain.py @@ -37,7 +37,7 @@ def get_XIJ(pos_now, pos_old, i_now, dr_now, dr_old): Calculates the X_{ij} matrix ...
Bug fix: Needed to swap indices to compute correct Xij.
py
diff --git a/costcla/__init__.py b/costcla/__init__.py index <HASH>..<HASH> 100644 --- a/costcla/__init__.py +++ b/costcla/__init__.py @@ -24,7 +24,7 @@ You can install ``costcla`` with ``pip``:: # Authors: Alejandro Correa Bahnsen <al.bahnsen@gmail.com> # License: BSD 3 clause -__version__ = '0.5' +__version__ = '...
update version to <I>dev
py
diff --git a/src/googleclouddebugger/capture_collector.py b/src/googleclouddebugger/capture_collector.py index <HASH>..<HASH> 100644 --- a/src/googleclouddebugger/capture_collector.py +++ b/src/googleclouddebugger/capture_collector.py @@ -439,7 +439,7 @@ class LogCollector(object): # Select log function. le...
Fix handling of missing logLevel (which means INFO). ------------- Created by MOE: <URL>
py
diff --git a/AegeanTools/wcs_helpers.py b/AegeanTools/wcs_helpers.py index <HASH>..<HASH> 100644 --- a/AegeanTools/wcs_helpers.py +++ b/AegeanTools/wcs_helpers.py @@ -467,6 +467,8 @@ class PSFHelper(WCSHelper): def get_beamarea_pix(self, ra, dec): beam = self.get_pixbeam(ra, dec) + if beam is Non...
fixed crash that occurred when psf was not found
py
diff --git a/xhtml2pdf/wsgi.py b/xhtml2pdf/wsgi.py index <HASH>..<HASH> 100644 --- a/xhtml2pdf/wsgi.py +++ b/xhtml2pdf/wsgi.py @@ -57,7 +57,7 @@ class Filter(object): return [body] def should_filter(self, status, headers): - print headers + print (headers) def filter(self, status, h...
compatibility with python 3.x print using brackets
py
diff --git a/src/dolo/compiler/compiling.py b/src/dolo/compiler/compiling.py index <HASH>..<HASH> 100644 --- a/src/dolo/compiler/compiling.py +++ b/src/dolo/compiler/compiling.py @@ -35,6 +35,11 @@ def compile_function(equations, args, parms, max_order, return_function=True): # import numpy as np from numpy ...
Arcsin, arccos... addedd to python compiled functions.
py
diff --git a/samcli/lib/generated_sample_events/events.py b/samcli/lib/generated_sample_events/events.py index <HASH>..<HASH> 100644 --- a/samcli/lib/generated_sample_events/events.py +++ b/samcli/lib/generated_sample_events/events.py @@ -5,8 +5,17 @@ Methods to expose the event types and generate the event jsons for u...
chore: Suppress SyntaxWarning caused by chevron on Windows (#<I>)
py
diff --git a/pycm/pycm_obj.py b/pycm/pycm_obj.py index <HASH>..<HASH> 100644 --- a/pycm/pycm_obj.py +++ b/pycm/pycm_obj.py @@ -658,6 +658,31 @@ class ConfusionMatrix(): self.FN = self.class_stat["FN"] __class_stat_init__(self) + def average(self, param, none_omit=False): + """ + Cal...
add average method to pycm object #<I>
py
diff --git a/salt/roster/flat.py b/salt/roster/flat.py index <HASH>..<HASH> 100644 --- a/salt/roster/flat.py +++ b/salt/roster/flat.py @@ -82,6 +82,8 @@ class RosterMatcher(object): Return minions that match via list ''' minions = {} + if not isinstance(self.tgt, list): + se...
Add support for comma separated list matching in salt-ssh
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,10 +13,10 @@ from setuptools import find_packages, setup, Command # Package meta-data. NAME = 'enaml-web' DESCRIPTION = 'Web component toolkit for Enaml' -URL = 'https://gitlab.com/frmdstryr/enaml-web' +URL = 'https://g...
Update setup.py Update url and python version
py
diff --git a/kurt/plugin.py b/kurt/plugin.py index <HASH>..<HASH> 100644 --- a/kurt/plugin.py +++ b/kurt/plugin.py @@ -192,6 +192,8 @@ class Kurt(object): other._add_translation(tb) break else: + if tb._match: + raise ValueError, "...
Raise error when TranslatedBlockType can't match command
py
diff --git a/kafka_utils/kafka_consumer_manager/commands/offsets_for_timestamp.py b/kafka_utils/kafka_consumer_manager/commands/offsets_for_timestamp.py index <HASH>..<HASH> 100644 --- a/kafka_utils/kafka_consumer_manager/commands/offsets_for_timestamp.py +++ b/kafka_utils/kafka_consumer_manager/commands/offsets_for_ti...
Add warning if timestamp argument in offsets_for_timestamp is in seconds
py
diff --git a/src/discoursegraphs/readwrite/dot.py b/src/discoursegraphs/readwrite/dot.py index <HASH>..<HASH> 100644 --- a/src/discoursegraphs/readwrite/dot.py +++ b/src/discoursegraphs/readwrite/dot.py @@ -32,4 +32,10 @@ def print_dot(docgraph): """ tmp_file = NamedTemporaryFile() write_dot(docgraph, tm...
workaround for print_dot() to avoid graphviz utf8 issues
py
diff --git a/magic.py b/magic.py index <HASH>..<HASH> 100644 --- a/magic.py +++ b/magic.py @@ -213,7 +213,7 @@ def coerce_filename(filename): (sys.version_info[0] >= 3 and isinstance(filename, str)) if is_unicode: - return filename.encode('utf-8') + return filen...
Handle incorrectly encoded files (i.e. does not match file system encoding)
py
diff --git a/salt/cloud/__init__.py b/salt/cloud/__init__.py index <HASH>..<HASH> 100644 --- a/salt/cloud/__init__.py +++ b/salt/cloud/__init__.py @@ -1261,7 +1261,12 @@ class Cloud(object): # a small pause makes the sync work reliably time.sleep(3) - client = salt.cli...
salt.cloud.Cloud() instantiates a localClient to facilitate options such as sync_after_install f8ae<I>c<I>f<I>bf<I>b<I>ad<I>d5e<I>dc2b7b introduced code in the local client object that broke when fed salt-cloud __opts__. This merely loads the local master defaults + config to make loader happy again.
py
diff --git a/dallinger/command_line/docker.py b/dallinger/command_line/docker.py index <HASH>..<HASH> 100644 --- a/dallinger/command_line/docker.py +++ b/dallinger/command_line/docker.py @@ -281,9 +281,12 @@ def heroku_addons_cmd(app_name): return ["heroku", "addons", "-a", app_name] -HAS_SCRIPT = ( - subpr...
Only use script if it behaves as we expect it to
py
diff --git a/salt/modules/cmdmod.py b/salt/modules/cmdmod.py index <HASH>..<HASH> 100644 --- a/salt/modules/cmdmod.py +++ b/salt/modules/cmdmod.py @@ -393,6 +393,10 @@ def run(cmd, salt '*' cmd.run template=jinja "ls -l /tmp/{{grains.id}} | awk '/foo/{print \\$2}'" + Specify an alternate shell with the ...
Added some lines to the docs explaining how to use Powershell as an alternate shell.
py
diff --git a/nodeconductor/monitoring/tasks.py b/nodeconductor/monitoring/tasks.py index <HASH>..<HASH> 100644 --- a/nodeconductor/monitoring/tasks.py +++ b/nodeconductor/monitoring/tasks.py @@ -39,11 +39,10 @@ def update_instance_sla(sla_type): end_time = int(dt.strftime("%s")) - instances = Instance.objec...
Do not calculate SLA for instances with empty backend_id
py
diff --git a/bcbio/variation/bamprep.py b/bcbio/variation/bamprep.py index <HASH>..<HASH> 100644 --- a/bcbio/variation/bamprep.py +++ b/bcbio/variation/bamprep.py @@ -27,6 +27,9 @@ def _gatk_extract_reads_cl(data, region, prep_params, tmp_dir): "-L", region_to_gatk(region), "-R", dd.get_ref_fi...
GATK3: back compatibility for indel realignment Fixes #<I>
py
diff --git a/aloe_django/steps/models.py b/aloe_django/steps/models.py index <HASH>..<HASH> 100644 --- a/aloe_django/steps/models.py +++ b/aloe_django/steps/models.py @@ -322,7 +322,7 @@ def _model_exists_step(step, model, should_exist): @step(STEP_PREFIX + r'(?:an? )?([A-Z][a-z0-9_ ]*) should be present in t...
Fix broken test caused by wrong args
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ setup(name='workflows', version=find_version('workflows', '__init__.py'), install_requires=[ 'enum-compat', - 'stomp.py==4.1.18', + 'stomp.py<4.1.20', ], ...
<I> is fine. <I> is not.
py
diff --git a/wsgidav/request_server.py b/wsgidav/request_server.py index <HASH>..<HASH> 100644 --- a/wsgidav/request_server.py +++ b/wsgidav/request_server.py @@ -622,9 +622,13 @@ class RequestServer(object): if "HTTP_CONTENT_ENCODING" in environ: self._fail(HTTP_NOT_IMPLEMENTED, ...
Respond with <I> if PUT contains Content-Range
py
diff --git a/clearly/client.py b/clearly/client.py index <HASH>..<HASH> 100644 --- a/clearly/client.py +++ b/clearly/client.py @@ -195,9 +195,11 @@ class ClearlyClient(object): ts = datetime.fromtimestamp(task.timestamp) print(colors.DIM(ts.strftime('%H:%M:%S.%f')[:-3]), end=' ') if task.crea...
fix(client) arbitrarily truncating routing key, even if it is not the same prefix
py
diff --git a/chunkypipes/util/commands/configure.py b/chunkypipes/util/commands/configure.py index <HASH>..<HASH> 100644 --- a/chunkypipes/util/commands/configure.py +++ b/chunkypipes/util/commands/configure.py @@ -3,11 +3,15 @@ import os import imp import argparse import json +import readline from chunkypipes.util...
Added filesystem tab completion for configure subcommand
py
diff --git a/gwpy/plotter/decorators.py b/gwpy/plotter/decorators.py index <HASH>..<HASH> 100644 --- a/gwpy/plotter/decorators.py +++ b/gwpy/plotter/decorators.py @@ -36,10 +36,13 @@ def auto_refresh(f, *args, **kwargs): def axes_method(f, *args, **kwargs): figure = args[0] axes = [ax for ax in figure.axes] ...
axes_method decorator: changed exeption type - now throws RuntimeError if len(fig.axes) <= 1
py
diff --git a/indra/tests/test_model_checker.py b/indra/tests/test_model_checker.py index <HASH>..<HASH> 100644 --- a/indra/tests/test_model_checker.py +++ b/indra/tests/test_model_checker.py @@ -548,6 +548,7 @@ def test_multitype_path(): assert results[0][1] == True assert results[1][1] == True +""" def te...
Comment out failing tests in test_model_checker
py
diff --git a/harpoon/ship/runner.py b/harpoon/ship/runner.py index <HASH>..<HASH> 100644 --- a/harpoon/ship/runner.py +++ b/harpoon/ship/runner.py @@ -15,7 +15,7 @@ from harpoon.option_spec.harpoon_specs import HarpoonSpec from harpoon import helpers as hp from harpoon.helpers import until -from docker.errors impor...
Don't retry to remove a container if it doesn't exist anymore
py
diff --git a/crispy_forms/helper.py b/crispy_forms/helper.py index <HASH>..<HASH> 100644 --- a/crispy_forms/helper.py +++ b/crispy_forms/helper.py @@ -203,6 +203,7 @@ class FormHelper(DynamicLayoutHandler): disable_csrf = False label_class = '' label_size = '' + field_class = '' def __init__(se...
Fix, missing form_helper attribute Related to #<I>
py
diff --git a/sieve/rules/actions.py b/sieve/rules/actions.py index <HASH>..<HASH> 100644 --- a/sieve/rules/actions.py +++ b/sieve/rules/actions.py @@ -5,18 +5,6 @@ class SieveActions(object): self.actions = [] self.implicit_keep = implicit_keep - def __str__(self): - return self.actions.__...
make SieveActions delegate to a list instead of impersonate one
py
diff --git a/binance/client.py b/binance/client.py index <HASH>..<HASH> 100644 --- a/binance/client.py +++ b/binance/client.py @@ -711,7 +711,8 @@ class Client(object): ) return kline[0][0] - def get_historical_klines(self, symbol, interval, start_str, end_str=None): + def get_historical_kline...
Add limit param to control function behavior
py
diff --git a/api/setup.py b/api/setup.py index <HASH>..<HASH> 100755 --- a/api/setup.py +++ b/api/setup.py @@ -114,7 +114,7 @@ INSTALL_REQUIRES = [ 'aiohttp==3.4.4', 'numpy>=1.15.1', 'urwid==1.3.1', - 'jsonschema>=3.0.2', + 'jsonschema>=3.0.2,<4', 'aionotify==0.2.0', ]
chore(api): Constrain jsonschema dependency to current major version (#<I>)
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -111,15 +111,13 @@ todo_include_todos = False # import python_docs_theme html_theme = "python_docs_theme" -root_name = "Python" -root_url = "https://github.com/johnbywater/eventsourcing" -root_icon = "py.pn...
Adjusted conf.py.
py
diff --git a/scapy.py b/scapy.py index <HASH>..<HASH> 100755 --- a/scapy.py +++ b/scapy.py @@ -2391,8 +2391,10 @@ class Field: return self.name == other def __hash__(self): return hash(self.name) - def __repr__(self): + def __str__(self): return self.name + def __repr__(self): +...
Changed Field.__repr__() to something more friendly and added __str__()
py
diff --git a/tilematrix/_tilepyramid.py b/tilematrix/_tilepyramid.py index <HASH>..<HASH> 100644 --- a/tilematrix/_tilepyramid.py +++ b/tilematrix/_tilepyramid.py @@ -33,8 +33,9 @@ class TilePyramid(object): """Initialize TilePyramid.""" if grid is None: raise ValueError("grid definition ...
allow metatiling up to <I> (#<I>)
py
diff --git a/rocker/image.py b/rocker/image.py index <HASH>..<HASH> 100644 --- a/rocker/image.py +++ b/rocker/image.py @@ -104,9 +104,9 @@ def build(imagePath, rocker=Rocker()): # If docker doesn't have the image, build it even if there's a .rockerBuild file if imgInfo == None: - skip == False # always build if ...
fixed assignment issue in image.build() (was using equals op instead of assignment)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( "requests>=2.12.4", "rlp>=0.4.7", "toolz>=0.8.2", - "eth-tester~=0.1.0b2", + "eth-tester~=0.1.0b4", ], setup_requires=['setuptools-markdown'], extra...
bump eth-tester version
py
diff --git a/fabfile.py b/fabfile.py index <HASH>..<HASH> 100644 --- a/fabfile.py +++ b/fabfile.py @@ -3,6 +3,7 @@ from fabric.colors import green, red import datetime import yaml import subprocess, shlex, atexit, time +import os.path settings = 0 current_config = 'unknown' @@ -458,3 +459,20 @@ def install(): ...
new task: copySSHKeyToDocker will copy a given ssh key to the docker installation, so ssh-connections from docker to docker won't need a password. Caution: this might compromise your security-workflow, both docker-container must not expose their ssh-port to the public.
py
diff --git a/saltcloud/clouds/softlayer-hw.py b/saltcloud/clouds/softlayer-hw.py index <HASH>..<HASH> 100644 --- a/saltcloud/clouds/softlayer-hw.py +++ b/saltcloud/clouds/softlayer-hw.py @@ -421,6 +421,12 @@ def create(vm_): ], } + optional_products = config.get_config_value( + 'optional_produ...
Allowing optional_products to be specified for softlayer-hw
py