diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/smartmin/users/views.py b/smartmin/users/views.py index <HASH>..<HASH> 100644 --- a/smartmin/users/views.py +++ b/smartmin/users/views.py @@ -41,24 +41,14 @@ class UserCRUDL(SmartCRUDL): class List(SmartListView): search_fields = ('username__icontains','first_name__icontains', 'last_name__i...
change is active state for users to be inline with tboostrap
py
diff --git a/src/scs_core/aws/greengrass/aws_deployment_reporter.py b/src/scs_core/aws/greengrass/aws_deployment_reporter.py index <HASH>..<HASH> 100644 --- a/src/scs_core/aws/greengrass/aws_deployment_reporter.py +++ b/src/scs_core/aws/greengrass/aws_deployment_reporter.py @@ -71,7 +71,7 @@ class AWSDeploymentReporter...
Added AWSDeploymentReporter class
py
diff --git a/spacy/language_data/tag_map.py b/spacy/language_data/tag_map.py index <HASH>..<HASH> 100644 --- a/spacy/language_data/tag_map.py +++ b/spacy/language_data/tag_map.py @@ -20,5 +20,6 @@ TAG_MAP = { "X": {POS: X}, "CONJ": {POS: CONJ}, "ADJ": {POS: ADJ}, - "VERB": {POS: VE...
Add PART to tag map <I> of the <I> PoS tags in the UD tag set is added; PART is missing.
py
diff --git a/doc/source/conf.py b/doc/source/conf.py index <HASH>..<HASH> 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -19,6 +19,7 @@ import subprocess import sys import os +import warnings on_rtd = os.environ.get('READTHEDOCS', None) == 'True' @@ -148,8 +149,12 @@ html_static_path = ['_static']...
Fix doc build if git is absent When building packages if git is absent, then we should not set html_last_updated_fmt. It can still be set via the -D switch when building with sphinx-build. Change-Id: Ie<I>df7f<I>e<I>b1b<I>b<I>f<I>ce9dd9aaa Closes-Bug: #<I>
py
diff --git a/lib/elements/bfe_report_numbers.py b/lib/elements/bfe_report_numbers.py index <HASH>..<HASH> 100644 --- a/lib/elements/bfe_report_numbers.py +++ b/lib/elements/bfe_report_numbers.py @@ -23,13 +23,18 @@ __revision__ = "" -def format(bfo, separator): +def format(bfo, separator, limit, extension=" etc.")...
Added 'limit' and 'extension' parameters in order to limit number of printed report numbers.
py
diff --git a/auto_ml/utils_models.py b/auto_ml/utils_models.py index <HASH>..<HASH> 100644 --- a/auto_ml/utils_models.py +++ b/auto_ml/utils_models.py @@ -536,5 +536,5 @@ def make_deep_learning_classifier(hidden_layers=None, num_cols=None, optimizer=' model.add(Dense(layer_size, init='normal', activation='relu...
removes metrics that keras removed. they chose to raise errors rather than continue with a warning.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: setup( name='sphinxmark', - version='0.1.2', + version='0.1.0', description='A Sphinx extension that enables watermarks for HTM...
Reset version for pypi upload
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -369,4 +369,4 @@ epub_publisher = 'EMVA' intersphinx_mapping = {'https://docs.python.org/3.4': None} # List up the module to be mocked. -autodoc_mock_imports = ['genicam2', 'numpy'] +autodoc_mock_imports = ...
Remove numpy from the mock import list
py
diff --git a/salt/utils/docker/__init__.py b/salt/utils/docker/__init__.py index <HASH>..<HASH> 100644 --- a/salt/utils/docker/__init__.py +++ b/salt/utils/docker/__init__.py @@ -225,7 +225,7 @@ def translate_input(**kwargs): # format {'Type': log_driver, 'Config': log_opt}. So, we need to # construct...
fix(docker): allow log_driver or log_opt Docker allows either option without the other and the docks make no mention of both options being required.
py
diff --git a/collectionkit/contrib/work_creator/fields.py b/collectionkit/contrib/work_creator/fields.py index <HASH>..<HASH> 100644 --- a/collectionkit/contrib/work_creator/fields.py +++ b/collectionkit/contrib/work_creator/fields.py @@ -1,11 +1,10 @@ from django.db.models import ImageField - class QuietImageField...
Catch any error trying to update width/height fields.
py
diff --git a/arcgis_integration/RichDEM_ArcScript.py b/arcgis_integration/RichDEM_ArcScript.py index <HASH>..<HASH> 100644 --- a/arcgis_integration/RichDEM_ArcScript.py +++ b/arcgis_integration/RichDEM_ArcScript.py @@ -1,15 +1,11 @@ -# Script Name: Remove Pits +# Script Name: RichDEM_ArcScript # -# Created By: Da...
Removed header comments carried over from TauDEM files I used as an example Eliminated unnecessary imports git-svn-id: file:///home/rick/.svn/richdem@<I> c4c8cafc-<I>d-<I>f-9f<I>-3f4f8cd<I>a<I>
py
diff --git a/easy_thumbnails/files.py b/easy_thumbnails/files.py index <HASH>..<HASH> 100644 --- a/easy_thumbnails/files.py +++ b/easy_thumbnails/files.py @@ -444,8 +444,8 @@ class Thumbnailer(File): except Exception: pass self.thumbnail_storage.save(filename, thumbnail) - signals....
Cache the thumbnail info before calling the signal
py
diff --git a/salt/modules/rbenv.py b/salt/modules/rbenv.py index <HASH>..<HASH> 100644 --- a/salt/modules/rbenv.py +++ b/salt/modules/rbenv.py @@ -245,7 +245,7 @@ def install_ruby(ruby, runas=None): ret = {} ret = _rbenv_exec(['install', ruby], env=env, runas=runas, ret=ret) - if ret['retcode'] == 0: + ...
Fix TypeError during rbenv ruby installation when rbenv is not found
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 @@ -1415,7 +1415,8 @@ def mod_repo(repo, saltenv='base', **kwargs): setattr(mod_source, key, kwargs[key]) sources.save() # on changes, explicitly refr...
Add missing conditional for refresh_db in aptpkg.mod_repo
py
diff --git a/conftest.py b/conftest.py index <HASH>..<HASH> 100644 --- a/conftest.py +++ b/conftest.py @@ -6,6 +6,8 @@ import sys collect_ignore = [] if sys.version_info[0] > 2: collect_ignore.append("tests/contrib/flask") + if sys.version_info[1] == 3: + collect_ignore.append("tests/handlers/logbook")...
logbook doesn't work for python <I> yet, ignore their test
py
diff --git a/test/testbasics.py b/test/testbasics.py index <HASH>..<HASH> 100644 --- a/test/testbasics.py +++ b/test/testbasics.py @@ -312,11 +312,11 @@ class TestBasics(unittest.TestCase): p = pipe2py.compile.parse_and_build_pipe(self.context, pipe_def) #todo: check the data! e.g. pubdate e...
Improve unique test to handle changing source data
py
diff --git a/lib/python/dxpy/bindings/__init__.py b/lib/python/dxpy/bindings/__init__.py index <HASH>..<HASH> 100644 --- a/lib/python/dxpy/bindings/__init__.py +++ b/lib/python/dxpy/bindings/__init__.py @@ -477,4 +477,4 @@ from dxrecord import * from dxproject import * from dxjob import * from dxprogram import * -#f...
convenience import - I think this is required for tests to pass, too?
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -45,6 +45,7 @@ install_requires = [ "django-object-actions>=1.1", "idna>=2.9", "packaging", + "typing-extensions; python_version < '3.8'", ] package_path = os.path.join(os.path.dirname(os.path.abspath(__f...
add typing-extensions for older python versions
py
diff --git a/querybuilder/query.py b/querybuilder/query.py index <HASH>..<HASH> 100644 --- a/querybuilder/query.py +++ b/querybuilder/query.py @@ -211,6 +211,15 @@ class Query(object): return table_dict + def select_fields(self, fields=None): + """ + @return: self + """ + if ...
* Added method for changing select fields
py
diff --git a/djangular/forms/angular_model.py b/djangular/forms/angular_model.py index <HASH>..<HASH> 100644 --- a/djangular/forms/angular_model.py +++ b/djangular/forms/angular_model.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +from base64 import b64encode from django.forms.util import ErrorDict from djangular.forms...
Generate a unique string as unset form named, which does not conflict with self.scope_prefix
py
diff --git a/spinoff/actor/process.py b/spinoff/actor/process.py index <HASH>..<HASH> 100644 --- a/spinoff/actor/process.py +++ b/spinoff/actor/process.py @@ -90,6 +90,7 @@ class Process(Actor): if self.__pre_start_complete_d: # dbg("PROCESS: first get") self.__pre_start_c...
Fixed a bug in Process when immediately after the first .get(), there is an exception
py
diff --git a/pysra/output.py b/pysra/output.py index <HASH>..<HASH> 100644 --- a/pysra/output.py +++ b/pysra/output.py @@ -237,8 +237,8 @@ class Output(object): def calc_stats(self, as_dataframe=False): ln_values = np.log(self.values) - median = np.exp(np.mean(ln_values, axis=1)) - ln_std ...
Fix:calculate stats with np.nanmean...
py
diff --git a/tests/test_bukuDb.py b/tests/test_bukuDb.py index <HASH>..<HASH> 100644 --- a/tests/test_bukuDb.py +++ b/tests/test_bukuDb.py @@ -64,7 +64,7 @@ def setup(): os.remove(TEST_TEMP_DBFILE_PATH) -class PrettySafeLoader(yaml.SafeLoader): +class PrettySafeLoader(yaml.SafeLoader): # pylint: disable=...
fix: test: ignore too many ancestor error
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup setup( name='scikit-gof', - version='0.0.1', + version='0.0.2', packages=('skgof',), install_requires=('numpy>=1.10', 'scipy'), tests_require=('pytest', 'p...
Released <I>, with just some minor test tweaks and comment changes.
py
diff --git a/nonebot/message.py b/nonebot/message.py index <HASH>..<HASH> 100644 --- a/nonebot/message.py +++ b/nonebot/message.py @@ -80,16 +80,18 @@ async def handle_message(bot: NoneBot, event: CQEvent) -> None: def _check_at_me(bot: NoneBot, event: CQEvent) -> None: + def is_at_me(seg): + return seg....
fix check_at_me on node-onebot
py
diff --git a/sslyze/server_connectivity.py b/sslyze/server_connectivity.py index <HASH>..<HASH> 100644 --- a/sslyze/server_connectivity.py +++ b/sslyze/server_connectivity.py @@ -115,14 +115,9 @@ class ServerConnectivityInfo(object): self.ip_address = ip_address if not self.ip_address: tr...
Revert pull request #<I> This reverts commit <I>ffd7c<I>e3db<I>fc3d<I>fb4a<I>f6, reversing changes made to <I>ec8d9f<I>c4b1a<I>e<I>c<I>c<I>bb5fb. # Conflicts: # sslyze/server_connectivity.py
py
diff --git a/fluent_contents/plugins/oembeditem/content_plugins.py b/fluent_contents/plugins/oembeditem/content_plugins.py index <HASH>..<HASH> 100644 --- a/fluent_contents/plugins/oembeditem/content_plugins.py +++ b/fluent_contents/plugins/oembeditem/content_plugins.py @@ -5,6 +5,9 @@ from django.utils.translation imp...
Make sure the OEmbed type can never be used to control filenames. Minor risk, as it's still a template path, but better be safe then sorry.
py
diff --git a/anyconfig/backend/tests/xml.py b/anyconfig/backend/tests/xml.py index <HASH>..<HASH> 100644 --- a/anyconfig/backend/tests/xml.py +++ b/anyconfig/backend/tests/xml.py @@ -128,6 +128,14 @@ class Test_00(unittest.TestCase): self.assertTrue(dicts_equal(dic, {"a": {"x": "X", "y": "Y"}})) self....
fix: add missing test case for merge_attrs support in .backend.xml._process_children_elems
py
diff --git a/tethne/model/corpus/mallet.py b/tethne/model/corpus/mallet.py index <HASH>..<HASH> 100644 --- a/tethne/model/corpus/mallet.py +++ b/tethne/model/corpus/mallet.py @@ -124,7 +124,7 @@ class LDAModel(Model): def __init__(self, *args, **kwargs): - self.mallet_bin = os.path.join(mallet_path, "bi...
troubleshooting tempfile issues on Windows
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ except (IOError, ImportError): long_description = f.read() -version = '0.1.2' +version = '0.1.3' setup(name="perceval-mozilla",
Increase version package to <I>
py
diff --git a/HARK/ConsumptionSaving/ConsRiskyAssetModel.py b/HARK/ConsumptionSaving/ConsRiskyAssetModel.py index <HASH>..<HASH> 100644 --- a/HARK/ConsumptionSaving/ConsRiskyAssetModel.py +++ b/HARK/ConsumptionSaving/ConsRiskyAssetModel.py @@ -899,8 +899,10 @@ class RiskyContribConsumerType(RiskyAssetConsumerType): ...
Set nNrmTildeNow = 0 at birth
py
diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index <HASH>..<HASH> 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -377,13 +377,12 @@ class TargetAndroid(Target): # add presplash presplash = config.getdefault('app', 'presplash.filename', '') ...
presplash.filename and icon.filename only worked if source.dir was . For any other value of source.dir presplash and icon were broken.
py
diff --git a/djstripe/templatetags/djstripe_tags.py b/djstripe/templatetags/djstripe_tags.py index <HASH>..<HASH> 100644 --- a/djstripe/templatetags/djstripe_tags.py +++ b/djstripe/templatetags/djstripe_tags.py @@ -2,7 +2,7 @@ from __future__ import division from django.template import Library - +from django.conf i...
[issue <I>] support membership levels
py
diff --git a/ELiDE/app.py b/ELiDE/app.py index <HASH>..<HASH> 100644 --- a/ELiDE/app.py +++ b/ELiDE/app.py @@ -368,8 +368,8 @@ class ELiDELayout(FloatLayout): self.ids.board._trigger_update() def set_tick(self, t): - """``self.tick = t``""" - self.tick = t + """``self.tick = int(t)`...
let the user set the tick by typing it
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -52,7 +52,7 @@ copyright = u'2013, Brian Hicks' # The short X.Y version. version = '0.2.0' # The full version, including alpha/beta/rc tags. -release = '0.2.0dev' +release = '0.2.0' # The language for con...
remove pre from release in docs
py
diff --git a/vault12factor/__init__.py b/vault12factor/__init__.py index <HASH>..<HASH> 100644 --- a/vault12factor/__init__.py +++ b/vault12factor/__init__.py @@ -274,6 +274,7 @@ def monkeypatch_django() -> None: self.connection = None else: if test: + self._12fv_retrie...
reset the retry counter when we successfully reconnect with Vault credentials
py
diff --git a/lattice_mc/simulation.py b/lattice_mc/simulation.py index <HASH>..<HASH> 100644 --- a/lattice_mc/simulation.py +++ b/lattice_mc/simulation.py @@ -41,9 +41,12 @@ class Simulation: self.lattice.set_site_energies( site_energies ) def run( self, for_time = None ): - assert( self.latt...
More explicit errors when calling Simulation.run() on a simulation object that has not been set up yet
py
diff --git a/khard/khard.py b/khard/khard.py index <HASH>..<HASH> 100644 --- a/khard/khard.py +++ b/khard/khard.py @@ -1451,9 +1451,18 @@ def parse_args(argv): remainder.insert(0, config.default_action) logging.debug("updated remainder={}".format(remainder)) + # Save the last option that needs to...
Correctly set skip_unparsable from the command line The value was overwritten by the second parser run.
py
diff --git a/pyxray/parser/jeol.py b/pyxray/parser/jeol.py index <HASH>..<HASH> 100644 --- a/pyxray/parser/jeol.py +++ b/pyxray/parser/jeol.py @@ -17,6 +17,7 @@ from pyxray.descriptor import \ from pyxray.property import \ (XrayTransitionEnergy, XrayTransitionSetEnergy, XrayTransitionRelativeWeight, XrayT...
Fix JEOL parser for x-ray transition set.
py
diff --git a/testing/logging/test_formatter.py b/testing/logging/test_formatter.py index <HASH>..<HASH> 100644 --- a/testing/logging/test_formatter.py +++ b/testing/logging/test_formatter.py @@ -18,10 +18,6 @@ def test_coloredlogformatter() -> None: exc_info=None, ) - class ColorConfig: - clas...
cleanup tests by removal of unused code elements
py
diff --git a/spyder/plugins/editor/lsp/providers/document.py b/spyder/plugins/editor/lsp/providers/document.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/editor/lsp/providers/document.py +++ b/spyder/plugins/editor/lsp/providers/document.py @@ -207,7 +207,7 @@ class DocumentProvider: @send_request(method=LSP...
LSP: Fix error when closing file
py
diff --git a/glad/lang/common/generator.py b/glad/lang/common/generator.py index <HASH>..<HASH> 100644 --- a/glad/lang/common/generator.py +++ b/glad/lang/common/generator.py @@ -99,8 +99,11 @@ class Generator(object): ) if self.extension_names is None: - self. extension_names = li...
generator: Sort and remove duplicate extensions, format extensions in header, based on #<I> - thanks @rajder.
py
diff --git a/tests/tests.py b/tests/tests.py index <HASH>..<HASH> 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -60,6 +60,23 @@ class AuthTestCase(TestCase): self.client.post(url, {}, format='json') self.assertEqual(AuthToken.objects.count(), 0) + def test_logout_all_deletes_only_targets_ke...
Add another test to ensure logging out doesn't affect other users.
py
diff --git a/airflow/cli/cli_parser.py b/airflow/cli/cli_parser.py index <HASH>..<HASH> 100644 --- a/airflow/cli/cli_parser.py +++ b/airflow/cli/cli_parser.py @@ -991,7 +991,7 @@ DB_COMMANDS = ( ActionCommand( name="check-migrations", help="Check if migration have finished (or continually check u...
Fixes check_migrations commands (#<I>) Fixes bug where old "wait_for_migrations" function name is left in the lazy loader of the cli_parser
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.0.rc1" +__version__ = "1.0.0.rc2" from .api import Api, Base, Table # noqa
Publish version <I>.rc2
py
diff --git a/wechatpy/utils.py b/wechatpy/utils.py index <HASH>..<HASH> 100644 --- a/wechatpy/utils.py +++ b/wechatpy/utils.py @@ -103,7 +103,7 @@ def to_binary(value, encoding='utf-8'): def timezone(zone): - """Try get timezone using pytz or python-dateutil + """Try to get timezone using pytz or python-date...
Fix grammer in comment. [ci skip]
py
diff --git a/ui/timescales.py b/ui/timescales.py index <HASH>..<HASH> 100644 --- a/ui/timescales.py +++ b/ui/timescales.py @@ -176,7 +176,7 @@ class ImpliedTimescales(object): else: all_ts = False maxnits = min(maxnits, len(ts)) - ...
[timescales]: corrected indexing error
py
diff --git a/mutagen/__init__.py b/mutagen/__init__.py index <HASH>..<HASH> 100644 --- a/mutagen/__init__.py +++ b/mutagen/__init__.py @@ -140,8 +140,9 @@ def File(filename, options=None): from mutagen.oggvorbis import OggVorbis from mutagen.trueaudio import TrueAudio from mutagen.wavpack imp...
mutagen.File: Add M4A scoring.
py
diff --git a/mapbox_vector_tile/polygon.py b/mapbox_vector_tile/polygon.py index <HASH>..<HASH> 100644 --- a/mapbox_vector_tile/polygon.py +++ b/mapbox_vector_tile/polygon.py @@ -128,6 +128,10 @@ def _polytree_node_to_shapely(node): children = [] else: + # check expectations: this branch gets exe...
Comment to make the reason for the else branch and assertion clearer.
py
diff --git a/documenteer/stackdocs/doxygen.py b/documenteer/stackdocs/doxygen.py index <HASH>..<HASH> 100644 --- a/documenteer/stackdocs/doxygen.py +++ b/documenteer/stackdocs/doxygen.py @@ -91,7 +91,7 @@ class DoxygenConfiguration: 'doxygen_tag': 'RECURSIVE' } ) - """Whether or not direct...
Inputs is not available for cross referencing?
py
diff --git a/openquake/engine2.py b/openquake/engine2.py index <HASH>..<HASH> 100644 --- a/openquake/engine2.py +++ b/openquake/engine2.py @@ -20,6 +20,7 @@ import ConfigParser import getpass import md5 import os +import sys from django.core import exceptions from django.db import close_connection @@ -28,6 +29,7...
capture worker node counts at the start of the execute phase
py
diff --git a/tests/conftest.py b/tests/conftest.py index <HASH>..<HASH> 100755 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -28,9 +28,10 @@ _SERVER_HANDLER = None # Functions =================================================================== -def circuit_breaker_http_retry(): - for i in range(10): +def c...
#<I>: circuit_breaker_http_retry() now have improved text output in console.
py
diff --git a/picotui/widgets.py b/picotui/widgets.py index <HASH>..<HASH> 100644 --- a/picotui/widgets.py +++ b/picotui/widgets.py @@ -246,13 +246,13 @@ class WRadioButton(ItemSelWidget): self.attr_color(C_B_BLUE, None) for t in self.items: self.goto(self.x, self.y + i) - s...
widgets: WRadioButton: Comply with ChoiceWidget interface.
py
diff --git a/inspire_utils/name.py b/inspire_utils/name.py index <HASH>..<HASH> 100644 --- a/inspire_utils/name.py +++ b/inspire_utils/name.py @@ -83,6 +83,9 @@ class ParsedName(object): self._parsed_name.last = self._parsed_name.first + self._parsed_name.middle + self._parsed_name.suffix self...
name: add support for iteration in ParsedName
py
diff --git a/py3-test/tests.py b/py3-test/tests.py index <HASH>..<HASH> 100644 --- a/py3-test/tests.py +++ b/py3-test/tests.py @@ -11,22 +11,24 @@ def test_async_emit(): loop = get_event_loop() ee = EventEmitter(loop=loop) - future = Future() + should_call = Future(loop=loop) @ee.on('event') ...
Rename should_call future in test, raise exception on timeout
py
diff --git a/pymc/database/ram.py b/pymc/database/ram.py index <HASH>..<HASH> 100644 --- a/pymc/database/ram.py +++ b/pymc/database/ram.py @@ -116,7 +116,6 @@ class Trace(base.Trace): - chain (int): The index of the chain to fetch. If None, return all chains. - slicing: A slice, overriding burn an...
Removed deprecation warning in ram backend
py
diff --git a/simple_history/admin.py b/simple_history/admin.py index <HASH>..<HASH> 100644 --- a/simple_history/admin.py +++ b/simple_history/admin.py @@ -69,9 +69,6 @@ class SimpleHistoryAdmin(admin.ModelAdmin): if not self.has_change_permission(request, obj): raise PermissionDenied - if...
Remove unused code check for "Save As" button
py
diff --git a/bigfloat/pympfr.py b/bigfloat/pympfr.py index <HASH>..<HASH> 100644 --- a/bigfloat/pympfr.py +++ b/bigfloat/pympfr.py @@ -54,6 +54,18 @@ if not _mpfr_library_name: mpfr = ctypes.cdll.LoadLibrary(_mpfr_library_name) +# get library version, and check that it's new enough +mpfr.mpfr_get_version.argtypes ...
Add check for version of MPFR library.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup setup( name = 'qless-py', - version = '0.11.3', + version = '0.11.4', description = 'Redis-based Queue Management'...
Version bump to <I>.
py
diff --git a/drf_auto_endpoint/utils.py b/drf_auto_endpoint/utils.py index <HASH>..<HASH> 100644 --- a/drf_auto_endpoint/utils.py +++ b/drf_auto_endpoint/utils.py @@ -103,7 +103,7 @@ def get_field_dict(field, serializer, translated_fields=None, fields_annotation= if model_field: related_model = mo...
:bug: fix bug introduced in f4a<I>d5
py
diff --git a/peewee.py b/peewee.py index <HASH>..<HASH> 100644 --- a/peewee.py +++ b/peewee.py @@ -170,6 +170,7 @@ class PostgresqlAdapter(BaseAdapter): 'primary_key': 'SERIAL', 'datetime': 'TIMESTAMP', 'decimal': 'NUMERIC', + 'boolean': 'BOOLEAN', } ...
Use a boolean column type with postgresql backend -- also send boolean value to backend, tested with postgresql and sqlite.
py
diff --git a/salt/utils/openstack/nova.py b/salt/utils/openstack/nova.py index <HASH>..<HASH> 100644 --- a/salt/utils/openstack/nova.py +++ b/salt/utils/openstack/nova.py @@ -18,6 +18,7 @@ try: from novaclient.v2 import client except ImportError: from novaclient.v1_1 import client + from novac...
use the correct discover_extensions This shouldn't have ever been used, it should have always used the real discover_extension in the main client module. Right now nova is broken with the current novaclient release, which removes _discover_extensions from OpenStackComputeShell
py
diff --git a/pyemma/_base/logging.py b/pyemma/_base/logging.py index <HASH>..<HASH> 100644 --- a/pyemma/_base/logging.py +++ b/pyemma/_base/logging.py @@ -89,12 +89,3 @@ class Loggable(object): del d[logger_name] del Loggable.__refs[logger_id] return remove_logger - - def __getstat...
remove custom __getstate__ method of Loggable Since we use this protocol for the serializable mixin, we do not want any other class in the mro to win the method resolution race here.
py
diff --git a/estnltk_core/estnltk_core/base_text.py b/estnltk_core/estnltk_core/base_text.py index <HASH>..<HASH> 100644 --- a/estnltk_core/estnltk_core/base_text.py +++ b/estnltk_core/estnltk_core/base_text.py @@ -42,7 +42,7 @@ class BaseText: __slots__ = ['text', 'meta', '__dict__', '_shadowed_layers'] de...
Updated BaseText: removed class name hard-coding
py
diff --git a/semantic_release/settings.py b/semantic_release/settings.py index <HASH>..<HASH> 100644 --- a/semantic_release/settings.py +++ b/semantic_release/settings.py @@ -36,14 +36,14 @@ def _config_from_ini(paths): parser.read(paths) flags = { + "changelog_capitalize", "changelog_scope"...
style(settings): alphabetize boolean settings (#<I>) A few settings were not in alphabetical order.
py
diff --git a/python/ray/serve/controller.py b/python/ray/serve/controller.py index <HASH>..<HASH> 100644 --- a/python/ray/serve/controller.py +++ b/python/ray/serve/controller.py @@ -181,21 +181,30 @@ class ServeController: deployment_name, new_deployment_info) async def run_control_loop(self) -...
[serve] Don't halt main control loop due to exceptions in snapshot logic (#<I>)
py
diff --git a/openquake/server/dbserver.py b/openquake/server/dbserver.py index <HASH>..<HASH> 100644 --- a/openquake/server/dbserver.py +++ b/openquake/server/dbserver.py @@ -100,7 +100,7 @@ def get_status(address=None): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s = config.dbserver try: - ...
Fixed bug with celery [skip CI]
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -4,8 +4,8 @@ from setuptools import find_packages, setup import versioneer install_requires = [ - "astropy>=1.2, <3", - "lxml>=2.3, <4.0", + "astropy>=1.2", + "lxml>=2.3", 'iso8601', 'orderedmultidict...
Remove "less-than" restrictions on Astropy, LXML. I think I put these in place before I had Travis-CI cron-jobs available. Therefore wanted to avoid future unknowns. Now at least an email gets sent when there's a new release and it breaks something.
py
diff --git a/tensor2tensor/data_generators/tokenizer.py b/tensor2tensor/data_generators/tokenizer.py index <HASH>..<HASH> 100644 --- a/tensor2tensor/data_generators/tokenizer.py +++ b/tensor2tensor/data_generators/tokenizer.py @@ -101,13 +101,13 @@ def decode(tokens): Returns: a unicode string """ - ret = u...
Don't repeatedly concatenate strings in a loop. PiperOrigin-RevId: <I>
py
diff --git a/singularity/build/converter.py b/singularity/build/converter.py index <HASH>..<HASH> 100644 --- a/singularity/build/converter.py +++ b/singularity/build/converter.py @@ -356,7 +356,7 @@ def print_sections(sections,mapping=None): mapping = get_mapping() finished_spec = None - ordering = [...
modified: singularity/build/converter.py
py
diff --git a/www/tests/tester.py b/www/tests/tester.py index <HASH>..<HASH> 100644 --- a/www/tests/tester.py +++ b/www/tests/tester.py @@ -118,6 +118,9 @@ class Tester: def assertIsNone(self, obj, msg=None): assert obj == None, obj + def assertIsNotNone(self, obj, msg=None): + assert obj is no...
Add assertIsNotNone to tester.py
py
diff --git a/cyphi/subsystem.py b/cyphi/subsystem.py index <HASH>..<HASH> 100644 --- a/cyphi/subsystem.py +++ b/cyphi/subsystem.py @@ -193,7 +193,9 @@ class Subsystem: # mechanism that are either not in the purview or whose connections # to this mechanism have not been severed by a subsystem c...
Move marginalize-out logic into c/e repertoire to avoid function call
py
diff --git a/djangular/core/urlresolvers.py b/djangular/core/urlresolvers.py index <HASH>..<HASH> 100644 --- a/djangular/core/urlresolvers.py +++ b/djangular/core/urlresolvers.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +from inspect import isclass from django.utils import six from django.utils.module_loading import ...
Fixed: function based views were ignored
py
diff --git a/bugzilla/rhbugzilla.py b/bugzilla/rhbugzilla.py index <HASH>..<HASH> 100644 --- a/bugzilla/rhbugzilla.py +++ b/bugzilla/rhbugzilla.py @@ -92,29 +92,6 @@ class RHBugzilla(Bugzilla42): def _getqueryinfo(self): return self._proxy.bugzilla.getQueryInfo() - def _get_info(self, product=None): ...
rhbugzilla: Remove unused _get_info call Much of its benefit is unneeded these days, and its broken with current RHBZ.
py
diff --git a/speech/google/cloud/speech_v1/helpers.py b/speech/google/cloud/speech_v1/helpers.py index <HASH>..<HASH> 100644 --- a/speech/google/cloud/speech_v1/helpers.py +++ b/speech/google/cloud/speech_v1/helpers.py @@ -55,12 +55,16 @@ class SpeechHelpers(object): ... pass Args: - ...
Speech: Fix documentation for helpers gapic (#<I>)
py
diff --git a/example/rcnn/rcnn/io/image.py b/example/rcnn/rcnn/io/image.py index <HASH>..<HASH> 100644 --- a/example/rcnn/rcnn/io/image.py +++ b/example/rcnn/rcnn/io/image.py @@ -37,7 +37,7 @@ def get_image(roidb): processed_roidb = [] for i in range(num_images): roi_rec = roidb[i] - assert os...
string.format doesn't support %s (#<I>) Change %s to {}
py
diff --git a/uproot/tree.py b/uproot/tree.py index <HASH>..<HASH> 100644 --- a/uproot/tree.py +++ b/uproot/tree.py @@ -123,7 +123,13 @@ def iterate(path, treepath, branches=None, entrysteps=float("inf"), outputtype=d awkward.numpy.add(index, globalentrystart, out=index) elif type...
Support RangeIndex before and after Pandas version <I>.
py
diff --git a/quantecon/markov/mdp.py b/quantecon/markov/mdp.py index <HASH>..<HASH> 100644 --- a/quantecon/markov/mdp.py +++ b/quantecon/markov/mdp.py @@ -596,8 +596,11 @@ class MDP(object): Solution method. v_init : array_like(float, ndim=1), optional(default=None) - Initial value fu...
For mpi: v^0 set to min_(s, a) r(s, a) / (1-beta) to guarantee convergence
py
diff --git a/tests/test_main.py b/tests/test_main.py index <HASH>..<HASH> 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -21,6 +21,13 @@ def assert_str_equalish(exp, act): act = str(act).strip() assert_equal(exp, act) +def assert_startswith(s, prefix): + s = str(s) + prefix = str(prefix) ...
add assert_startswith() for better assertion failures
py
diff --git a/bokeh/server/settings.py b/bokeh/server/settings.py index <HASH>..<HASH> 100644 --- a/bokeh/server/settings.py +++ b/bokeh/server/settings.py @@ -93,6 +93,8 @@ class Settings(object): self.blaze_config = args.blaze_config if args.script: self.scripts = [args.script] + ...
Fix url-prefix not detected.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,9 +3,10 @@ from os import path, listdir from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand +from codecs import open HERE = path.abspath(path.dirname(__file__)) -__versi...
more setup.py fixes from requests
py
diff --git a/mike/app_version.py b/mike/app_version.py index <HASH>..<HASH> 100644 --- a/mike/app_version.py +++ b/mike/app_version.py @@ -1 +1 @@ -version = '0.3.2' +version = '0.4.0.dev0'
Update version to <I>.dev0
py
diff --git a/scriptabit/plugins/trello/trello.py b/scriptabit/plugins/trello/trello.py index <HASH>..<HASH> 100644 --- a/scriptabit/plugins/trello/trello.py +++ b/scriptabit/plugins/trello/trello.py @@ -252,7 +252,7 @@ The default is to only synchronise the task names.''') stats = sync.synchronise( ...
changing completed new tasks to sync rather than skip
py
diff --git a/spinoff/actor/runner.py b/spinoff/actor/runner.py index <HASH>..<HASH> 100644 --- a/spinoff/actor/runner.py +++ b/spinoff/actor/runner.py @@ -14,6 +14,7 @@ from spinoff.actor import spawn, Actor, set_default_node, Node from spinoff.actor._actor import _validate_nodeid, _VALID_IP_RE from spinoff.actor.rem...
If keeprunning is set for startnode, restart the actor after 1 second
py
diff --git a/discord/state.py b/discord/state.py index <HASH>..<HASH> 100644 --- a/discord/state.py +++ b/discord/state.py @@ -702,19 +702,21 @@ class ConnectionState: def parse_channel_pins_update(self, data): channel_id = int(data['channel_id']) - channel = self.get_channel(channel_id) + ...
Change CHANNEL_PINS_UPDATE to use guild information from gateway This changes the channel lookup from O(n) to two amortised O(1) lookups
py
diff --git a/steam/__init__.py b/steam/__init__.py index <HASH>..<HASH> 100644 --- a/steam/__init__.py +++ b/steam/__init__.py @@ -16,6 +16,6 @@ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. """ -__version__ = "3.1" +__version_...
Version <I> has awoken!
py
diff --git a/hdl_toolkit/synthesizer/codeOps.py b/hdl_toolkit/synthesizer/codeOps.py index <HASH>..<HASH> 100644 --- a/hdl_toolkit/synthesizer/codeOps.py +++ b/hdl_toolkit/synthesizer/codeOps.py @@ -1,4 +1,4 @@ -from copy import deepcopy +from copy import deepcopy, copy import types from hdl_toolkit.hdlObjects.spec...
copy instead of deepcopy for unloaded interfaces
py
diff --git a/django_extensions/db/fields/json.py b/django_extensions/db/fields/json.py index <HASH>..<HASH> 100644 --- a/django_extensions/db/fields/json.py +++ b/django_extensions/db/fields/json.py @@ -18,10 +18,10 @@ from django.core.serializers.json import DjangoJSONEncoder try: # Django >= 1.7 - import j...
issue #<I> import json as _json
py
diff --git a/wallace/custom.py b/wallace/custom.py index <HASH>..<HASH> 100644 --- a/wallace/custom.py +++ b/wallace/custom.py @@ -22,6 +22,8 @@ from operator import attrgetter from sqlalchemy import and_ +import sys + # Load the configuration options. config = PsiturkConfig() config.load_config() @@ -42,6 +44,...
make logging print immediately this should make sure logs are in order!
py
diff --git a/katcp/server.py b/katcp/server.py index <HASH>..<HASH> 100644 --- a/katcp/server.py +++ b/katcp/server.py @@ -544,6 +544,10 @@ class KATCPServer(object): except Exception: self._logger.error('Error handling message {0!s}'.format(msg), ...
Yield to the ioloop at the end of each message to ensure fairness between clients
py
diff --git a/cirq/circuits/moment.py b/cirq/circuits/moment.py index <HASH>..<HASH> 100644 --- a/cirq/circuits/moment.py +++ b/cirq/circuits/moment.py @@ -51,7 +51,7 @@ class Moment(object): self.qubits = frozenset(affected_qubits) if len(affected_qubits) != len(self.qubits): raise ValueE...
Fix overlapping operations error printing the ops module instead of the relevant operations (#<I>)
py
diff --git a/openquake/calculators/views.py b/openquake/calculators/views.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/views.py +++ b/openquake/calculators/views.py @@ -857,8 +857,16 @@ Source = collections.namedtuple('Source', 'source_id code geom num_ruptures') def equal(rec1, rec2): if len(rec1) ...
[skip CI] Former-commit-id: cbb<I>da<I>c3f1dbaecc<I>fb6b0c3d<I>b<I>c<I>
py
diff --git a/examples/migrate.py b/examples/migrate.py index <HASH>..<HASH> 100755 --- a/examples/migrate.py +++ b/examples/migrate.py @@ -109,7 +109,9 @@ def migrate(src, dst, resource, name_or_id, filter, should_import_rtypes): rs = getattr(impreq, rtype) for name in rs: ...
Don't import associated resources unless primary resource is to be imported as well
py
diff --git a/nodeconductor/structure/serializers.py b/nodeconductor/structure/serializers.py index <HASH>..<HASH> 100644 --- a/nodeconductor/structure/serializers.py +++ b/nodeconductor/structure/serializers.py @@ -607,10 +607,10 @@ class UserSerializer(serializers.HyperlinkedModelSerializer): except (KeyError...
Show user description only for staff and support - wal-<I>
py
diff --git a/openquake/commonlib/riskmodels.py b/openquake/commonlib/riskmodels.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/riskmodels.py +++ b/openquake/commonlib/riskmodels.py @@ -17,8 +17,9 @@ class VulnerabilityNode(LiteralNode): validators = valid.parameters( vulnerabilitySetID=valid.nam...
I remove the constraint on the assetCategory
py
diff --git a/ckanutils/__init__.py b/ckanutils/__init__.py index <HASH>..<HASH> 100755 --- a/ckanutils/__init__.py +++ b/ckanutils/__init__.py @@ -21,6 +21,6 @@ __package_name__ = 'ckanutils' __author__ = 'Reuben Cummings' __description__ = 'Miscellaneous CKAN utility scripts' __email__ = 'reubano@gmail.com' -__vers...
Bump to version <I>
py
diff --git a/neurom/io/utils.py b/neurom/io/utils.py index <HASH>..<HASH> 100644 --- a/neurom/io/utils.py +++ b/neurom/io/utils.py @@ -151,7 +151,7 @@ def get_morph_files(directory): '''Get a list of all morphology files in a directory Returns: - list with all files with extensions '.swc' or '.h5' (c...
Update utils.py fix comment of get_morph_files to show that asc is also an option.
py
diff --git a/treeherder/settings/base.py b/treeherder/settings/base.py index <HASH>..<HASH> 100644 --- a/treeherder/settings/base.py +++ b/treeherder/settings/base.py @@ -18,7 +18,7 @@ TREEHERDER_DATABASE_PORT = os.environ.get("TREEHERDER_DATABASE_PORT", "") TREEHERDER_RO_DATABASE_USER = os.environ.get("TREEHERDER...
added handling for memcache array
py
diff --git a/kubespawner/spawner.py b/kubespawner/spawner.py index <HASH>..<HASH> 100644 --- a/kubespawner/spawner.py +++ b/kubespawner/spawner.py @@ -336,7 +336,7 @@ class KubeSpawner(Spawner): set this with:: c.KubeSpawner.start_timeout = 60 * 5 # Upto 5 minutes - + """ )...
delete pods that have stopped if `.poll()` notices that a pod has stopped, delete the pod A `.delete_stopped_pods` flag is added to allow disabling this behavior if deployments want to leave stopped pods around, in case they are interested in inspecting the pod to diagnose the reason for stopping
py
diff --git a/openquake/export/hazard.py b/openquake/export/hazard.py index <HASH>..<HASH> 100644 --- a/openquake/export/hazard.py +++ b/openquake/export/hazard.py @@ -159,8 +159,6 @@ def export_hazard_curves(output, target_dir): """ hc = models.HazardCurve.objects.get(output=output.id) - # NOTE(LB): Usin...
export/hazard: Removed a redundant comment.
py