diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/benchbuild/cli/project.py b/benchbuild/cli/project.py index <HASH>..<HASH> 100644 --- a/benchbuild/cli/project.py +++ b/benchbuild/cli/project.py @@ -7,6 +7,7 @@ from plumbum import cli import benchbuild as bb from benchbuild.environments.domain.declarative import ContainerImage from benchbuild.project ...
refactor(cli/project): provide better layout of project information
py
diff --git a/pyicloud/services/reminders.py b/pyicloud/services/reminders.py index <HASH>..<HASH> 100644 --- a/pyicloud/services/reminders.py +++ b/pyicloud/services/reminders.py @@ -49,9 +49,6 @@ class RemindersService(object): return self.get_all_possible_timezones_of_local_machine()[0] def refresh(se...
Don't set host header in reminders service It's automatically taken care of by the requests module based on the URL, and explicitly setting it on the globally shared session object results in other services (such as the calendar service) breaking when used after the reminders service in the same session.
py
diff --git a/tests/test_ice.py b/tests/test_ice.py index <HASH>..<HASH> 100644 --- a/tests/test_ice.py +++ b/tests/test_ice.py @@ -398,6 +398,7 @@ class IceConnectionTest(unittest.TestCase): If local candidates have not been gathered, connect fails. """ conn = ice.Connection(ice_controlling=T...
[tests] properly fake local / remote candidate absence
py
diff --git a/ggplot/scales/scale.py b/ggplot/scales/scale.py index <HASH>..<HASH> 100644 --- a/ggplot/scales/scale.py +++ b/ggplot/scales/scale.py @@ -161,9 +161,14 @@ class scale_discrete(scale): limits = self.limits n = sum(~pd.isnull(limits)) - pal = np.asarray(self.palette(n)) - ...
Fixes #<I> - Manual scale with dict assignments
py
diff --git a/curtsies/window.py b/curtsies/window.py index <HASH>..<HASH> 100644 --- a/curtsies/window.py +++ b/curtsies/window.py @@ -344,8 +344,11 @@ class CursorAwareWindow(BaseWindow): ) return c except IOError: - raise ValueError("cu...
Turns out cursor pos resp does get interrupted
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -40,4 +40,6 @@ setup( ], license="MIT", + + zip_safe=False )
Fix template loading when installed with easy_install If you install a package using `easy_install` or `setup.py install`, it will default to installing as a zipped egg. Django is by default unable to find templates inside zipped archives and even with an egg template loader enabled it's very slow as it involves unpac...
py
diff --git a/ReText/window.py b/ReText/window.py index <HASH>..<HASH> 100644 --- a/ReText/window.py +++ b/ReText/window.py @@ -723,7 +723,11 @@ class ReTextWindow(QMainWindow): stream = QTextStream(tempFile) stream << html tempFile.close() - pb.loadFinished.connect(lambda ok: tempFile.remove()) + d...
[#<I>] Update scroll position when contentsSizeChanged is emitted ... and not earlier. Also, make sure we properly disconnect signals.
py
diff --git a/arch/zx48k/translator.py b/arch/zx48k/translator.py index <HASH>..<HASH> 100644 --- a/arch/zx48k/translator.py +++ b/arch/zx48k/translator.py @@ -583,10 +583,10 @@ class Translator(TranslatorVisitor): def visit_ON_GOSUB(self, node): table_label = backend.tmp_label() - self.emit('para...
Refactorize ONGOSUB visit
py
diff --git a/rdt/transformers/BaseTransformer.py b/rdt/transformers/BaseTransformer.py index <HASH>..<HASH> 100644 --- a/rdt/transformers/BaseTransformer.py +++ b/rdt/transformers/BaseTransformer.py @@ -38,7 +38,7 @@ class BaseTransformer(object): Returns: pandas.DataFrame """ - re...
Fix wrong method on BaseTransformer
py
diff --git a/netpyne/analysis/csd.py b/netpyne/analysis/csd.py index <HASH>..<HASH> 100644 --- a/netpyne/analysis/csd.py +++ b/netpyne/analysis/csd.py @@ -36,7 +36,7 @@ def getbandpass (lfps,sampr,minf=0.05,maxf=300): # lfps should be a list or nu def Vaknin (x): ## Allows CSD to be performed on all N contacts inste...
csd.py getCSD() function near completion -- minor syntax corrections on this commit
py
diff --git a/lib/svtplay_dl/service/tv4play.py b/lib/svtplay_dl/service/tv4play.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/tv4play.py +++ b/lib/svtplay_dl/service/tv4play.py @@ -104,7 +104,7 @@ class Tv4play(Service, OpenGraphThumbMixin): janson2 = jansson["props"]["pageProps"]["initialApolloS...
tv4play: fix so find all episodes work
py
diff --git a/examples/pytorch/language-modeling/run_clm_no_trainer.py b/examples/pytorch/language-modeling/run_clm_no_trainer.py index <HASH>..<HASH> 100755 --- a/examples/pytorch/language-modeling/run_clm_no_trainer.py +++ b/examples/pytorch/language-modeling/run_clm_no_trainer.py @@ -14,7 +14,7 @@ # See the License ...
Fix comment in run_clm_no_trainer.py (#<I>)
py
diff --git a/bliss/core/api.py b/bliss/core/api.py index <HASH>..<HASH> 100644 --- a/bliss/core/api.py +++ b/bliss/core/api.py @@ -135,7 +135,7 @@ class CmdAPI: try: values = (self._host, self._port, cmdobj.name) - log.info('Sending to %s:%d: %s' % values) + ...
Update CmdAPI to log as COMMAND instead of info
py
diff --git a/datasketch/weighted_minhash.py b/datasketch/weighted_minhash.py index <HASH>..<HASH> 100644 --- a/datasketch/weighted_minhash.py +++ b/datasketch/weighted_minhash.py @@ -88,8 +88,13 @@ class WeightedMinHashGenerator(object): if not isinstance(v, np.ndarray): v = np.array(v) h...
Fix zeros in input and cache log(v) Relates to issue #<I>
py
diff --git a/treetime/treetime.py b/treetime/treetime.py index <HASH>..<HASH> 100644 --- a/treetime/treetime.py +++ b/treetime/treetime.py @@ -270,6 +270,10 @@ class TreeTime(ClockTree): tt_kwargs['time_marginal']=time_marginal self.make_time_tree(**tt_kwargs) + self.trace_run.app...
feat: add final round to tracelog
py
diff --git a/pylocus/point_set.py b/pylocus/point_set.py index <HASH>..<HASH> 100644 --- a/pylocus/point_set.py +++ b/pylocus/point_set.py @@ -46,8 +46,10 @@ class PointSet: def init(self): self.create_edm() - def add_noise(self, noise): - self.points += np.random.normal(0, noise, (self.N, sel...
Created function to get new noisy points.
py
diff --git a/pymata_aio/pymata_core.py b/pymata_aio/pymata_core.py index <HASH>..<HASH> 100644 --- a/pymata_aio/pymata_core.py +++ b/pymata_aio/pymata_core.py @@ -1016,7 +1016,7 @@ class PymataCore: :returns: No return value. """ data = [interval & 0x7f, interval >> 7] - self._send_sys...
Add await to set_sampling_interval Also made the pixy sends before reset simply be silent.
py
diff --git a/fedmsg/meta/__init__.py b/fedmsg/meta/__init__.py index <HASH>..<HASH> 100644 --- a/fedmsg/meta/__init__.py +++ b/fedmsg/meta/__init__.py @@ -83,7 +83,7 @@ def make_processors(**config): >>> import fedmsg.meta >>> config = fedmsg.config.load_config([], None) >>> fedmsg.meta.make_...
Update fedmsg/meta/__init__.py Fix typo in the docstring ( missing 2, so code cannot be cut and paste )
py
diff --git a/pipes/elb/create_elb.py b/pipes/elb/create_elb.py index <HASH>..<HASH> 100644 --- a/pipes/elb/create_elb.py +++ b/pipes/elb/create_elb.py @@ -145,7 +145,7 @@ if __name__ == '__main__': elb_name=args.elb_name, subnet_t...
Added some logic to figure out the health check string if the protocol is not HTTP
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,9 +17,11 @@ setup( url='http://www.google.com', packages=['bishop'], install_requires=[ - 'pyOpenSSL', 'cryptography', 'certifi', 'pytest', + 'python-dateutil', + 'pyOpenSSL', + 'tabulat...
Added dependencies to setup.py.
py
diff --git a/tests/test_inputs.py b/tests/test_inputs.py index <HASH>..<HASH> 100644 --- a/tests/test_inputs.py +++ b/tests/test_inputs.py @@ -110,10 +110,12 @@ def test_input_is_active_high_externally_pulled_down(mock_factory): assert repr(device) == '<gpiozero.InputDevice object on pin GPIO4, pull_up=None, is_ac...
Separate tests for pypy The pypy GC isn't cleaning up the InputDevice on GPIO4 in time for the second test; separating them should fix things as the mock_factory cleanup will explicitly close all associated devices.
py
diff --git a/src/unity/python/doc/source/conf.py b/src/unity/python/doc/source/conf.py index <HASH>..<HASH> 100644 --- a/src/unity/python/doc/source/conf.py +++ b/src/unity/python/doc/source/conf.py @@ -54,6 +54,7 @@ for m in [ 'shortest_path', 'text_classifier', 'svm_classifier', + ...
Added import to the conf.py file to correctly generate sphinx docs (#<I>)
py
diff --git a/account/models.py b/account/models.py index <HASH>..<HASH> 100644 --- a/account/models.py +++ b/account/models.py @@ -146,6 +146,13 @@ class EmailConfirmation(models.Model): objects = EmailConfirmationManager() + class Meta: + verbose_name = _("email confirmation") + verbo...
corrected ordering style of EmailConfirmation model
py
diff --git a/validator/sawtooth_validator/gossip/signature_verifier.py b/validator/sawtooth_validator/gossip/signature_verifier.py index <HASH>..<HASH> 100644 --- a/validator/sawtooth_validator/gossip/signature_verifier.py +++ b/validator/sawtooth_validator/gossip/signature_verifier.py @@ -123,7 +123,7 @@ def is_valid_...
Fix typo in consensus message signature verifier The signature is over the message header not the message content.
py
diff --git a/pycbc/results/color.py b/pycbc/results/color.py index <HASH>..<HASH> 100644 --- a/pycbc/results/color.py +++ b/pycbc/results/color.py @@ -1,7 +1,20 @@ """ Utilities for managing matplotlib colors and mapping ifos to color """ -_ifo_color_map = {'H1':'red', 'L1':'green', 'V1':'magenta'} +# try and impor...
results.color: import colour scheme from gwpy (#<I>) matches recent publications, and the summary pages
py
diff --git a/manticore/ethereum.py b/manticore/ethereum.py index <HASH>..<HASH> 100644 --- a/manticore/ethereum.py +++ b/manticore/ethereum.py @@ -582,7 +582,7 @@ class ManticoreEVM(Manticore): try: output = json.loads(p.stdout.read()) except ValueError: - raise...
Improve solc error output (#<I>) * Improve err handling when there's a solc error, print the error * Fix bug, don't merge stdout/err * Simplify * Add more space
py
diff --git a/pale/fields/base.py b/pale/fields/base.py index <HASH>..<HASH> 100644 --- a/pale/fields/base.py +++ b/pale/fields/base.py @@ -117,7 +117,7 @@ class ListField(BaseField): def render(self, obj, name, context): if obj is None: - return None + return [] output =...
ListField should always return an empty list, never null
py
diff --git a/pystache/renderengine.py b/pystache/renderengine.py index <HASH>..<HASH> 100644 --- a/pystache/renderengine.py +++ b/pystache/renderengine.py @@ -407,7 +407,7 @@ class Template(object): if not val and val != 0: if tag_name != '.': return '' - val = self.con...
Couple more tweaks: includes fixing issue rendering function-valued sections.
py
diff --git a/bitshares/bitshares.py b/bitshares/bitshares.py index <HASH>..<HASH> 100644 --- a/bitshares/bitshares.py +++ b/bitshares/bitshares.py @@ -323,7 +323,7 @@ class BitShares(object): active_accounts_authority.append([k, 1]) # voting account - voting_account = Account(proxy_accoun...
[bitshares] make sure to use proxy-to-self if not defined
py
diff --git a/f5/bigip/tm/gtm/topology.py b/f5/bigip/tm/gtm/topology.py index <HASH>..<HASH> 100644 --- a/f5/bigip/tm/gtm/topology.py +++ b/f5/bigip/tm/gtm/topology.py @@ -146,6 +146,10 @@ class Topology(Resource): return self._load(**kwargs) + def exists(self, **kwargs): + kwargs['transform_name'...
Fixes Issue #<I> - exists method failing on GTM topology records Problem: The / and ~ characters are disallowed in sdk URLs Resolution: Overload the exists method for topology by applying: kwargs['transform_name'] = True
py
diff --git a/vyper/ast/pre_parser.py b/vyper/ast/pre_parser.py index <HASH>..<HASH> 100644 --- a/vyper/ast/pre_parser.py +++ b/vyper/ast/pre_parser.py @@ -44,6 +44,11 @@ def validate_version_pragma(version_str: str, start: ParserPosition) -> None: strict_file_version = _convert_version_str(raw_file_version) s...
bug: Added check that version string is non-zero, as NpmSpec passes it
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f: # Get a list of all the providers current_filepath = path.join(here, 'lexicon', 'providers') providers = [path.splitext(f)[0] for f in listdir(c...
Make the PKG-INFO build reproducible Whilst working on the Reproducible Builds effort [0], we noticed that lexicon could not be built reproducibly. This is due to iterating over the filesystem in a non-determistic order and populating the Keywords variable in PKG-INFO based on that. This was originally filed in Debi...
py
diff --git a/py/py_sparkling/ml/features.py b/py/py_sparkling/ml/features.py index <HASH>..<HASH> 100644 --- a/py/py_sparkling/ml/features.py +++ b/py/py_sparkling/ml/features.py @@ -3,6 +3,7 @@ from pyspark.ml.param.shared import * from pyspark.ml.util import JavaMLReadable, JavaMLWritable from pyspark.ml.wrapper im...
[SW-<I>][FollowUp] Cleanup of PySparkling package -> moving to new package ai.h2o (#<I>)
py
diff --git a/gpflow/densities.py b/gpflow/densities.py index <HASH>..<HASH> 100644 --- a/gpflow/densities.py +++ b/gpflow/densities.py @@ -91,7 +91,7 @@ def multivariate_normal(x, mu, L): raise ValueError('Shape of x must be 2D.') if mu.shape.ndims is None: warnings.warn('Shape of mu may be unkno...
change copy paste error x has to be changed to mu on line <I>
py
diff --git a/bot/action/core/command/throttler/shortlyrepeatedcommand.py b/bot/action/core/command/throttler/shortlyrepeatedcommand.py index <HASH>..<HASH> 100644 --- a/bot/action/core/command/throttler/shortlyrepeatedcommand.py +++ b/bot/action/core/command/throttler/shortlyrepeatedcommand.py @@ -74,6 +74,10 @@ class ...
Create a PersonalCommandKey adding the user_id to it
py
diff --git a/spillway/views.py b/spillway/views.py index <HASH>..<HASH> 100644 --- a/spillway/views.py +++ b/spillway/views.py @@ -12,7 +12,7 @@ class MapView(GenericAPIView): def get(self, request, *args, **kwargs): form = forms.RasterTileForm(dict(self.request.query_params.dict(), - ...
No need to call filter_queryset for mapnik renderer
py
diff --git a/spinoff/actor/_actor.py b/spinoff/actor/_actor.py index <HASH>..<HASH> 100644 --- a/spinoff/actor/_actor.py +++ b/spinoff/actor/_actor.py @@ -17,18 +17,15 @@ from itertools import count, chain from twisted.internet.defer import inlineCallbacks, Deferred from txcoroutine import coroutine -from spinoff.u...
Cleaned up imports in _actor.py
py
diff --git a/audioread/ffdec.py b/audioread/ffdec.py index <HASH>..<HASH> 100644 --- a/audioread/ffdec.py +++ b/audioread/ffdec.py @@ -258,12 +258,14 @@ class FFmpegAudioFile(object): def close(self): """Close the ffmpeg process used to perform the decoding.""" - # Kill the process if it is still...
Fidlde with some comments for #<I>
py
diff --git a/alignak/objects/host.py b/alignak/objects/host.py index <HASH>..<HASH> 100644 --- a/alignak/objects/host.py +++ b/alignak/objects/host.py @@ -414,7 +414,7 @@ class Host(SchedulingItem): :return: True if other in act_depend_of list, otherwise False :rtype: bool """ - for (h...
Enh: - Pylint W<I> in host.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -27,6 +27,7 @@ setup(name='switchboard', 'pylibmc >= 1.2', 'decorator', ], + zip_safe=False, tests_require=[ 'nose >= 0.11', 'mock >= 1.0',
[#2] I wonder if this might cause the slowdown?
py
diff --git a/payu/experiment.py b/payu/experiment.py index <HASH>..<HASH> 100644 --- a/payu/experiment.py +++ b/payu/experiment.py @@ -535,8 +535,9 @@ class Experiment(object): model_prog.append(model.exec_prefix) - # Use the exec_name (without path) as this is now linked in work - ...
Change MPI invocation to use full path to symlink in work
py
diff --git a/saltapi/netapi/rest_cherrypy/app.py b/saltapi/netapi/rest_cherrypy/app.py index <HASH>..<HASH> 100644 --- a/saltapi/netapi/rest_cherrypy/app.py +++ b/saltapi/netapi/rest_cherrypy/app.py @@ -31,6 +31,8 @@ A REST API for Salt disable_ssl A flag to disable SSL. Warning: your Salt authentication ...
Added missing versionadded for the disable_ssl option
py
diff --git a/examples/presigned_post_policy.py b/examples/presigned_post_policy.py index <HASH>..<HASH> 100644 --- a/examples/presigned_post_policy.py +++ b/examples/presigned_post_policy.py @@ -45,8 +45,8 @@ try: for field in signed_form_data: curl_cmd.append('-F {0}={1}'.format(field, signed_form_data[f...
examples: Fix curl command for presigned post (#<I>)
py
diff --git a/qiskit/tools/visualization/_counts_visualization.py b/qiskit/tools/visualization/_counts_visualization.py index <HASH>..<HASH> 100644 --- a/qiskit/tools/visualization/_counts_visualization.py +++ b/qiskit/tools/visualization/_counts_visualization.py @@ -64,7 +64,7 @@ def plot_histogram(data, number_to_keep...
fix width and height order reversed. (#<I>)
py
diff --git a/ca/ca/settings.py b/ca/ca/settings.py index <HASH>..<HASH> 100644 --- a/ca/ca/settings.py +++ b/ca/ca/settings.py @@ -4,14 +4,16 @@ import os from typing import List from typing import Optional -import yaml - from django.core.exceptions import ImproperlyConfigured try: - from yaml import CLoader...
don't parse yaml files if not installed
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -97,9 +97,9 @@ excluded_directories = standard_exclude_directories package_data = find_package_data(exclude_directories=excluded_directories) if sys.version_info[0] < 3: - openid_package = 'python-openid' + openid_pa...
Versioning dependencies (closes #<I>)
py
diff --git a/spyder/utils/encoding.py b/spyder/utils/encoding.py index <HASH>..<HASH> 100644 --- a/spyder/utils/encoding.py +++ b/spyder/utils/encoding.py @@ -262,7 +262,9 @@ def write(text, filename, encoding='utf-8', mode='wb'): # Creating a new file, emulate what os.open() does umask = os....
Editor: Set base permission to 0o<I> minus umask for files when saving
py
diff --git a/applications/jupyter-extension/nteract_on_jupyter/nteractapp.py b/applications/jupyter-extension/nteract_on_jupyter/nteractapp.py index <HASH>..<HASH> 100644 --- a/applications/jupyter-extension/nteract_on_jupyter/nteractapp.py +++ b/applications/jupyter-extension/nteract_on_jupyter/nteractapp.py @@ -1,5 +...
Run webpack command as shell command on Windows
py
diff --git a/project_generator/tools/tool.py b/project_generator/tools/tool.py index <HASH>..<HASH> 100644 --- a/project_generator/tools/tool.py +++ b/project_generator/tools/tool.py @@ -41,13 +41,13 @@ class Builder: def build_project(self): raise NotImplementedError -# Exporter class for exportin a pr...
Tool - add more comment to gen_file methods
py
diff --git a/numpy_groupies/aggregate_numba.py b/numpy_groupies/aggregate_numba.py index <HASH>..<HASH> 100644 --- a/numpy_groupies/aggregate_numba.py +++ b/numpy_groupies/aggregate_numba.py @@ -192,8 +192,15 @@ def _sum(gidx_ii, a_ii, res, ii): @jitted_loop(initial_value_mode=0, int_version=_sum) def _nansum(gidx_ii...
found a workable hack for nan-prefixed functions
py
diff --git a/yowsup/layers/protocol_media/mediauploader.py b/yowsup/layers/protocol_media/mediauploader.py index <HASH>..<HASH> 100644 --- a/yowsup/layers/protocol_media/mediauploader.py +++ b/yowsup/layers/protocol_media/mediauploader.py @@ -136,7 +136,9 @@ class MediaUploader(WARequest, threading.Thread): ...
an important bug: errorCallback errorCallback can not have two alien definitions and ...
py
diff --git a/openpnm/algorithms/GenericTransport.py b/openpnm/algorithms/GenericTransport.py index <HASH>..<HASH> 100644 --- a/openpnm/algorithms/GenericTransport.py +++ b/openpnm/algorithms/GenericTransport.py @@ -436,6 +436,8 @@ class GenericTransport(GenericAlgorithm): else: solver = getattr(sp...
extract solution array from "scipy iterative solver" returned tuple
py
diff --git a/python/pyspark/rdd.py b/python/pyspark/rdd.py index <HASH>..<HASH> 100644 --- a/python/pyspark/rdd.py +++ b/python/pyspark/rdd.py @@ -121,10 +121,22 @@ def _parse_memory(s): def _load_from_socket(port, serializer): - sock = socket.socket() - sock.settimeout(3) + sock = None + # Support for...
[SPARK-<I>] [PYSPARK] solve python rdd socket connection problem Method "_load_from_socket" in rdd.py cannot load data from jvm socket when ipv6 is used. The current method only works well with ipv4. New modification should work around both two protocols.
py
diff --git a/odl/space/cartesian.py b/odl/space/cartesian.py index <HASH>..<HASH> 100644 --- a/odl/space/cartesian.py +++ b/odl/space/cartesian.py @@ -690,9 +690,9 @@ class Ntuples(NtuplesBase): True """ if out is None: - return self.data.__getitem__(slice(start, st...
Simplified asarray implementation in NTuples
py
diff --git a/scapy/packet.py b/scapy/packet.py index <HASH>..<HASH> 100644 --- a/scapy/packet.py +++ b/scapy/packet.py @@ -1727,10 +1727,14 @@ def bind_top_down(lower, upper, __fval=None, **fval): @conf.commands.register def bind_layers(lower, upper, __fval=None, **fval): - """Bind 2 layers on some specific fiel...
docstring fixed to please lsc()
py
diff --git a/visidata/cmdlog.py b/visidata/cmdlog.py index <HASH>..<HASH> 100644 --- a/visidata/cmdlog.py +++ b/visidata/cmdlog.py @@ -22,7 +22,7 @@ globalCommand('Q', 'forget-sheet', 'vd.cmdlog.removeSheet(vd.sheets.pop(0))') globalCommand('status', 'status(input("status: ", display=False))', 'show given status messa...
[cmdlog] do not log _ anymore
py
diff --git a/imagemodal/imagemodal.py b/imagemodal/imagemodal.py index <HASH>..<HASH> 100644 --- a/imagemodal/imagemodal.py +++ b/imagemodal/imagemodal.py @@ -95,6 +95,10 @@ class ImageModal(StudioEditableXBlockMixin, XBlock): 'alt_text', ] + # Decorate the view in order to support multiple devices e...
Add Mobile Support Decorated the student view with the XBlocks_supports for multi_device in order to solve the compatibility issue with mobile handheld devices.
py
diff --git a/py/testdir_single_jvm/test_NN_covtype.py b/py/testdir_single_jvm/test_NN_covtype.py index <HASH>..<HASH> 100644 --- a/py/testdir_single_jvm/test_NN_covtype.py +++ b/py/testdir_single_jvm/test_NN_covtype.py @@ -79,7 +79,7 @@ class Basic(unittest.TestCase): nn = h2o_cmd.runNNet(parseResult=parse...
Increase tolerance from <I>% to <I>% for test_NN_covtype w/ Hogwild since the test was failing twice out of ten times.
py
diff --git a/test/test_subscriber.py b/test/test_subscriber.py index <HASH>..<HASH> 100644 --- a/test/test_subscriber.py +++ b/test/test_subscriber.py @@ -34,6 +34,14 @@ class SubscriberTestCase(unittest.TestCase): email_address = self.subscriber.add(self.list_id, "subscriber@example.com", "Subscriber", custom_fie...
Test added to demonstrate addition of subscribers with multi-option (both select one and select many) custom fields.
py
diff --git a/pandas/core/common.py b/pandas/core/common.py index <HASH>..<HASH> 100644 --- a/pandas/core/common.py +++ b/pandas/core/common.py @@ -1538,6 +1538,14 @@ def _interpolate_scipy_wrapper(x, y, new_x, method, fill_value=None, terp = interpolate.UnivariateSpline(x, y, k=order) new_y = terp(new...
BUG: copy certain interpolate arguments to ensure we can write to them; closes #<I>.
py
diff --git a/couchbase_core/__init__.py b/couchbase_core/__init__.py index <HASH>..<HASH> 100644 --- a/couchbase_core/__init__.py +++ b/couchbase_core/__init__.py @@ -291,7 +291,7 @@ class IterableWrapper(object): raise def rows(self): - return list(x for x in IterableWrapper.__iter__(self)) ...
PYCBC-<I>: fix iterable_wrapper Looks like this was using the wrong iterator in some cases. Change-Id: I<I>f<I>f<I>f<I>de5d6ba8f<I>cf1ba1a<I>b Reviewed-on: <URL>
py
diff --git a/txkoji/connection.py b/txkoji/connection.py index <HASH>..<HASH> 100644 --- a/txkoji/connection.py +++ b/txkoji/connection.py @@ -14,11 +14,11 @@ from twisted.web.client import ResponseFailed from txkoji.proxy import TrustedProxy from txkoji.ssl import trustRoot, ClientCertPolicy try: - from configpa...
connection: SafeConfigParser -> ConfigParser SafeConfigParser is deprecated in Python <I>.
py
diff --git a/andes/interop/pandapower.py b/andes/interop/pandapower.py index <HASH>..<HASH> 100644 --- a/andes/interop/pandapower.py +++ b/andes/interop/pandapower.py @@ -221,7 +221,7 @@ def _to_pp_line(ssa, ssp, ssa_bus): ssl = ssa_line ssl['uidx'] = ssl.index index_line = ssl['uidx'][ssl['Vn1'] == ssl[...
Reduce default line limtis to <I> to avoid ACOPF diverge
py
diff --git a/malcolm/core/methodmeta.py b/malcolm/core/methodmeta.py index <HASH>..<HASH> 100644 --- a/malcolm/core/methodmeta.py +++ b/malcolm/core/methodmeta.py @@ -22,18 +22,12 @@ class MethodMeta(Meta): def __init__(self, description="", tags=None, writeable=True, label=""): super(MethodMeta, self)....
MethodMeta doesn't need a func any more
py
diff --git a/src/automate/system.py b/src/automate/system.py index <HASH>..<HASH> 100644 --- a/src/automate/system.py +++ b/src/automate/system.py @@ -37,6 +37,7 @@ import os import logging import pickle import pkg_resources +import argparse from traits.api import (CStr, Instance, CBool, CList, Property, CInt, CU...
Enable providing --no_input as command line argument too
py
diff --git a/examples/authenticate.py b/examples/authenticate.py index <HASH>..<HASH> 100644 --- a/examples/authenticate.py +++ b/examples/authenticate.py @@ -8,5 +8,5 @@ soap_headers_schema = { def authenticate(data): if data != {'username': 'user', 'password': 'pass'}: - raise AccessDenied(data.get('us...
fixed a bug in sample authentication function
py
diff --git a/clockwork/clockwork_http.py b/clockwork/clockwork_http.py index <HASH>..<HASH> 100644 --- a/clockwork/clockwork_http.py +++ b/clockwork/clockwork_http.py @@ -1,8 +1,10 @@ # coding: utf-8 try: import urllib.request as _urllib # py3 + from urllib.error import URLError except ImportError: impo...
URLError is moved to urllib.error
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 @@ -600,8 +600,11 @@ class EventBasedCalculator(ClassicalCalculator): # save individual curves ...
Added a warning for zero hazard curves
py
diff --git a/leicaexperiment/experiment.py b/leicaexperiment/experiment.py index <HASH>..<HASH> 100644 --- a/leicaexperiment/experiment.py +++ b/leicaexperiment/experiment.py @@ -298,7 +298,9 @@ def stitch_macro(path, output_folder=None): output_files = [] for Z in z_stacks: for C in channels: - ...
join path in stitch_macro
py
diff --git a/salt/modules/saltutil.py b/salt/modules/saltutil.py index <HASH>..<HASH> 100644 --- a/salt/modules/saltutil.py +++ b/salt/modules/saltutil.py @@ -669,13 +669,49 @@ def clear_cache(): def find_job(jid): ''' - Return the data for a specific job id + Return the data for a specific job id that is...
Update the docs for saltutil.find_job to be more clear/accurate (#<I>) * Update the docs for saltutil.find_job to be more clear/accurate * Spelling fix
py
diff --git a/remi/gui.py b/remi/gui.py index <HASH>..<HASH> 100644 --- a/remi/gui.py +++ b/remi/gui.py @@ -850,7 +850,7 @@ class VBox(HBox): super(VBox, self).__init__(**kwargs) self.style['flex-direction'] = 'column' - + class TabBox(Widget): # create a structure like the following...
Update gui.py I believe this restores things as requested.
py
diff --git a/filer/models/foldermodels.py b/filer/models/foldermodels.py index <HASH>..<HASH> 100644 --- a/filer/models/foldermodels.py +++ b/filer/models/foldermodels.py @@ -197,6 +197,8 @@ class Folder(models.Model, mixins.IconsMixin): permissions = (("can_use_directory_listing", "Ca...
gettext for verbose_name{,_plural} in Folder model
py
diff --git a/safe_qgis/utilities/clipper.py b/safe_qgis/utilities/clipper.py index <HASH>..<HASH> 100644 --- a/safe_qgis/utilities/clipper.py +++ b/safe_qgis/utilities/clipper.py @@ -499,14 +499,14 @@ def _clip_raster_layer( # Use the first matching gdalwarp found myBinary = myBinaryList[0] if theCellSiz...
Wrap gdalwarp command in quotes for windows
py
diff --git a/oidc_provider/lib/endpoints/authorize.py b/oidc_provider/lib/endpoints/authorize.py index <HASH>..<HASH> 100644 --- a/oidc_provider/lib/endpoints/authorize.py +++ b/oidc_provider/lib/endpoints/authorize.py @@ -4,6 +4,7 @@ import uuid from django.utils import timezone from oidc_provider.lib.errors impor...
Fixed id_token dict in implicit flow
py
diff --git a/knox/views.py b/knox/views.py index <HASH>..<HASH> 100644 --- a/knox/views.py +++ b/knox/views.py @@ -22,11 +22,15 @@ class LoginView(APIView): def get_token_ttl(self): return knox_settings.TOKEN_TTL + def get_token_limit_per_user(self): + return knox_settings.TOKEN_LIMIT_PER_USER...
Make AuthToken per user configurable in LoginView We want to limit the number of token available per user depending on the authentication class.
py
diff --git a/pystache/template.py b/pystache/template.py index <HASH>..<HASH> 100644 --- a/pystache/template.py +++ b/pystache/template.py @@ -75,20 +75,19 @@ class Template(object): captures['whitespace'] = '' # TODO: Process the remaining tag types. - print captures['name'] - fet...
Cleaning up the fetch routine a bit. Also deleting a bit of unintended diagnostic code.
py
diff --git a/pyof/v0x01/foundation/base.py b/pyof/v0x01/foundation/base.py index <HASH>..<HASH> 100644 --- a/pyof/v0x01/foundation/base.py +++ b/pyof/v0x01/foundation/base.py @@ -157,6 +157,5 @@ class GenericStruct(metaclass=MetaStruct): for _attr, _class in self.__ordered__: if _attr != "header":...
Corrected the unpack method.
py
diff --git a/indra/sources/geneways/processor.py b/indra/sources/geneways/processor.py index <HASH>..<HASH> 100644 --- a/indra/sources/geneways/processor.py +++ b/indra/sources/geneways/processor.py @@ -113,7 +113,7 @@ class GenewaysProcessor(object): else: text = None ...
Bug fix for excpetion handler
py
diff --git a/adafruit_platformdetect/constants/boards.py b/adafruit_platformdetect/constants/boards.py index <HASH>..<HASH> 100644 --- a/adafruit_platformdetect/constants/boards.py +++ b/adafruit_platformdetect/constants/boards.py @@ -460,11 +460,6 @@ _PI_REV_CODES = { RASPBERRY_PI_400: ("c03130", "c03131"), ...
Update boards.py adding for board revision <I>
py
diff --git a/tests/test_epubcheck.py b/tests/test_epubcheck.py index <HASH>..<HASH> 100644 --- a/tests/test_epubcheck.py +++ b/tests/test_epubcheck.py @@ -1,16 +1,30 @@ # -*- coding: utf-8 -*- +from __future__ import unicode_literals import epubcheck from epubcheck import samples from epubcheck.cli import main ...
add first tests for cli.main
py
diff --git a/two_factor/views/utils.py b/two_factor/views/utils.py index <HASH>..<HASH> 100644 --- a/two_factor/views/utils.py +++ b/two_factor/views/utils.py @@ -2,7 +2,6 @@ import logging from django.core.exceptions import ValidationError from django.utils.decorators import method_decorator -from django.utils.fun...
Drop use of lazy_property for compatibility with Django <I>. (Closes: #<I>)
py
diff --git a/openpnm/algorithms/ReactiveTransport.py b/openpnm/algorithms/ReactiveTransport.py index <HASH>..<HASH> 100644 --- a/openpnm/algorithms/ReactiveTransport.py +++ b/openpnm/algorithms/ReactiveTransport.py @@ -108,8 +108,8 @@ class ReactiveTransport(GenericTransport): self[self.settings['quant...
Fixed bug in ReactiveTransport, set_source used to override BCs
py
diff --git a/rest_api/sawtooth_rest_api/exceptions.py b/rest_api/sawtooth_rest_api/exceptions.py index <HASH>..<HASH> 100644 --- a/rest_api/sawtooth_rest_api/exceptions.py +++ b/rest_api/sawtooth_rest_api/exceptions.py @@ -81,7 +81,7 @@ class ValidatorTimedOut(_ApiError): status_code = 503 title = 'Validator ...
Tweak REST API error messages to be more accurate
py
diff --git a/hdl_toolkit/simulator/agents/signal.py b/hdl_toolkit/simulator/agents/signal.py index <HASH>..<HASH> 100644 --- a/hdl_toolkit/simulator/agents/signal.py +++ b/hdl_toolkit/simulator/agents/signal.py @@ -2,8 +2,8 @@ from hdl_toolkit.simulator.agents.agentBase import AgentBase from hdl_toolkit.hdlObjects.spe...
fix: wait on right event before reading
py
diff --git a/tools/show-coverage.py b/tools/show-coverage.py index <HASH>..<HASH> 100644 --- a/tools/show-coverage.py +++ b/tools/show-coverage.py @@ -88,7 +88,11 @@ def main(args): files = args[1:] files.sort() for file in files: - if 'flumotion.test' in file: + if 'feat.test' in file: + ...
Exclude test, interface and extern modules from coverage report.
py
diff --git a/spyder/preferences/languageserver.py b/spyder/preferences/languageserver.py index <HASH>..<HASH> 100644 --- a/spyder/preferences/languageserver.py +++ b/spyder/preferences/languageserver.py @@ -862,7 +862,7 @@ class LSPManagerConfigPage(GeneralConfigPage): word_wrap=False) advanced_po...
Preferences: Change variable name for advanced/external option
py
diff --git a/src/TkExscript/QueueWidget.py b/src/TkExscript/QueueWidget.py index <HASH>..<HASH> 100644 --- a/src/TkExscript/QueueWidget.py +++ b/src/TkExscript/QueueWidget.py @@ -49,7 +49,7 @@ class _ConnectionWatcher(object): self.buffer = '' self.widget = None self.conn = conn - se...
TkExscript.QueueWindow: fix monitoring of the conversation with the device.
py
diff --git a/plexapi/__init__.py b/plexapi/__init__.py index <HASH>..<HASH> 100644 --- a/plexapi/__init__.py +++ b/plexapi/__init__.py @@ -5,9 +5,9 @@ from platform import uname from plexapi.config import PlexConfig, reset_base_headers from uuid import getnode - # Load User Defined Config -CONFIG_PATH = os.path.ex...
Optional environment variable PLEX_CONFIG_PATH if you want something other than the default
py
diff --git a/salt/auth/__init__.py b/salt/auth/__init__.py index <HASH>..<HASH> 100644 --- a/salt/auth/__init__.py +++ b/salt/auth/__init__.py @@ -6,6 +6,8 @@ This system allows for authentication to be managed in a module pluggable way so that any external authentication system can be used inside of Salt ''' +from...
iteritems etc support for auth package
py
diff --git a/pycanlib/CAN.py b/pycanlib/CAN.py index <HASH>..<HASH> 100644 --- a/pycanlib/CAN.py +++ b/pycanlib/CAN.py @@ -633,7 +633,7 @@ class Bus(object): _id_type = ID_TYPE_EXT else: _id_type = ID_TYPE_STD - _rx_msg = Message(arb_id=_arb_id.value, data=_d...
Fixed NameError when creating received CAN message
py
diff --git a/pipenv/project.py b/pipenv/project.py index <HASH>..<HASH> 100644 --- a/pipenv/project.py +++ b/pipenv/project.py @@ -623,7 +623,11 @@ class Project(object): ) data[section][package].update(_data) formatted_data = toml.dumps(data).rstrip() - ...
normpath(abspath()) for path comparison
py
diff --git a/travis2docker/travis2docker.py b/travis2docker/travis2docker.py index <HASH>..<HASH> 100755 --- a/travis2docker/travis2docker.py +++ b/travis2docker/travis2docker.py @@ -341,6 +341,7 @@ class travis(object): "\nRUN find {1} ! -group {0} -exec {2} chown {0}:{0} {{}} \;".format( # noqa ...
[IMP] add symlink to authorized_keys
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ def read_to_rst(fname): try: import pypandoc rstname = "{}.{}".format(os.path.splitext(fname)[0], 'rst') - pypandoc.convert(read(fname), 'rst', outputfile=rstname) + pypandoc...
[kern] covariance plot also testing no limit
py
diff --git a/h2o-py/h2o/frame.py b/h2o-py/h2o/frame.py index <HASH>..<HASH> 100644 --- a/h2o-py/h2o/frame.py +++ b/h2o-py/h2o/frame.py @@ -425,6 +425,9 @@ class H2OFrame(object): print(self.head().as_data_frame(fill_cache=True)) else: s = self.__unicode__() + ...
[PUBDEV-<I>] - added newline when printing H2OFrame in IPython
py
diff --git a/scripts/meta_transfer_as_rename2workload.py b/scripts/meta_transfer_as_rename2workload.py index <HASH>..<HASH> 100644 --- a/scripts/meta_transfer_as_rename2workload.py +++ b/scripts/meta_transfer_as_rename2workload.py @@ -215,7 +215,7 @@ class Workload(object): if not self._belong_pod(nodename): ...
fix: migration tool will migrate workloads (#<I>)
py
diff --git a/climlab/surface/turbulent.py b/climlab/surface/turbulent.py index <HASH>..<HASH> 100644 --- a/climlab/surface/turbulent.py +++ b/climlab/surface/turbulent.py @@ -33,8 +33,10 @@ class SensibleHeatFlux(SurfaceFlux): Ta = self.Tatm[..., -1, np.newaxis] Ts = self.Ts DeltaT = Ts - Ta ...
Also retrieve surface pressure from model grid (instead of using <I> hPa) in calculation of surface air density for turbulent bulk formulas.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ long_description = "%s" % readme setup( name='pysparklines', - version=0.4, + version=0.5, description="pysparklines is a unicode sparkline generation library.", long_description=long_descr...
update version again, removed extraneous return
py
diff --git a/sportsref/utils.py b/sportsref/utils.py index <HASH>..<HASH> 100644 --- a/sportsref/utils.py +++ b/sportsref/utils.py @@ -176,6 +176,7 @@ def rel_url_to_id(url): * boxscores/... * teams/... * years/... + * leagues/... * coaches/... * officials/... * schools/... @@ -193,6 +1...
added leagues/... to rel_url_to_id
py
diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/commands/env/start.py b/datadog_checks_dev/datadog_checks/dev/tooling/commands/env/start.py index <HASH>..<HASH> 100644 --- a/datadog_checks_dev/datadog_checks/dev/tooling/commands/env/start.py +++ b/datadog_checks_dev/datadog_checks/dev/tooling/commands/env/st...
Reload environments if there are extra startup commands (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setup( classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console :: Curses', - 'Framework :: Twisted', + 'Framework :: AsyncIO', 'Intended Audience :: ...
setup: change twisted framework to asyncio framework
py