diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/mongoctl/mongoctl.py b/mongoctl/mongoctl.py index <HASH>..<HASH> 100644 --- a/mongoctl/mongoctl.py +++ b/mongoctl/mongoctl.py @@ -4080,8 +4080,7 @@ class ReplicaSetCluster(DocumentWrapper): mem_conf = member.get_member_repl_config() rs_conf = self.read_rs_config() return (rs_conf...
Missing renamed function call
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,8 @@ MAKEFILE_SOURCES_LIST_RE = re.compile(r''' ''', re.VERBOSE) -if not os.path.isdir(LIBSASS_DIR) and os.path.isdir('.git'): +if not os.path.isfile(os.path.join(LIBSASS_DIR, 'Makefile')) and \ + os.path.isdi...
Submodules have their empty dir even if uninitialized
py
diff --git a/src/diamond/server.py b/src/diamond/server.py index <HASH>..<HASH> 100644 --- a/src/diamond/server.py +++ b/src/diamond/server.py @@ -166,7 +166,8 @@ class Server(object): elif (os.path.isfile(fpath) and len(f) > 3 and f[-3:] == '.py' - an...
Dont try to load collectors files that start with a period. It can be extended attribute files or vim backups or similar and can lead to some weird errors.
py
diff --git a/gooey/gui/util/taskkill.py b/gooey/gui/util/taskkill.py index <HASH>..<HASH> 100644 --- a/gooey/gui/util/taskkill.py +++ b/gooey/gui/util/taskkill.py @@ -7,5 +7,9 @@ if sys.platform.startswith("win"): def taskkill(pid): os.system('taskkill /F /PID {:d} /T >NUL 2>NUL'.format(pid)) else: # POSIX + ...
Kill child processes as well as shell process
py
diff --git a/src/xmlsig/constants.py b/src/xmlsig/constants.py index <HASH>..<HASH> 100644 --- a/src/xmlsig/constants.py +++ b/src/xmlsig/constants.py @@ -36,7 +36,7 @@ TransformDsaSha256 = DSigNs11 + 'dsa-sha256' TransformEcdsaSha1 = DSignNsMore + 'ecdsa-sha1' TransformEcdsaSha224 = DSignNsMore + 'ecdsa-sha224' Tra...
Fix typo in TransformEcdsaSha<I> constant Fixes: x1a<I>f0c ("Added XDSig Validation and fixed some nodes usage")
py
diff --git a/jss/jss.py b/jss/jss.py index <HASH>..<HASH> 100755 --- a/jss/jss.py +++ b/jss/jss.py @@ -1097,8 +1097,8 @@ class FileUpload(object): "%s" % id_types) self._id = str(_id) - self.resource = {'name': (resource, open(resource, 'rb'), - ...
Fix FileUpload resource names to not be the full path to the original file.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,6 +17,7 @@ setup( 'Flask applications.', long_description=read('README.rst'), include_package_data=True, + zip_safe=False, author='Marc Brinkmann', author_email='git@marcbrinkmann.de...
Added zip_safe=False.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup( version=coinbase.wallet.__version__, packages=['coinbase', 'coinbase.wallet'], include_package_data=True, - license='MIT License', + license='Apache 2.0', description='Coinbase A...
Update license in setup.py This was missed in 0bc<I>.
py
diff --git a/pytumblr/__init__.py b/pytumblr/__init__.py index <HASH>..<HASH> 100644 --- a/pytumblr/__init__.py +++ b/pytumblr/__init__.py @@ -496,9 +496,12 @@ class TumblrRestClient(object): files = [] if 'data' in params: if isinstance(params['data'], list): - files = [('...
TumblrRestClient.send_api_request: ensure files get closed
py
diff --git a/isogeo_pysdk/isogeo_sdk.py b/isogeo_pysdk/isogeo_sdk.py index <HASH>..<HASH> 100644 --- a/isogeo_pysdk/isogeo_sdk.py +++ b/isogeo_pysdk/isogeo_sdk.py @@ -468,6 +468,28 @@ class Isogeo(object): # end of method return thez_req.json() + # -- DOWNLOADS -----------------------------------...
add method to download metadata XML version
py
diff --git a/www/tests/issues.py b/www/tests/issues.py index <HASH>..<HASH> 100644 --- a/www/tests/issues.py +++ b/www/tests/issues.py @@ -1988,12 +1988,10 @@ str(globals()) # issue 885 -from traceback import * try: 1/0 except: - import traceback - assert '1/0' in traceback.format_exc() + assert '1...
Minor change in tests/issues.py
py
diff --git a/federation/entities/matrix/entities.py b/federation/entities/matrix/entities.py index <HASH>..<HASH> 100644 --- a/federation/entities/matrix/entities.py +++ b/federation/entities/matrix/entities.py @@ -181,10 +181,9 @@ class MatrixRoomMessage(Post, MatrixEntityMixin): if payloads: ...
Fix get_tag_room_alias Needs to include also the server name.
py
diff --git a/charmhelpers/core/host.py b/charmhelpers/core/host.py index <HASH>..<HASH> 100644 --- a/charmhelpers/core/host.py +++ b/charmhelpers/core/host.py @@ -472,6 +472,8 @@ def restart_on_change_helper(lambda_f, restart_map, stopstart=False, {svc: func, ...} @returns result of ...
Fix double call to restart function and other fixes from tinwoods review
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( license='GPLv3', packages=find_packages(exclude=['doc', 'test']), include_package_data=True, - install_requires=['numpy','pyomo','scipy','pandas>=0.19.0','networkx>=1.10'], + install_...
setup: Add dependency on PYOMO version <I>
py
diff --git a/src/you_get/extractor/magisto.py b/src/you_get/extractor/magisto.py index <HASH>..<HASH> 100644 --- a/src/you_get/extractor/magisto.py +++ b/src/you_get/extractor/magisto.py @@ -9,7 +9,8 @@ def magisto_download(url, output_dir='.', merge=True, info_only=False): title1 = r1(r'<meta name="twitter:titl...
Magisto: include video hash in filename
py
diff --git a/lib/drizzlepac/adrizzle.py b/lib/drizzlepac/adrizzle.py index <HASH>..<HASH> 100644 --- a/lib/drizzlepac/adrizzle.py +++ b/lib/drizzlepac/adrizzle.py @@ -187,8 +187,12 @@ def run(configObj, wcsmap=None): outcon = np.zeros((1,output_wcs._naxis2,output_wcs._naxis1),dtype=np.int32) else:...
Add the other half of the fix for context image bug - the code that expands the context array in the run method git-svn-id: <URL>
py
diff --git a/aikif/toolbox/xml_tools.py b/aikif/toolbox/xml_tools.py index <HASH>..<HASH> 100644 --- a/aikif/toolbox/xml_tools.py +++ b/aikif/toolbox/xml_tools.py @@ -194,8 +194,8 @@ class XmlFile(mod_file.TextFile): txt += '| XmlFile = ' + str(self.element_count) + ' elements\n' return txt - de...
fix for hard coded value in count_elements for xml
py
diff --git a/pronto/serializers/obo.py b/pronto/serializers/obo.py index <HASH>..<HASH> 100644 --- a/pronto/serializers/obo.py +++ b/pronto/serializers/obo.py @@ -22,14 +22,16 @@ class OboSerializer(FastoboSerializer, BaseSerializer): file.write(b"\n") # dump terms if self...
Fix OBO serializer assuming `Ontology._terms` is properly ordered
py
diff --git a/SoftLayer/CLI/environment.py b/SoftLayer/CLI/environment.py index <HASH>..<HASH> 100644 --- a/SoftLayer/CLI/environment.py +++ b/SoftLayer/CLI/environment.py @@ -41,6 +41,7 @@ class Environment(object): 'my': 'metadata', 'vm': 'cci', 'hardware': 'server', + 'hw': 'server',...
Adds `sl hw` as an alias to `sl server` for hardware servers
py
diff --git a/taskw/warrior.py b/taskw/warrior.py index <HASH>..<HASH> 100644 --- a/taskw/warrior.py +++ b/taskw/warrior.py @@ -119,7 +119,7 @@ class TaskWarrior(object): return task def get_task(self, **kw): - valid_keys = {'id', 'uuid', 'description'} + valid_keys = set(['id', 'uuid', 'de...
Remove set literal for python <I> compatibility.
py
diff --git a/isort/isort.py b/isort/isort.py index <HASH>..<HASH> 100644 --- a/isort/isort.py +++ b/isort/isort.py @@ -56,8 +56,12 @@ class SortImports(object): self.config = settings.from_path(settings_path).copy() for key, value in itemsview(setting_overrides): - if type(self.config.get...
Add support for excluding settings to direct isort python command
py
diff --git a/examples/plotting/file/les_mis.py b/examples/plotting/file/les_mis.py index <HASH>..<HASH> 100644 --- a/examples/plotting/file/les_mis.py +++ b/examples/plotting/file/les_mis.py @@ -54,7 +54,8 @@ p.axis.major_label_standoff = 0 p.xaxis.major_label_orientation = np.pi/3 p.rect('xname', 'yname', 0.9, 0.9...
added black outline and hover color (#<I>)
py
diff --git a/airflow/contrib/auth/backends/ldap_auth.py b/airflow/contrib/auth/backends/ldap_auth.py index <HASH>..<HASH> 100644 --- a/airflow/contrib/auth/backends/ldap_auth.py +++ b/airflow/contrib/auth/backends/ldap_auth.py @@ -63,7 +63,7 @@ class LdapUser(models.User): # todo: BASE or ONELEVEL? - ...
Remove search scope from LDAP query to make it work with ActiveDirectory.
py
diff --git a/spinoff/util/testing/control.py b/spinoff/util/testing/control.py index <HASH>..<HASH> 100644 --- a/spinoff/util/testing/control.py +++ b/spinoff/util/testing/control.py @@ -274,10 +274,10 @@ class Buffer(object): self.d = Deferred() ret.append((yield self.d)) if ...
Renamed util.testing.control.Buffer.expect_not => expect_none
py
diff --git a/gandi/cli/commands/mail.py b/gandi/cli/commands/mail.py index <HASH>..<HASH> 100644 --- a/gandi/cli/commands/mail.py +++ b/gandi/cli/commands/mail.py @@ -67,7 +67,7 @@ def create(gandi, email, quota, fallback, alias): ' without prompting. (default=False).') @click.argument('email', typ...
fix regression on mail delete commit a<I>bb<I>c<I>dfbe introduced issue #<I>
py
diff --git a/config-entrypoint.py b/config-entrypoint.py index <HASH>..<HASH> 100755 --- a/config-entrypoint.py +++ b/config-entrypoint.py @@ -11,7 +11,7 @@ import os import sys import boto3 -from botocore.exceptions import ClientError +from botocore.exceptions import ClientError, NoCredentialsError def main(arg...
Allow using S3 config outside of EC2
py
diff --git a/denovonear/load_gene.py b/denovonear/load_gene.py index <HASH>..<HASH> 100755 --- a/denovonear/load_gene.py +++ b/denovonear/load_gene.py @@ -234,7 +234,7 @@ def minimise_transcripts(ensembl, gene_id, de_novos): max_transcripts = {x: counts[x] for x in counts if x in tx_ids} # find which de...
fix bug with accessing key in python3 dict
py
diff --git a/sebastian/core/transforms.py b/sebastian/core/transforms.py index <HASH>..<HASH> 100644 --- a/sebastian/core/transforms.py +++ b/sebastian/core/transforms.py @@ -108,6 +108,19 @@ def midi_pitch(point): @transform_sequence +def midi_to_pitch(point): # @@@ add key hint later + midi_pitch = point[MID...
transform for going from midi to internal pitch
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -48,11 +48,11 @@ except(IOError, ImportError): setup( name='esgfpid', - version='0.7.8-dev', + version='0.7.8', author='Merret Buurman, German Climate Computing Centre (DKRZ)', author_email='buurman@dkr...
Finished version <I> (only for a stupid fix in pypi branch of <I>).
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ def read(fname): setup( name='django-session-security', - version='0.1', + version='1.0rc1', description='Let the user secure his session for usage in public computers', author='James Pic...
Set version to <I>rc1
py
diff --git a/fluent_contents/models/fields.py b/fluent_contents/models/fields.py index <HASH>..<HASH> 100644 --- a/fluent_contents/models/fields.py +++ b/fluent_contents/models/fields.py @@ -189,7 +189,12 @@ class PlaceholderField(PlaceholderRelation): """ Internal Django method, used to return the pl...
Fix opening the admin if the placeholder table is truncated The placeholder does not have to exist, as it will be automatially recreated by the form.
py
diff --git a/a10_neutron_lbaas/schedulers/tenant_hash.py b/a10_neutron_lbaas/schedulers/tenant_hash.py index <HASH>..<HASH> 100644 --- a/a10_neutron_lbaas/schedulers/tenant_hash.py +++ b/a10_neutron_lbaas/schedulers/tenant_hash.py @@ -6,11 +6,17 @@ class TenantHashFilter(base.BaseSchedulerFilter): def __init__(s...
fix hash ring for scheduling filters
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ version = '13.1.0' install_requires = ( - 'djangorestframework>=3.2.0,<3.3', + 'djangorestframework>=3.1.0,<3.3', 'incuna_mail>=2.0.0,<4.0.0', 'incuna-pigeon>=0.1.0,<1.0.0', )
Expand setup.py requirement range.
py
diff --git a/pipenv/core.py b/pipenv/core.py index <HASH>..<HASH> 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -1338,7 +1338,6 @@ def get_pip_args( allow_global=False, # type: bool ): # type: (...) -> List[str] - from .environment import Environment from .vendor.packaging.version import parse...
Detect global setting at environment creation time
py
diff --git a/yt_array.py b/yt_array.py index <HASH>..<HASH> 100644 --- a/yt_array.py +++ b/yt_array.py @@ -197,10 +197,10 @@ class YTArray(np.ndarray): less_equal: comparison_unit, not_equal: comparison_unit, equal: comparison_unit, - logical_and: ensure_same_units, - logical_or...
Fixing an issue with the wrong functions being used in the ufunc registry. I don't think this triggered any buggy behavior in practice, but these ufuncs should work properly now with this change. --HG-- branch : yt-<I>
py
diff --git a/netpyne/analysis/spikes.py b/netpyne/analysis/spikes.py index <HASH>..<HASH> 100644 --- a/netpyne/analysis/spikes.py +++ b/netpyne/analysis/spikes.py @@ -453,7 +453,7 @@ def plotRaster(include=['allCells'], timeRange=None, maxSpikes=1e8, orderBy='gid if len(cellGids) > 0: gidColors = {cell['g...
remove weird character from spikes.py
py
diff --git a/safe/impact_functions/earthquake/earthquake_building_impact.py b/safe/impact_functions/earthquake/earthquake_building_impact.py index <HASH>..<HASH> 100644 --- a/safe/impact_functions/earthquake/earthquake_building_impact.py +++ b/safe/impact_functions/earthquake/earthquake_building_impact.py @@ -7,6 +7,7 ...
Allow point layer as part the valid list of exposure layers #<I>
py
diff --git a/geopy/geocoders/osm.py b/geopy/geocoders/osm.py index <HASH>..<HASH> 100644 --- a/geopy/geocoders/osm.py +++ b/geopy/geocoders/osm.py @@ -79,7 +79,6 @@ class Nominatim(Geocoder): self.country_bias = country_bias self.format_string = format_string self.view_box = view_box - ...
Remove duplicate assignment Line duplicated twice (see three lines above) `self.country_bias = country_bias`
py
diff --git a/soco/core.py b/soco/core.py index <HASH>..<HASH> 100755 --- a/soco/core.py +++ b/soco/core.py @@ -250,7 +250,8 @@ class SoCo(_SocoSingletonBase): self._zgs_cache = None def __str__(self): - return "<SoCo object at ip {0}>".format(self.ip_address) + return "<{0} object at ip {1...
Update __str__ to cater for subclasses
py
diff --git a/asn1crypto/keys.py b/asn1crypto/keys.py index <HASH>..<HASH> 100644 --- a/asn1crypto/keys.py +++ b/asn1crypto/keys.py @@ -439,7 +439,8 @@ class NamedCurve(ObjectIdentifier): """ cls._map[oid] = name - cls._reverse_map[name] = oid + if cls._reverse_map is not None: + ...
Ensure keys.NamedCurve.register() works if setup() has been run or not
py
diff --git a/beeswarm/feeder/tests/test_telnet.py b/beeswarm/feeder/tests/test_telnet.py index <HASH>..<HASH> 100644 --- a/beeswarm/feeder/tests/test_telnet.py +++ b/beeswarm/feeder/tests/test_telnet.py @@ -67,15 +67,8 @@ class Telnet_Test(unittest.TestCase): BeeSession.feeder_id = 'f51171df-c8f6-4af4-86c0-f...
updated telnet test, removed non-determinism
py
diff --git a/synchro/synchrotest.py b/synchro/synchrotest.py index <HASH>..<HASH> 100644 --- a/synchro/synchrotest.py +++ b/synchro/synchrotest.py @@ -82,9 +82,6 @@ excluded_tests = [ 'TestGridfs.test_threaded_reads', 'TestGridfs.test_threaded_writes', - # Relies on threads; tested directly. - 'TestCo...
MOTOR-<I> Update parallelScan test skip reason
py
diff --git a/python_modules/dagster/dagster/core/definitions/partitioned_schedule.py b/python_modules/dagster/dagster/core/definitions/partitioned_schedule.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster/dagster/core/definitions/partitioned_schedule.py +++ b/python_modules/dagster/dagster/core/definitions/p...
improve error for build_schedule_from_partitioned_job with non-partitioned asset job (#<I>)
py
diff --git a/algo.py b/algo.py index <HASH>..<HASH> 100644 --- a/algo.py +++ b/algo.py @@ -137,17 +137,17 @@ class AlgoRandom(Algo): super().__init__(trainingData) self.infos['name'] = 'random' - # estimation of the distribution - fqs = [0, 0, 0, 0, 0] - for x in self.allXs: - ...
changed algo random to now use a normal distribution
py
diff --git a/wordfreq/query.py b/wordfreq/query.py index <HASH>..<HASH> 100644 --- a/wordfreq/query.py +++ b/wordfreq/query.py @@ -36,6 +36,32 @@ def word_frequency(word, lang, wordlist='multi', default=0.): else: return row[0] + +def iter_wordlist(wordlist, lang=None): + """ + Returns a generator...
add query.iter_wordlist, to visit all words in a list
py
diff --git a/drivers/python/rethinkdb/net_twisted.py b/drivers/python/rethinkdb/net_twisted.py index <HASH>..<HASH> 100644 --- a/drivers/python/rethinkdb/net_twisted.py +++ b/drivers/python/rethinkdb/net_twisted.py @@ -241,7 +241,7 @@ class TwistedCursor(Cursor): return isinstance(self.error, RqlCursorEmpty) a...
Fix _get_next behavior to match the good one. Now, it raises the error only when it has read all rows he has.
py
diff --git a/setupext_janitor/janitor.py b/setupext_janitor/janitor.py index <HASH>..<HASH> 100644 --- a/setupext_janitor/janitor.py +++ b/setupext_janitor/janitor.py @@ -70,14 +70,17 @@ class CleanCommand(_CleanCommand): if self.dist: for cmd_name, _ in self.distribution.get_command_list(): ...
WIP: don't exit on error, but we don't deal with it either!
py
diff --git a/openquake/calculators/risk/hazard_getters.py b/openquake/calculators/risk/hazard_getters.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/risk/hazard_getters.py +++ b/openquake/calculators/risk/hazard_getters.py @@ -208,9 +208,11 @@ class GroundMotionValuesGetter(object): cursor.execute(...
Added a numerical tolerance to min_dist
py
diff --git a/vertex/_unfortunate_defer_hack.py b/vertex/_unfortunate_defer_hack.py index <HASH>..<HASH> 100644 --- a/vertex/_unfortunate_defer_hack.py +++ b/vertex/_unfortunate_defer_hack.py @@ -1,6 +1,12 @@ -from twisted.internet.defer import Deferred, FirstError +from twisted.internet.defer import Deferred +try: ...
compatibility with <I>, trunk
py
diff --git a/reana_db/version.py b/reana_db/version.py index <HASH>..<HASH> 100755 --- a/reana_db/version.py +++ b/reana_db/version.py @@ -14,4 +14,4 @@ and parsed by ``setup.py``. from __future__ import absolute_import, print_function -__version__ = "0.6.0.dev20191212" +__version__ = "0.6.0.dev20191213"
release: <I>.de<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ setup( 'click>=3.0', 'Flask>=0.10', 'Flask-BabelPkg>=0.9.4', - 'Flask-Login>=0.2.0', + 'Flask-Login==0.2.11', 'Flask-OpenID>=1.1.0', 'Flask-SQLAlchemy>=...
Pinning Flask-Login o <I> since <I> breaks the common interface
py
diff --git a/anyconfig/schema.py b/anyconfig/schema.py index <HASH>..<HASH> 100644 --- a/anyconfig/schema.py +++ b/anyconfig/schema.py @@ -47,7 +47,9 @@ def validate(obj, schema, format_checker=None, safe=True): format_checker = jsonschema.FormatChecker() # :raises: NameError try: js...
fix a possible bug in anyconfig.schema.validate that it may return success even if validation failed for some cases
py
diff --git a/landsat/landsat.py b/landsat/landsat.py index <HASH>..<HASH> 100755 --- a/landsat/landsat.py +++ b/landsat/landsat.py @@ -30,8 +30,7 @@ search, download, and process Landsat imagery. Commands: Search: - landsat.py search [-h] [-l LIMIT] [-s START] [-e END] [-c CLOUD] - ...
removed --only-search. The option is no longer available.
py
diff --git a/salt/modules/aptpkg.py b/salt/modules/aptpkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/aptpkg.py +++ b/salt/modules/aptpkg.py @@ -1392,7 +1392,7 @@ def list_pkgs(versions_as_list=False, version_num) # Check for virtual packages. We need dctrl...
move decision statement to upper if block
py
diff --git a/tests/test_modeling_tf_albert.py b/tests/test_modeling_tf_albert.py index <HASH>..<HASH> 100644 --- a/tests/test_modeling_tf_albert.py +++ b/tests/test_modeling_tf_albert.py @@ -303,3 +303,26 @@ class TFAlbertModelTest(TFModelTesterMixin, unittest.TestCase): for model_name in TF_ALBERT_PRETRAINED_...
Added integration tests for TensorFlow implementation of the ALBERT model (#<I>) * TF Albert integration test * TF Alber integration test added
py
diff --git a/mapper/object_mapper.py b/mapper/object_mapper.py index <HASH>..<HASH> 100644 --- a/mapper/object_mapper.py +++ b/mapper/object_mapper.py @@ -128,8 +128,8 @@ class ObjectMapper(object): from_obj.__dict__ inst = to_type() - key_from = from_obj.__class__.__name__ - k...
fix alredy exists mapping erro when both types has the same name (different modules/packages) on map() method
py
diff --git a/openquake/commonlib/valid.py b/openquake/commonlib/valid.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/valid.py +++ b/openquake/commonlib/valid.py @@ -548,11 +548,15 @@ def intensity_measure_types_and_levels(value): :param value: input string :returns: Intensity Measure Type and Levels...
Improved the validation of the IMTs
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 @@ -221,8 +221,11 @@ These commands were executed: reply = user_exp[expression] ...
Added a verification for the existence of the 'text/plain' key
py
diff --git a/tests/test_serializers.py b/tests/test_serializers.py index <HASH>..<HASH> 100644 --- a/tests/test_serializers.py +++ b/tests/test_serializers.py @@ -91,4 +91,11 @@ class TestTokenObtainSerializer(TestCase): with override_api_settings(SECRET_KEY='not_secret'): token = s.get_token(payl...
Hopefully fix this once and for all now :P
py
diff --git a/api/events/monitors/resources.py b/api/events/monitors/resources.py index <HASH>..<HASH> 100644 --- a/api/events/monitors/resources.py +++ b/api/events/monitors/resources.py @@ -75,7 +75,13 @@ def get_container_resources(container, gpu_resources): ...
Remove container id if not found for resources monitoring
py
diff --git a/tests/profiling/zipkin_span_benchmark_test.py b/tests/profiling/zipkin_span_benchmark_test.py index <HASH>..<HASH> 100644 --- a/tests/profiling/zipkin_span_benchmark_test.py +++ b/tests/profiling/zipkin_span_benchmark_test.py @@ -82,7 +82,7 @@ def test_zipkin_span_thread_local( TCPTransportHandler(), ...
Increase the number of spans to test.
py
diff --git a/djnetaxept/managers.py b/djnetaxept/managers.py index <HASH>..<HASH> 100644 --- a/djnetaxept/managers.py +++ b/djnetaxept/managers.py @@ -150,7 +150,7 @@ class NetaxeptTransactionManager(models.Manager): self.require_auth(payment) - if not self.get_query_set().filter(pay...
allow credit on sale, disallow annul on sale
py
diff --git a/openpnm/io/Statoil.py b/openpnm/io/Statoil.py index <HASH>..<HASH> 100644 --- a/openpnm/io/Statoil.py +++ b/openpnm/io/Statoil.py @@ -84,6 +84,8 @@ class Statoil(GenericIO): # Add link2 props to net net['throat.length'] = sp.array(link2['throat.length']) net['throat.volume'] = sp...
Add extra props from statoil import
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ class PyTest(TestCommand): sys.exit(errno) # requirements -install_requirements = ['guessit>=0.9.1', 'babelfish>=0.5.2', 'enzyme>=0.4.1', 'beautifulsoup4>=4.2.0', +install_requirements = ['guessit>=0...
Restrict to guessit<<I>
py
diff --git a/sos/sos_script.py b/sos/sos_script.py index <HASH>..<HASH> 100755 --- a/sos/sos_script.py +++ b/sos/sos_script.py @@ -1125,14 +1125,15 @@ for __n, __v in {}.items(): self.global_def += '{} = {}\n'.format(statement[1], statement[2]) else: self.globa...
Fix the handling of global variables due to the addition of multiple global sections
py
diff --git a/user_management/api/tests/urls.py b/user_management/api/tests/urls.py index <HASH>..<HASH> 100644 --- a/user_management/api/tests/urls.py +++ b/user_management/api/tests/urls.py @@ -1,5 +1,5 @@ from django.conf.urls import include, url -from django.contrib.auth.views import login +from django.contrib.auth...
Upgrade to django <I>
py
diff --git a/kuyruk/worker.py b/kuyruk/worker.py index <HASH>..<HASH> 100644 --- a/kuyruk/worker.py +++ b/kuyruk/worker.py @@ -341,7 +341,7 @@ class Worker(object): def _heartbeat_tick(self, connection, stop_event): while not stop_event.wait(1): try: - connection.send_heartbeat...
use Connection.heartbeat_tick instead of Connection.send_heartbeat
py
diff --git a/grid_frame.py b/grid_frame.py index <HASH>..<HASH> 100644 --- a/grid_frame.py +++ b/grid_frame.py @@ -301,11 +301,10 @@ class GridFrame(wx.Frame): self.grid.size_grid() self.grid_box.Add(self.grid, flag=wx.ALL, border=5) self.main_sizer.Fit(self) - if 'age' in self.parent....
prevent a warning message if validation_mode has not been set
py
diff --git a/salt/modules/localemod.py b/salt/modules/localemod.py index <HASH>..<HASH> 100644 --- a/salt/modules/localemod.py +++ b/salt/modules/localemod.py @@ -212,7 +212,7 @@ def gen_locale(locale, **kwargs): if not valid and not locale_info['charmap']: # charmap was not supplied, so try copyi...
join_locale is now in salt.utils.locales
py
diff --git a/GPy/models/gp_kronecker_gaussian_regression.py b/GPy/models/gp_kronecker_gaussian_regression.py index <HASH>..<HASH> 100644 --- a/GPy/models/gp_kronecker_gaussian_regression.py +++ b/GPy/models/gp_kronecker_gaussian_regression.py @@ -5,7 +5,6 @@ import numpy as np from ..core import Model from paramz imp...
didnt realize last 2 changes went to PR, undoing
py
diff --git a/tests/downscaling/conftest.py b/tests/downscaling/conftest.py index <HASH>..<HASH> 100644 --- a/tests/downscaling/conftest.py +++ b/tests/downscaling/conftest.py @@ -62,3 +62,27 @@ def qds_month(): coords={"quantile": [0, 0.3, 5.0, 7, 1], "month": range(1, 13)}, attrs={"group": "time.mont...
New simple fixture to get obs, sim, fut from xr tuto
py
diff --git a/nipap-cli/nipap_cli/nipap_cli.py b/nipap-cli/nipap_cli/nipap_cli.py index <HASH>..<HASH> 100755 --- a/nipap-cli/nipap_cli/nipap_cli.py +++ b/nipap-cli/nipap_cli/nipap_cli.py @@ -998,7 +998,8 @@ def modify_prefix(arg, opts): """ spec = { 'prefix': arg } - spec['vrf_rt'] = get_vrf(opts.get('vr...
Fix exception for non-existent VRF Trying to modify a prefix in a non-existent VRF would throw an exception instead of a nicely formatted error message as the vrf variable wasn't set at the correct time. Fixed! Fixes #<I>.
py
diff --git a/mzgtfs/test_feed.py b/mzgtfs/test_feed.py index <HASH>..<HASH> 100644 --- a/mzgtfs/test_feed.py +++ b/mzgtfs/test_feed.py @@ -77,6 +77,15 @@ class TestFeed(unittest.TestCase): f = feed.Feed(util.example_feed()) with self.assertRaises(KeyError): f.read('invalidfile') + + def test_rea...
<I>% test coverage for feed
py
diff --git a/udiskie/notify.py b/udiskie/notify.py index <HASH>..<HASH> 100644 --- a/udiskie/notify.py +++ b/udiskie/notify.py @@ -36,11 +36,6 @@ class Notify(object): self._timeout = timeout or {} self._default = self._timeout.get('timeout', -1) self._log = logging.getLogger(__name__) - ...
Move another bug related comment in the right place
py
diff --git a/tomodachi/cli/__init__.py b/tomodachi/cli/__init__.py index <HASH>..<HASH> 100644 --- a/tomodachi/cli/__init__.py +++ b/tomodachi/cli/__init__.py @@ -260,9 +260,14 @@ class CLI: print("Invalid config file, invalid JSON format: {}".format(str(e))) sys.exit(2) - ...
Added support for TOMODACHI_PRODUCTION env
py
diff --git a/goatools/obo_parser.py b/goatools/obo_parser.py index <HASH>..<HASH> 100755 --- a/goatools/obo_parser.py +++ b/goatools/obo_parser.py @@ -39,9 +39,10 @@ class OBOReader(object): self.obo_file = obo_file # GOTerm attributes that are necessary for any operations: else: - ...
If unable to read obo, print specific filename of attempted file in.
py
diff --git a/salt/modules/dig.py b/salt/modules/dig.py index <HASH>..<HASH> 100644 --- a/salt/modules/dig.py +++ b/salt/modules/dig.py @@ -137,7 +137,7 @@ def CNAME(host, nameserver=None): .. code-block:: bash - salt ns1 dig.CNAME www.google.com + salt ns1 dig.CNAME mail.google.com """ ...
use a working cname example for joe
py
diff --git a/paramiko/hostkeys.py b/paramiko/hostkeys.py index <HASH>..<HASH> 100644 --- a/paramiko/hostkeys.py +++ b/paramiko/hostkeys.py @@ -80,8 +80,14 @@ class HostKeys (UserDict.DictMixin): posix, it will usually be stored in C{os.path.expanduser("~/.ssh/known_hosts")}. + If this...
[project @ <EMAIL><I>-<I>da<I>fb7a<I>be] slightly more docs to hostkeys
py
diff --git a/lib/lago/__init__.py b/lib/lago/__init__.py index <HASH>..<HASH> 100644 --- a/lib/lago/__init__.py +++ b/lib/lago/__init__.py @@ -702,7 +702,7 @@ class Prefix(object): if "disks" not in spec.keys(): spec["disks"] = ova_disk else: - ...
Making the disk order correct for ova case In order for sysprep to handle the right disk the ova disk must be first Change-Id: I0d1dd<I>bb<I>f9fe<I>efee<I>af2bb<I>f
py
diff --git a/MAVProxy/modules/mavproxy_fence.py b/MAVProxy/modules/mavproxy_fence.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_fence.py +++ b/MAVProxy/modules/mavproxy_fence.py @@ -29,7 +29,7 @@ def init(_mpstate): mpstate = _mpstate mpstate.fence = fence_state() mpstate.command_map['fe...
fence: added enable/disable to completions
py
diff --git a/telethon/tl/custom/conversation.py b/telethon/tl/custom/conversation.py index <HASH>..<HASH> 100644 --- a/telethon/tl/custom/conversation.py +++ b/telethon/tl/custom/conversation.py @@ -418,10 +418,14 @@ class Conversation(ChatGetter): return self + def cancel(self): + """Cancels the...
Add Conversation.cancel() (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ if sys.version_info <= (2, 5): REQUIREMENTS = [ 'httplib2', - 'oauth2client == 1.3', + 'oauth2client', 'protobuf >= 2.5.0', 'pycrypto', 'pyopenssl',
Unpin oauth2client after <I> release.
py
diff --git a/version.py b/version.py index <HASH>..<HASH> 100644 --- a/version.py +++ b/version.py @@ -1 +1 @@ -__version__ = (0, 2, 1) +__version__ = (0, 3, 0)
bumping version for delorean
py
diff --git a/esipy/client.py b/esipy/client.py index <HASH>..<HASH> 100644 --- a/esipy/client.py +++ b/esipy/client.py @@ -33,7 +33,6 @@ CachedResponse = namedtuple( class EsiClient(BaseClient): - __schemes__ = set(['https']) __image_server__ = { @@ -274,21 +273,20 @@ class EsiClient(BaseClient)...
(#<I>) Instead of using a magic number just don't attempt to cache the data when there is no expire time. This avoids an error in redis version <I> at least where a timeout value of -1 for setex barfs.
py
diff --git a/yotta/lib/component.py b/yotta/lib/component.py index <HASH>..<HASH> 100644 --- a/yotta/lib/component.py +++ b/yotta/lib/component.py @@ -538,7 +538,7 @@ class Component(pack.Pack): errors.append(e) if not t: logger.error( - 'could not insta...
don't break if the target can't be installed, display a nice message
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -57,8 +57,6 @@ def read_to_rst(fname): except ImportError: return read(fname) -read_to_rst('README.md') - version_dummy = {} exec(read('GPy/__version__.py'), version_dummy) __version__ = version_dummy['__ver...
[description] was not being converted to rst
py
diff --git a/main.py b/main.py index <HASH>..<HASH> 100644 --- a/main.py +++ b/main.py @@ -10,8 +10,12 @@ import sys if (__name__ == "__main__"): RUN_FROM_MAIN = False - HOST = '192.168.200.83' + + HOST = '127.0.0.1' PORT = 7777 + + if (len(sys.argv) > 1): + HOST = sys.argv[1] ADDR = (HOST, PORT) protocol =...
You can now specify an ip by CLI
py
diff --git a/visidata/sheets.py b/visidata/sheets.py index <HASH>..<HASH> 100644 --- a/visidata/sheets.py +++ b/visidata/sheets.py @@ -1148,6 +1148,7 @@ SheetsSheet.addCommand('gz^C', 'cancel-rows', 'for vs in selectedRows: cancelThr SheetsSheet.addCommand(ENTER, 'open-row', 'dest=cursorRow; vd.sheets.remove(sheet) if...
[quit] add Q/quit-sheet-free to quit and free associated memory
py
diff --git a/system_maintenance/tests/functional/tests.py b/system_maintenance/tests/functional/tests.py index <HASH>..<HASH> 100644 --- a/system_maintenance/tests/functional/tests.py +++ b/system_maintenance/tests/functional/tests.py @@ -149,3 +149,18 @@ class FunctionalTest(StaticLiveServerTestCase): self.as...
Test that Bootstrap works by checking that authentication input boxes are centered
py
diff --git a/isochrones/__init__.py b/isochrones/__init__.py index <HASH>..<HASH> 100644 --- a/isochrones/__init__.py +++ b/isochrones/__init__.py @@ -6,7 +6,9 @@ except NameError: __ISOCHRONES_SETUP__ = False if not __ISOCHRONES_SETUP__: - __all__ = ['dartmouth','basti','padova'] + __all__ = ['dartmouth'...
added more to __all__
py
diff --git a/src/collectors/netapp/netapp.py b/src/collectors/netapp/netapp.py index <HASH>..<HASH> 100644 --- a/src/collectors/netapp/netapp.py +++ b/src/collectors/netapp/netapp.py @@ -25,7 +25,7 @@ Example NetAppCollector.conf: user = root password = strongpassword -```` +``` The primary source for do...
Fix minor bug in NetAppCollector doc string.
py
diff --git a/openquake/calculators/event_based.py b/openquake/calculators/event_based.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/event_based.py +++ b/openquake/calculators/event_based.py @@ -167,14 +167,15 @@ def compute_hazard(sources_or_ruptures, src_filter, if param['oqparam'].save_ruptures is F...
Removed generator task compute_hazard
py
diff --git a/sos/report/__init__.py b/sos/report/__init__.py index <HASH>..<HASH> 100644 --- a/sos/report/__init__.py +++ b/sos/report/__init__.py @@ -532,8 +532,7 @@ class SoSReport(SoSComponent): 'verbosity': self.opts.verbosity, 'cmdlineopts': self.opts, 'devices': self.devices...
[report] Remove useless inclusion of tempfile_util in commons An early implementation of #<I> included expanding `TempFileUtil` and passing it as a means to create temp files to write command output directly to. That approach was abandoned in favor of a more robust implementation, but the cleanup of the previous desig...
py
diff --git a/py/test/selenium/webdriver/common/executing_async_javascript_tests.py b/py/test/selenium/webdriver/common/executing_async_javascript_tests.py index <HASH>..<HASH> 100644 --- a/py/test/selenium/webdriver/common/executing_async_javascript_tests.py +++ b/py/test/selenium/webdriver/common/executing_async_javas...
[py] reduce the default script timeout in executing_async_javascript_tests.py (#<I>) When using w3c driver, the default script timeout is <I> seconds, so tests expecting to timeout and not overriding the script timeout take <I> seconds to run. Setting it to 0 makes the tests a lot faster. Then, it's reset to the de...
py
diff --git a/src/python/src/grpc/_adapter/rear.py b/src/python/src/grpc/_adapter/rear.py index <HASH>..<HASH> 100644 --- a/src/python/src/grpc/_adapter/rear.py +++ b/src/python/src/grpc/_adapter/rear.py @@ -170,7 +170,8 @@ class RearLink(ticket_interfaces.RearLink, activated.Activated): if event.status.code is _lo...
Avoid CANCELLATION ticket kind for back-to-front tickets. It's not (yet, see issue <I>) allowed and code at the higher level doesn't know how to deal with it.
py
diff --git a/plydata/dataframe/common.py b/plydata/dataframe/common.py index <HASH>..<HASH> 100644 --- a/plydata/dataframe/common.py +++ b/plydata/dataframe/common.py @@ -221,7 +221,7 @@ class Evaluator: def _all_expressions_evaluated(self): """ - Return True all expressions match with the column...
DOC: Add missing word in docstring title
py
diff --git a/gprof2dot.py b/gprof2dot.py index <HASH>..<HASH> 100755 --- a/gprof2dot.py +++ b/gprof2dot.py @@ -3170,6 +3170,9 @@ def main(): formatNames = list(formats.keys()) formatNames.sort() + themeNames = list(themes.keys()) + themeNames.sort() + optparser = optparse.OptionParser( u...
Don't hardcode theme names in opt parsing code This change makes them work the same way as formatNames.
py
diff --git a/safe/utilities/analysis_handler.py b/safe/utilities/analysis_handler.py index <HASH>..<HASH> 100644 --- a/safe/utilities/analysis_handler.py +++ b/safe/utilities/analysis_handler.py @@ -464,7 +464,7 @@ class AnalysisHandler(QObject): if self.zoom_to_impact_flag: self.iface.zoomToActiv...
fix hide exposure layer after an IF in develop
py
diff --git a/tensorflow_probability/python/experimental/sts_gibbs/spike_and_slab.py b/tensorflow_probability/python/experimental/sts_gibbs/spike_and_slab.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/experimental/sts_gibbs/spike_and_slab.py +++ b/tensorflow_probability/python/experimental/sts_gibbs...
Retain shape information through a reduce_sum. PiperOrigin-RevId: <I>
py
diff --git a/fabfile.py b/fabfile.py index <HASH>..<HASH> 100644 --- a/fabfile.py +++ b/fabfile.py @@ -249,6 +249,7 @@ def collect_remote_statics(): 'osmtogeojson': 'git://github.com/aaronlidman/osm-and-geojson.git@master', 'loading': 'git://github.com/ebrelsford/Leaflet.loading.git@master', ...
Add markercluster plugin in fabfile
py