hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
1cd4935dcdfce7ec558fa68f2f61a89ff6440513
diff --git a/sgp4/__init__.py b/sgp4/__init__.py index <HASH>..<HASH> 100644 --- a/sgp4/__init__.py +++ b/sgp4/__init__.py @@ -27,18 +27,13 @@ comprehensive astronomy library that is built atop this one, like the http://rhodesmill.org/skyfield/earth-satellites.html -To run the test suite for this module, clone its...
Add description of “tox” to docs for developers Inspired by discussion on #<I>.
brandon-rhodes_python-sgp4
train
dffdfbfd015bf1f413a99f28b7c21a294fac4033
diff --git a/lib/feidee_utils/category.rb b/lib/feidee_utils/category.rb index <HASH>..<HASH> 100644 --- a/lib/feidee_utils/category.rb +++ b/lib/feidee_utils/category.rb @@ -13,6 +13,28 @@ module FeideeUtils raise "Category usedCount should always be 0, but it's #{field["usedCount"]}.\n" + inspect unless field[...
Add global validation of project root to category.
muyiliqing_feidee_utils
train
6bf8a38c11040d136bbc7e12a6716f0f0d8ec257
diff --git a/src/Console/Commands/ModuleSeedCommand.php b/src/Console/Commands/ModuleSeedCommand.php index <HASH>..<HASH> 100644 --- a/src/Console/Commands/ModuleSeedCommand.php +++ b/src/Console/Commands/ModuleSeedCommand.php @@ -86,8 +86,8 @@ class ModuleSeedCommand extends Command $module = $this->module->w...
Fixed incorrect reference in Seed Command (#<I>) The seed command attempted to make the fullPath using the "name" attribute. Resolved by using "basename" instead.
caffeinated_modules
train
1215443133595f5f465c140ea2504fc9e2749b43
diff --git a/juju/model.py b/juju/model.py index <HASH>..<HASH> 100644 --- a/juju/model.py +++ b/juju/model.py @@ -845,6 +845,9 @@ class Model: log.debug('Resetting model') for app in self.applications.values(): await app.destroy() + await self.block_until( + lambda: len...
Wait for applications to terminate on model reset Model.reset() does not wait for all applications to terminiate even though it does wait for all machines to terminate. This commit fixes the issue by blocking until the application count is zero.
juju_python-libjuju
train
ee64999cf5cd3f529fd674ff941cffe12e74e011
diff --git a/lib/mail/fields/unstructured_field.rb b/lib/mail/fields/unstructured_field.rb index <HASH>..<HASH> 100644 --- a/lib/mail/fields/unstructured_field.rb +++ b/lib/mail/fields/unstructured_field.rb @@ -153,6 +153,8 @@ module Mail end def encode(value) + value.gsub!("\r", "=0D") + value.gs...
Adding escaping of CR and LF in unstructured field quoted printable
mikel_mail
train
51835dc0912b7a0b894bc0fdbfce167aea88f4cb
diff --git a/interop/grpclb_fallback/client_linux.go b/interop/grpclb_fallback/client_linux.go index <HASH>..<HASH> 100644 --- a/interop/grpclb_fallback/client_linux.go +++ b/interop/grpclb_fallback/client_linux.go @@ -99,7 +99,6 @@ func dialTCPUserTimeout(ctx context.Context, addr string) (net.Conn, error) { func cre...
xds: Remove WithBlock option from the fallback test client (#<I>)
grpc_grpc-go
train
619b751d25907789d386c2593d7b0556954cad67
diff --git a/demo/monkey-patching/MyClass.php b/demo/monkey-patching/MyClass.php index <HASH>..<HASH> 100644 --- a/demo/monkey-patching/MyClass.php +++ b/demo/monkey-patching/MyClass.php @@ -1,5 +1,4 @@ <?php - class MyClass { public function foo() diff --git a/src/Util/Autoload/ClassLoaderMethod/FileCacheLoade...
Fix broken compat with Roave\Signature
Roave_BetterReflection
train
b94d61c8f9855a40b14d2b6108900dd9c802323c
diff --git a/src/post-massage-spec.js b/src/post-massage-spec.js index <HASH>..<HASH> 100644 --- a/src/post-massage-spec.js +++ b/src/post-massage-spec.js @@ -5,25 +5,25 @@ var chai = require('chai'), describe('PostMassage', function() { - var mockWindow, lastLogMsg; + var lastLogMsg; var myNameSpace = 'myCoo...
line <I> of post-massage.js was binding the listener to the remote window instead of this window's window. Renamed mockWindow to just window because I can and it then feels like the real global window object.
tkasten_postMassage
train
3ee93c5dd4ddf43005d2c7742f45b585a62ae7e4
diff --git a/test/environment.js b/test/environment.js index <HASH>..<HASH> 100644 --- a/test/environment.js +++ b/test/environment.js @@ -5,5 +5,9 @@ global.document = document; global.window = document.parentWindow; global.navigator = window.navigator; +// Leaving Jasmine expect available for spies +global.jasmin...
Moving chai.expect to be the global expect, while leaving Jasmine's accessible
wayfair_tungstenjs
train
1e9bedcf4f62cd9e04f694bf93dd5c4224c54b84
diff --git a/proso_models/management/commands/recompute_model.py b/proso_models/management/commands/recompute_model.py index <HASH>..<HASH> 100644 --- a/proso_models/management/commands/recompute_model.py +++ b/proso_models/management/commands/recompute_model.py @@ -125,7 +125,7 @@ class Command(BaseCommand): ...
fix recompute_model command
adaptive-learning_proso-apps
train
a0dad38c532a747995f8f18c5871c27376198101
diff --git a/system/Database/Seeder.php b/system/Database/Seeder.php index <HASH>..<HASH> 100644 --- a/system/Database/Seeder.php +++ b/system/Database/Seeder.php @@ -154,6 +154,9 @@ class Seeder throw new \InvalidArgumentException('The specified Seeder is not a valid file: ' . $path); } + // Assume the cl...
Seeder adds default namespace to seeds when no namespace has been provided. Fixes #<I>
codeigniter4_CodeIgniter4
train
7c7c8792e9cbb5a932f05c4108383efcc62df8c3
diff --git a/galpy/orbit_src/Orbit.py b/galpy/orbit_src/Orbit.py index <HASH>..<HASH> 100644 --- a/galpy/orbit_src/Orbit.py +++ b/galpy/orbit_src/Orbit.py @@ -2,7 +2,7 @@ import numpy as nu import galpy.util.bovy_coords as coords from FullOrbit import FullOrbit from RZOrbit import RZOrbit -from planarOrbit import pl...
add support for adding planarOrbits to linearOrbits
jobovy_galpy
train
3e9182e5dc6e855f15585f9d2a6ae583b2ed6aca
diff --git a/lib/ds/RequestExecutor.js b/lib/ds/RequestExecutor.js index <HASH>..<HASH> 100644 --- a/lib/ds/RequestExecutor.js +++ b/lib/ds/RequestExecutor.js @@ -1,5 +1,7 @@ 'use strict'; +var os = require('os'); + var request = require('request'); var _ = require('../underscore'); @@ -9,7 +11,7 @@ var packageJ...
Adding in more appropriate user agent string.
stormpath_stormpath-sdk-node
train
9f6aeadec7b467ca3b9bd1d349cb447980ff61ce
diff --git a/cwltool/executors.py b/cwltool/executors.py index <HASH>..<HASH> 100644 --- a/cwltool/executors.py +++ b/cwltool/executors.py @@ -82,20 +82,20 @@ class JobExecutor(with_metaclass(ABCMeta, object)): elif ("cwl:defaults" in process.metadata and "cwl:requirements" in process.metadata["...
style: add None checks to executors
common-workflow-language_cwltool
train
6428b56b5c096b7530205f0bc8e8c17614b8599d
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, find_packages setup( name="OLCTools", - version="0.9.5", + version="0.9.6", packages=find_packages(), include_package_data=True, author="Andrew Low", diff...
Updated parsing rules to allow for insertions that seem to show up when allowing soft clips
lowandrew_OLCTools
train
6750d230ff050cb5ed4cf3cfe810cdf1ed4ac456
diff --git a/jupyter_server_proxy/handlers.py b/jupyter_server_proxy/handlers.py index <HASH>..<HASH> 100644 --- a/jupyter_server_proxy/handlers.py +++ b/jupyter_server_proxy/handlers.py @@ -140,7 +140,7 @@ class ProxyHandler(WebSocketHandlerMixin, IPythonHandler): else: client_path = proxied_path...
Remove the fix see if it fails
jupyterhub_jupyter-server-proxy
train
d6c16c15fc3ac3197fa281e5a5918a6091f4ec72
diff --git a/features/step_definitions/cli-feature.rb b/features/step_definitions/cli-feature.rb index <HASH>..<HASH> 100644 --- a/features/step_definitions/cli-feature.rb +++ b/features/step_definitions/cli-feature.rb @@ -8,5 +8,5 @@ When /^I execute "(.*?)"$/ do |arg1| end Then(/^I expect the named output to matc...
Ignore added time stamp in regression tests
pjotrp_bioruby-vcf
train
fa66e3425a0f9c257cf5df5a8b2d9c3146b06d5e
diff --git a/lib/chef_attrdoc.rb b/lib/chef_attrdoc.rb index <HASH>..<HASH> 100644 --- a/lib/chef_attrdoc.rb +++ b/lib/chef_attrdoc.rb @@ -115,6 +115,10 @@ module ChefAttrdoc def to_s strings = [] + # ignore the starting comments in a file, these are usually + # shebangs, copyright statements, e...
fix ignoring first comments in a file
mapleoin_chef_attrdoc
train
212efa578a2bdd0e3686acb4a1cfd5ae27360fef
diff --git a/cmd/dist/rootfs.go b/cmd/dist/rootfs.go index <HASH>..<HASH> 100644 --- a/cmd/dist/rootfs.go +++ b/cmd/dist/rootfs.go @@ -110,7 +110,6 @@ var rootfsInitCommand = cli.Command{ for _, m := range resp.Mounts { fmt.Fprintf(os.Stdout, "mount -t %s %s %s -o %s\n", m.Type, m.Source, target, strings.Join(m....
Remove get function from rootfs The service can use the snapshotter directly to get the rootfs. Removed debug line for mount response.
containerd_containerd
train
0456b73b3c17da36b8763fbf6dfdfcccaec3fa78
diff --git a/lib/asi_bod/cli.rb b/lib/asi_bod/cli.rb index <HASH>..<HASH> 100644 --- a/lib/asi_bod/cli.rb +++ b/lib/asi_bod/cli.rb @@ -11,12 +11,24 @@ module AsiBod include GLI::App GPARENT = GLI::Command::PARENT + + KEY_ORDER = {address: 0, + name: 1, + description: 2, + ...
<I> Fixed issues with view switches. Added ability to order them
rberger_asi_bod
train
9e92ddfb0c2ef5d1375860f4f9a435305d81a106
diff --git a/vendor/joomla/administrator/components/com_modules/admin.modules.html.php b/vendor/joomla/administrator/components/com_modules/admin.modules.html.php index <HASH>..<HASH> 100644 --- a/vendor/joomla/administrator/components/com_modules/admin.modules.html.php +++ b/vendor/joomla/administrator/components/com_...
removed the editor until we completely remove this legacy component in the next release.
anahitasocial_anahita
train
7edd24e4cc739e3ae29dfb3bcad7a0178f15a5d6
diff --git a/src/main/java/stormpot/AllocationProcess.java b/src/main/java/stormpot/AllocationProcess.java index <HASH>..<HASH> 100644 --- a/src/main/java/stormpot/AllocationProcess.java +++ b/src/main/java/stormpot/AllocationProcess.java @@ -25,7 +25,7 @@ abstract class AllocationProcess { PoolBuilder<T> builde...
More sensible AllocationProcess names and PoolBuilder argument order
chrisvest_stormpot
train
904d3b766b145f198866eb891df0cbd47ab7351b
diff --git a/src/concurrency/api.py b/src/concurrency/api.py index <HASH>..<HASH> 100644 --- a/src/concurrency/api.py +++ b/src/concurrency/api.py @@ -111,7 +111,7 @@ class disable_concurrency(object): self.old_value = conf.ENABLED self.concurrency_managed = (model is None) or hasattr(model, '_concurr...
add start()/finish() to disable_concurrency()
saxix_django-concurrency
train
d0cef40f47c5a032b396c54912bf965615359486
diff --git a/tornado/simple_httpclient.py b/tornado/simple_httpclient.py index <HASH>..<HASH> 100644 --- a/tornado/simple_httpclient.py +++ b/tornado/simple_httpclient.py @@ -135,10 +135,14 @@ class SimpleAsyncHTTPClient(AsyncHTTPClient): release_callback = functools.partial(self._release_fetch, key) ...
Add a couple of private subclsasing hooks in simple_httpclient.
tornadoweb_tornado
train
692238f27545b7dd3a19ba42eeb6d0b1c4ff150c
diff --git a/main/boofcv-ip/src/main/java/boofcv/alg/misc/ImageMiscOps.java b/main/boofcv-ip/src/main/java/boofcv/alg/misc/ImageMiscOps.java index <HASH>..<HASH> 100644 --- a/main/boofcv-ip/src/main/java/boofcv/alg/misc/ImageMiscOps.java +++ b/main/boofcv-ip/src/main/java/boofcv/alg/misc/ImageMiscOps.java @@ -2097,7 +2...
- Longs were not handled correctly * Need to update generator * Future me will hate that I didn't do that
lessthanoptimal_BoofCV
train
854f4012c0e7f9c58128a649bcf5e279aca9d807
diff --git a/airflow/jobs.py b/airflow/jobs.py index <HASH>..<HASH> 100644 --- a/airflow/jobs.py +++ b/airflow/jobs.py @@ -650,6 +650,8 @@ class SchedulerJob(BaseJob): self.logger.error("Tachycardia!") except Exception as deep_e: self.logger.exception(deep_e) + ...
Call `Session.remove` after each run, to survive DB restart Without this, we get the following exception for subsequent runs after a DB restart, indefinitely: sqlalchemy.exc.InvalidRequestError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transa...
apache_airflow
train
a7b2cdccfe79c9e6f6583bd7f6f1a051fb58827b
diff --git a/lib/mixpanel/utils.rb b/lib/mixpanel/utils.rb index <HASH>..<HASH> 100644 --- a/lib/mixpanel/utils.rb +++ b/lib/mixpanel/utils.rb @@ -16,11 +16,17 @@ module Mixpanel # Copyright (c) 2009+ Keolo Keagy # See LICENSE for details module Utils - # Return a string composed of hashed values sp...
Line length of Utils class.
keolo_mixpanel_client
train
eedbc8bb95a304c6e0f4b87298f8c576cb4b546e
diff --git a/src/Container/HArraySlice.php b/src/Container/HArraySlice.php index <HASH>..<HASH> 100644 --- a/src/Container/HArraySlice.php +++ b/src/Container/HArraySlice.php @@ -23,7 +23,7 @@ class HArraySlice */ public function slice($start, $length) { - if ($start === null || !is_numeric($star...
Remove null-check when a value is required
ericpoe_haystack
train
004210d3e6d13415be27a94e37a86e6f75cca761
diff --git a/src/ProcessManager.php b/src/ProcessManager.php index <HASH>..<HASH> 100644 --- a/src/ProcessManager.php +++ b/src/ProcessManager.php @@ -129,6 +129,11 @@ class ProcessManager protected $port = 8080; /** + * @var bool + */ + protected $inChangesDetectionCycle = false; + + /** ...
Avoid excessive slave restarts when multiple watched files change (#<I>)
php-pm_php-pm
train
afedf69d2669e7deca0acdad9b55a4540576111f
diff --git a/tests/Ackintosh/GaneshaTest.php b/tests/Ackintosh/GaneshaTest.php index <HASH>..<HASH> 100644 --- a/tests/Ackintosh/GaneshaTest.php +++ b/tests/Ackintosh/GaneshaTest.php @@ -2,7 +2,6 @@ namespace Ackintosh; use Ackintosh\Ganesha\Builder; -use Ackintosh\Ganesha\Storage; use Ackintosh\Ganesha\Storage\Ad...
Delete unused `use`
ackintosh_ganesha
train
52f9778c6a9d1c31236d44d380bf91b49d33b371
diff --git a/packages/node_modules/@webex/internal-plugin-encryption/test/integration/spec/kms.js b/packages/node_modules/@webex/internal-plugin-encryption/test/integration/spec/kms.js index <HASH>..<HASH> 100644 --- a/packages/node_modules/@webex/internal-plugin-encryption/test/integration/spec/kms.js +++ b/packages/n...
test(encryption): skip broken test
webex_spark-js-sdk
train
4dd35f1660604d201f0c31a3f2d8eae9b6b71a3f
diff --git a/cmd/shield/main.go b/cmd/shield/main.go index <HASH>..<HASH> 100644 --- a/cmd/shield/main.go +++ b/cmd/shield/main.go @@ -173,6 +173,14 @@ func main() { } sort.Strings(indices) + if *opts.Raw { + arr := []map[string]string{} + for _, alias := range indices { + arr = append(arr, map[st...
list backends now supports raw output (#<I>)
starkandwayne_shield
train
f190120ea3c5264efd0d7e6a6d92d2b360024bfc
diff --git a/intranet/apps/eighth/views/admin/attendance.py b/intranet/apps/eighth/views/admin/attendance.py index <HASH>..<HASH> 100644 --- a/intranet/apps/eighth/views/admin/attendance.py +++ b/intranet/apps/eighth/views/admin/attendance.py @@ -278,16 +278,23 @@ def activities_without_attendance_view(request): ...
mark absent when taking attendance for restricted activities bulk
tjcsl_ion
train
6afedc039446712fa8163216bb26546f93fed13e
diff --git a/spyderlib/utils/__init__.py b/spyderlib/utils/__init__.py index <HASH>..<HASH> 100644 --- a/spyderlib/utils/__init__.py +++ b/spyderlib/utils/__init__.py @@ -40,17 +40,28 @@ def count_lines(path, extensions=None, excluded_dirnames=None): '.f', '.for', '.f90', '.f77'] if exclude...
Source code lines count: only directories were supported
spyder-ide_spyder
train
61343c48e8555771db3dc8747cbffd4b29cd0d13
diff --git a/src/index.js b/src/index.js index <HASH>..<HASH> 100644 --- a/src/index.js +++ b/src/index.js @@ -31,7 +31,11 @@ function setContent( content, options ) { } setContent.withSelection = function( content, options ) { - + return setContent( content, options ) + .then( editor => { + //...
SetContent.withSelection sets the content and returns correct promise. Added further tests.
mlewand-org_vscode-test-set-content
train
d791c82d04b43782d87ccbc56bc2eeb61fad8ff5
diff --git a/lib/waterline/utils/query/help-find.js b/lib/waterline/utils/query/help-find.js index <HASH>..<HASH> 100644 --- a/lib/waterline/utils/query/help-find.js +++ b/lib/waterline/utils/query/help-find.js @@ -412,7 +412,7 @@ module.exports = function helpFind(WLModel, s2q, done) { var childRecordsB...
Handle column names for to-one FKs correctly.
balderdashy_waterline
train
e6214211aa2f94626ba99309fce5444ae658226b
diff --git a/renga/api/explorer.py b/renga/api/explorer.py index <HASH>..<HASH> 100644 --- a/renga/api/explorer.py +++ b/renga/api/explorer.py @@ -64,7 +64,7 @@ class ExplorerApiMixin(object): if resp.status_code == 200: return [_flatten_vertex(vertex) for vertex in resp.json()] else: - ...
api: collection of files in bucket
SwissDataScienceCenter_renku-python
train
0441ac7d72698581388d5a4d0de7750e46926cef
diff --git a/lime/lime_tabular.py b/lime/lime_tabular.py index <HASH>..<HASH> 100644 --- a/lime/lime_tabular.py +++ b/lime/lime_tabular.py @@ -89,11 +89,17 @@ class TableDomainMapper(explanation.DomainMapper): # Sparse case: only display the non-zero values and importances fnames = [self.exp_f...
fix output order in visualize to be sorted in sparse case similar to dense case
marcotcr_lime
train
80b91983c97db284ce39a695cc0258902e1d70a9
diff --git a/kconfiglib.py b/kconfiglib.py index <HASH>..<HASH> 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1446,8 +1446,7 @@ class Kconfig(object): node = MenuNode() node.kconfig = self node.item = sym - node.help = None - node.lis...
Micro-optimize Symbol.__init__() a bit Chained assignments turn a bunch of LOAD_CONSTs into DUP_TOPs. Shaves ~<I>% off the runtime of _lookup_sym(). Do the same for Choice.__init__(), just for consistency. Remove an accidental duplicated assigment to 'defaults' too.
ulfalizer_Kconfiglib
train
c87d05de9adec7c0332167c6560a8d23f8b88e89
diff --git a/headintheclouds/ec2.py b/headintheclouds/ec2.py index <HASH>..<HASH> 100644 --- a/headintheclouds/ec2.py +++ b/headintheclouds/ec2.py @@ -10,7 +10,6 @@ import sys import os import fabric.contrib.project as project import cPickle -import numpy as np import re from collections import defaultdict @@ -5...
don't require pyfscache
andreasjansson_head-in-the-clouds
train
80f6380525ae9ffb06e6c874b04164d8f7fce58d
diff --git a/src/Palladium/Mapper/EmailIdentity.php b/src/Palladium/Mapper/EmailIdentity.php index <HASH>..<HASH> 100644 --- a/src/Palladium/Mapper/EmailIdentity.php +++ b/src/Palladium/Mapper/EmailIdentity.php @@ -88,6 +88,7 @@ class EmailIdentity extends DataMapper private function fetchById(Entity\EmailIdentity...
Retrieve identifier field, when locating email identity by ID
teresko_palladium
train
fd039072c7649140a5719893c4d417dec8548f72
diff --git a/inc/modules/export/htmlbook/class-htmlbook.php b/inc/modules/export/htmlbook/class-htmlbook.php index <HASH>..<HASH> 100644 --- a/inc/modules/export/htmlbook/class-htmlbook.php +++ b/inc/modules/export/htmlbook/class-htmlbook.php @@ -1098,7 +1098,7 @@ class HTMLBook extends Export { if ( $sections ...
Strip shortcodes for pdf (#<I>)
pressbooks_pressbooks
train
8202dcdf8fbe5484505ae106776f6fd81f4692e7
diff --git a/lib/gitolite/gitolite_admin.rb b/lib/gitolite/gitolite_admin.rb index <HASH>..<HASH> 100644 --- a/lib/gitolite/gitolite_admin.rb +++ b/lib/gitolite/gitolite_admin.rb @@ -1,6 +1,6 @@ module Gitolite class GitoliteAdmin - attr_accessor :gl_admin, :ssh_keys, :config + attr_accessor :gl_admin ...
Lazy load config and ssh keys
wingrunr21_gitolite
train
6bb6fe8dd3c48a37d79dd01a66cf5624d67ccce8
diff --git a/test/test_crispy.rb b/test/test_crispy.rb index <HASH>..<HASH> 100644 --- a/test/test_crispy.rb +++ b/test/test_crispy.rb @@ -1,7 +1,8 @@ +require_relative 'test_helper' + $VERBOSE = true # enable warnings require 'crispy' -require_relative 'test_helper' require 'minitest/autorun' class TestCrispy ...
move test_helper to the very first line of test The codeclimate's document says we must CodeClimate::TestReporter.start on the very first line, so I think requiring test_helper at first in test_crispy.rb enables to measure the coverage again
igrep_crispy
train
3748f6eb2cf368d6a78fb1ef50c2724648d96a9b
diff --git a/lib/virtus/attribute.rb b/lib/virtus/attribute.rb index <HASH>..<HASH> 100644 --- a/lib/virtus/attribute.rb +++ b/lib/virtus/attribute.rb @@ -18,7 +18,7 @@ module Virtus class Attribute extend DescendantsTracker, Options, TypeLookup - include ::Equalizer.new(:type, :options) + include Equal...
Use Virtus::Equalizer instead of Equalizer gem in Virtus#Attribute (behavior preserved)
solnic_virtus
train
69bdd3185322ffc0f4aa26cac90b545fbb806eaa
diff --git a/state/watcher/hubwatcher.go b/state/watcher/hubwatcher.go index <HASH>..<HASH> 100644 --- a/state/watcher/hubwatcher.go +++ b/state/watcher/hubwatcher.go @@ -17,6 +17,11 @@ type HubSource interface { SubscribeMatch(matcher func(string) bool, handler func(string, interface{})) func() } +// filterFactor...
Track max len and average len of sync queue.
juju_juju
train
f7c3d931b1bce7892de33652b8e7b346d9440d49
diff --git a/alot/buffer.py b/alot/buffer.py index <HASH>..<HASH> 100644 --- a/alot/buffer.py +++ b/alot/buffer.py @@ -147,3 +147,39 @@ class SingleThreadBuffer(Buffer): def get_selected_message_file(self): return self.get_selected_message().get_filename() + + +class TagListBuffer(Buffer): + def __in...
simple taglist bound to 'L'. Later on, i want an interactive one! keypresses in prompt should update the displayed taglist..
pazz_alot
train
6e5f674cfd1353ab38ec3a1c60ebd5274ae4609e
diff --git a/spec/gulp-run.js b/spec/gulp-run.js index <HASH>..<HASH> 100644 --- a/spec/gulp-run.js +++ b/spec/gulp-run.js @@ -36,7 +36,9 @@ describe('gulp-run', function () { }); - it('supports multiple verbosity levels', function (done) { + // Skip this test since the output conflicts with the test runner. + //...
Skip verbosity test :lipstick: Because the test prints, it makes the test runner's output ugly
m19c_gulp-run
train
f66be91a099d2542ded093b9684073552013ada4
diff --git a/edisgo/grid/components.py b/edisgo/grid/components.py index <HASH>..<HASH> 100644 --- a/edisgo/grid/components.py +++ b/edisgo/grid/components.py @@ -448,12 +448,6 @@ class GeneratorFluctuating(Generator): "given.".format(self.type)) raise - ...
Changes to calculation of timeseries after curtailment modified to ensure re-subtracting timeseries everytime timeseries is called after curtailment and removed some miscalculation of curtailment
openego_eDisGo
train
324b198da8b1d0bf7103d44653804f06c52b7e40
diff --git a/app/src/main/java/com/gimbal/hello_gimbal_android/AppService.java b/app/src/main/java/com/gimbal/hello_gimbal_android/AppService.java index <HASH>..<HASH> 100644 --- a/app/src/main/java/com/gimbal/hello_gimbal_android/AppService.java +++ b/app/src/main/java/com/gimbal/hello_gimbal_android/AppService.java @...
GS-<I> Removing the hard coded api key
gimbalinc_hello-gimbal-android
train
d82d4a9064ab27949a3d8270cad654d2456f414b
diff --git a/nidmresults/objects/generic.py b/nidmresults/objects/generic.py index <HASH>..<HASH> 100644 --- a/nidmresults/objects/generic.py +++ b/nidmresults/objects/generic.py @@ -125,7 +125,7 @@ class CoordinateSpace(NIDMObject): vox_size=None, dimensions=None, numdim=None, units=None, ...
changed tolist to list as no longer a nparray but instead a tuple
incf-nidash_nidmresults
train
28e76d4b3e2e46947872257d8dea0b64187d2d94
diff --git a/lib/podio/areas/contact.rb b/lib/podio/areas/contact.rb index <HASH>..<HASH> 100644 --- a/lib/podio/areas/contact.rb +++ b/lib/podio/areas/contact.rb @@ -37,6 +37,10 @@ module Podio list Podio.connection.get("/contact/connection/#{connection_id}").body end + def find_all_for_connection_typ...
find all contacts for a certain connection type
podio_podio-rb
train
352902556e42b417e42f459ca4bf759fc08e6615
diff --git a/modeltranslation/admin.py b/modeltranslation/admin.py index <HASH>..<HASH> 100644 --- a/modeltranslation/admin.py +++ b/modeltranslation/admin.py @@ -4,14 +4,18 @@ from copy import deepcopy import django from django.contrib import admin from django.contrib.admin.options import BaseModelAdmin, flatten_fi...
Update deprecated imports with Django >= <I>
deschler_django-modeltranslation
train
456a9e2414a1d4d0cf35a82306a020179d3d4871
diff --git a/estnltk/corpus_processing/parse_enc2017.py b/estnltk/corpus_processing/parse_enc2017.py index <HASH>..<HASH> 100644 --- a/estnltk/corpus_processing/parse_enc2017.py +++ b/estnltk/corpus_processing/parse_enc2017.py @@ -22,6 +22,7 @@ from typing import Iterable from logging import Logger from logging imp...
Updated parse_enc<I> : made parsing more tolerant to systemic XML malformations appearing in 'etnc<I>_wikipedia_<I>.vert'
estnltk_estnltk
train
96456a334756aa295f006a47bf0055c5982ed1cd
diff --git a/news-bundle/src/Resources/contao/classes/News.php b/news-bundle/src/Resources/contao/classes/News.php index <HASH>..<HASH> 100644 --- a/news-bundle/src/Resources/contao/classes/News.php +++ b/news-bundle/src/Resources/contao/classes/News.php @@ -474,7 +474,7 @@ class News extends \Frontend } // Lin...
[News] Correctly handle target pages with UTF-8 characters (see contao/core#<I>).
contao_contao
train
fe56dd7d7df9243daf8ac5b7b2183fba81247611
diff --git a/lib/Orkestra/Transactor/Entity/AbstractAccount.php b/lib/Orkestra/Transactor/Entity/AbstractAccount.php index <HASH>..<HASH> 100644 --- a/lib/Orkestra/Transactor/Entity/AbstractAccount.php +++ b/lib/Orkestra/Transactor/Entity/AbstractAccount.php @@ -45,7 +45,7 @@ abstract class AbstractAccount extends Abst...
Added initialization to AbstractAccount $lastFour
orkestra_orkestra-transactor
train
e6b1c9d70f221c1832f1da9d140ff42321530968
diff --git a/astroid/brain/py2stdlib.py b/astroid/brain/py2stdlib.py index <HASH>..<HASH> 100644 --- a/astroid/brain/py2stdlib.py +++ b/astroid/brain/py2stdlib.py @@ -397,6 +397,8 @@ def multiprocessing_managers_transform(): Value = Value Array = Array Namespace = Namespace + __enter__...
SyncManager is a context manager as well.
PyCQA_astroid
train
e8402ee6ecc8610d44f9a99a324b90498e151a08
diff --git a/django_extensions/management/commands/notes.py b/django_extensions/management/commands/notes.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/commands/notes.py +++ b/django_extensions/management/commands/notes.py @@ -55,5 +55,7 @@ class Command(BaseCommand): if...
restructure if statement, so its easier in the future to remove this once python2 is unsupported
django-extensions_django-extensions
train
c1742272f1ce7e73981c6f1f05d0e2d7e790a0b3
diff --git a/closure/goog/ui/ac/richremotearraymatcher.js b/closure/goog/ui/ac/richremotearraymatcher.js index <HASH>..<HASH> 100644 --- a/closure/goog/ui/ac/richremotearraymatcher.js +++ b/closure/goog/ui/ac/richremotearraymatcher.js @@ -58,8 +58,7 @@ goog.ui.ac.RichRemoteArrayMatcher = function(url, opt_noSimilar) { ...
RELNOTES[INC]: Remove eval from RichRemoteArrayMatcher. All users have been converted to explicitly call setRowBuilder. Its default implementation is not used anymore so we can remove the eval from it. ------------- Created by MOE: <URL>
google_closure-library
train
5039aff4c7ac6bb6d806b8fe3b42f158714a9b16
diff --git a/src/Spatie/Geocoder/Geocoder.php b/src/Spatie/Geocoder/Geocoder.php index <HASH>..<HASH> 100644 --- a/src/Spatie/Geocoder/Geocoder.php +++ b/src/Spatie/Geocoder/Geocoder.php @@ -13,5 +13,5 @@ interface Geocoder */ const RESULT_NOT_FOUND = 'NOT FOUND'; - public function getCoordinatesForQuer...
Updated getCoordinatesForQuery in Geocoder Interface (#<I>)
spatie_geocoder
train
d8561ab91fce689f9f9e24c1d9e487d04bae70f7
diff --git a/templates/tape/test.js b/templates/tape/test.js index <HASH>..<HASH> 100644 --- a/templates/tape/test.js +++ b/templates/tape/test.js @@ -9,6 +9,7 @@ var lib = require( './../lib' ); // TESTS // tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); t.equal( typeof lib, '...
Update tape snippet to print the test filename
kgryte_test-snippet
train
e3a2d1f1f3a591b1904bbbbcf03568a93dc7d164
diff --git a/Classes/Core/Testbase.php b/Classes/Core/Testbase.php index <HASH>..<HASH> 100644 --- a/Classes/Core/Testbase.php +++ b/Classes/Core/Testbase.php @@ -91,6 +91,7 @@ class Testbase * Define TYPO3_MODE to BE * * @return void + * @deprecated Will be dropped with 7.x major version. *...
[TASK] Deprecate defineTypo3ModeBe() Core and extensions should not rely on TYPO3_MODE any longer.
TYPO3_testing-framework
train
7decba884f7b7e1bec3015f3deb14392335c30a5
diff --git a/lib/google/calendar.rb b/lib/google/calendar.rb index <HASH>..<HASH> 100644 --- a/lib/google/calendar.rb +++ b/lib/google/calendar.rb @@ -86,6 +86,13 @@ module Google event_lookup(query) end + def find_future_events(options={}) + options[:max_results] ||= 25 + options[:order_by]...
Add new find method for future events with options
northworld_google_calendar
train
18d4e28481ee666670c9d8a07f9d5b4e9cb36995
diff --git a/js/exmo.js b/js/exmo.js index <HASH>..<HASH> 100644 --- a/js/exmo.js +++ b/js/exmo.js @@ -469,7 +469,7 @@ module.exports = class exmo extends Exchange { 'broad': { 'range period is too long': BadRequest, 'invalid syntax': BadRequest, - ...
exmo minor edits / comments
ccxt_ccxt
train
645134a2aa145aa47e340571b9ac0f30e97f218a
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -65,7 +65,7 @@ with open('README.rst', 'r') as f: README_content = f.read() install_requires = check_dependencies() -install_requires.append(["setuptools", +install_requires.extend(["setuptools", ...
FIX install requires to use extend instead of append
eyurtsev_FlowCytometryTools
train
38ddd6346dbe3b44f09097cf2d7ef87563b22fce
diff --git a/azure-toolkit-libs/azure-toolkit-springcloud-lib/src/main/java/com/microsoft/azure/toolkit/lib/springcloud/SpringCloudDeploymentDraft.java b/azure-toolkit-libs/azure-toolkit-springcloud-lib/src/main/java/com/microsoft/azure/toolkit/lib/springcloud/SpringCloudDeploymentDraft.java index <HASH>..<HASH> 100644...
#<I>: [Test] Update the instance value,need to click refresh to change it to the original
Microsoft_azure-maven-plugins
train
44b1ffbc706f3e27f61a371ee4ebbf93e65f0673
diff --git a/src/java/net/spy/memcached/ArrayModNodeLocator.java b/src/java/net/spy/memcached/ArrayModNodeLocator.java index <HASH>..<HASH> 100644 --- a/src/java/net/spy/memcached/ArrayModNodeLocator.java +++ b/src/java/net/spy/memcached/ArrayModNodeLocator.java @@ -3,6 +3,7 @@ package net.spy.memcached; import java.u...
Changed ArrayModNodeLocator to take a List<MemcachedNode>.
dustin_java-memcached-client
train
9191805ba899745c6243217df09f08f7913b8fb9
diff --git a/src/Illuminate/Database/Console/Migrations/StatusCommand.php b/src/Illuminate/Database/Console/Migrations/StatusCommand.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Database/Console/Migrations/StatusCommand.php +++ b/src/Illuminate/Database/Console/Migrations/StatusCommand.php @@ -105,7 +105,7 @@ c...
migrate:status added support for multiple --path options
laravel_framework
train
d6c0b72459ddbb417d0911b56e93341b6d4435f4
diff --git a/core/kernel/persistence/hardsql/class.Class.php b/core/kernel/persistence/hardsql/class.Class.php index <HASH>..<HASH> 100644 --- a/core/kernel/persistence/hardsql/class.Class.php +++ b/core/kernel/persistence/hardsql/class.Class.php @@ -84,8 +84,13 @@ class core_kernel_persistence_hardsql_Class $...
attempt to optimize the generis user service login method by removing the getInstances(true) : not fully tested (issue met with user of a newly created workflow role) git-svn-id: <URL>
oat-sa_generis
train
9cc3e0d827a85b7e86b6fa5ec0a9c5a2deef8286
diff --git a/src/itk-js-cli.js b/src/itk-js-cli.js index <HASH>..<HASH> 100755 --- a/src/itk-js-cli.js +++ b/src/itk-js-cli.js @@ -126,11 +126,13 @@ program .action(build) .option('-i, --image <image>', 'build environment Docker image, defaults to insighttoolkit/itk-js') -program - .command('test <sourceDir>')...
fix(itk-js-cli): Disable test command -- more work is needed to work with inputs
InsightSoftwareConsortium_itk-js
train
bf43d84158e50ee2a9a5f8ebbdfc97bdb15ae8a6
diff --git a/run_test.py b/run_test.py index <HASH>..<HASH> 100755 --- a/run_test.py +++ b/run_test.py @@ -7,7 +7,7 @@ from irpy import irp_leaves_mutables import logging -def loggin_debug(): +def logging_debug(): logger = logging.getLogger() handler = logging.StreamHandler() @@ -18,7 +18,7 @@ def logg...
loggin_* -> logging_*
TApplencourt_IRPy
train
91db7fe65f27908ac3653a9a40594f2089635d91
diff --git a/conductor/src/main/java/com/bluelinelabs/conductor/Controller.java b/conductor/src/main/java/com/bluelinelabs/conductor/Controller.java index <HASH>..<HASH> 100644 --- a/conductor/src/main/java/com/bluelinelabs/conductor/Controller.java +++ b/conductor/src/main/java/com/bluelinelabs/conductor/Controller.ja...
Capture view reference in inflate call
bluelinelabs_Conductor
train
a4bc7c7854a95c899746d32866e5c82665b699b9
diff --git a/tests/test_core.py b/tests/test_core.py index <HASH>..<HASH> 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -16,6 +16,7 @@ import copy import json import os import unittest +import warnings import six @@ -187,14 +188,20 @@ class TestCore(unittest.TestCase): def test_changes(self):...
Use Python <I>-friendly version of assessing warnings
bcwaldon_warlock
train
a2226e2a97a79086303dfbca204d890425c864d8
diff --git a/lib/bond/agent.rb b/lib/bond/agent.rb index <HASH>..<HASH> 100644 --- a/lib/bond/agent.rb +++ b/lib/bond/agent.rb @@ -58,11 +58,8 @@ module Bond rescue FailedExecutionError completion_error($!.message, "TODO") rescue - if Bond.config[:debug] - p $! - p $!.backtrace.slice...
more refactoring of completion errors
cldwalker_bond
train
0d3767b8e5647f7cd067ee844539f832b27b647a
diff --git a/serf/keymanager.go b/serf/keymanager.go index <HASH>..<HASH> 100644 --- a/serf/keymanager.go +++ b/serf/keymanager.go @@ -11,8 +11,8 @@ import ( type keyManager struct { serf *Serf - // Embedded mutex to protect read and write operations - sync.RWMutex + // Lock to protect read and write operations + ...
serf: make RWMutex private in keymanager
hashicorp_serf
train
9985496806ec5ba9ae427a185b0bd7f4a56164bd
diff --git a/dist/cordova-plugin-iosrtc.js b/dist/cordova-plugin-iosrtc.js index <HASH>..<HASH> 100644 --- a/dist/cordova-plugin-iosrtc.js +++ b/dist/cordova-plugin-iosrtc.js @@ -2468,11 +2468,11 @@ function getUserMedia(constraints) { (typeof constraints.video.optional === 'object' || constraints.video.mandatory ...
Fix handling of getUserMedia constraints mandatory / optional syntax that was deprecated a in <I>
BasqueVoIPMafia_cordova-plugin-iosrtc
train
5532fe9fc67d758c7c57c9b4f83088b3afe3c343
diff --git a/gdx-ai/src/com/badlogic/gdx/ai/steer/behaviors/ReachOrientation.java b/gdx-ai/src/com/badlogic/gdx/ai/steer/behaviors/ReachOrientation.java index <HASH>..<HASH> 100644 --- a/gdx-ai/src/com/badlogic/gdx/ai/steer/behaviors/ReachOrientation.java +++ b/gdx-ai/src/com/badlogic/gdx/ai/steer/behaviors/ReachOrient...
Avoid indeterminate form 0/0 when the owner is aligned and tolerance is 0.
libgdx_gdx-ai
train
7f9794d871387480b20cf91ffede10674cd998a7
diff --git a/tests/unit/extensions/mongodb/QueryRunTest.php b/tests/unit/extensions/mongodb/QueryRunTest.php index <HASH>..<HASH> 100644 --- a/tests/unit/extensions/mongodb/QueryRunTest.php +++ b/tests/unit/extensions/mongodb/QueryRunTest.php @@ -130,20 +130,25 @@ class QueryRunTest extends MongoDbTestCase $th...
Improves mongodb nested and in condition test
yiisoft_yii-core
train
78d157f37a8583c78ec03e30b44038d2e9fb23b6
diff --git a/gitlab_tests/test_v91/test_tags.py b/gitlab_tests/test_v91/test_tags.py index <HASH>..<HASH> 100644 --- a/gitlab_tests/test_v91/test_tags.py +++ b/gitlab_tests/test_v91/test_tags.py @@ -6,10 +6,6 @@ from response_data.tags import * class TestDeleteRepositoryTag(BaseTest): - def setUp(self): - ...
Removed integration login test from unittests
pyapi-gitlab_pyapi-gitlab
train
53a3c55adc76c64e3238286cb8528f9dc743113f
diff --git a/src/main/java/org/la4j/matrix/Matrices.java b/src/main/java/org/la4j/matrix/Matrices.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/la4j/matrix/Matrices.java +++ b/src/main/java/org/la4j/matrix/Matrices.java @@ -601,6 +601,33 @@ public final class Matrices { public final static Factory DEFAU...
added factories arrays into Matrices calss
vkostyukov_la4j
train
0567b5af913954789324275dd90b9d2e02de9a7e
diff --git a/mod/scorm/locallib.php b/mod/scorm/locallib.php index <HASH>..<HASH> 100755 --- a/mod/scorm/locallib.php +++ b/mod/scorm/locallib.php @@ -84,7 +84,7 @@ $repositorybrowser = '/mod/resource/type/ims/finder.php'; */ function scorm_delete_files($directory) { if (is_dir($directory)) { - $files=sco...
MDL-<I> removed PHP4 compatibility scandir()
moodle_moodle
train
829fe9cdfe319e301b29a37c9abc109d49451b62
diff --git a/src/hdx/utilities/retriever.py b/src/hdx/utilities/retriever.py index <HASH>..<HASH> 100644 --- a/src/hdx/utilities/retriever.py +++ b/src/hdx/utilities/retriever.py @@ -49,7 +49,10 @@ class Retrieve(BaseDownload): self.temp_dir = temp_dir self.save = save self.use_saved = use_sa...
Fix same filename and distinguishing scrapers issue
OCHA-DAP_hdx-python-utilities
train
602c41e372b96d8f72bcab9f149d3389e6b50c62
diff --git a/src/Norm/Connection/FlatFileConnection.php b/src/Norm/Connection/FlatFileConnection.php index <HASH>..<HASH> 100644 --- a/src/Norm/Connection/FlatFileConnection.php +++ b/src/Norm/Connection/FlatFileConnection.php @@ -66,7 +66,7 @@ class FlatFileConnection extends Connection $collectionName = ...
[FIX] Support for PHP <I>.
xinix-technology_norm
train
5766a9ce2c1e740df3f24385f103703384f4bda5
diff --git a/src/main/java/com/codeborne/selenide/ex/DialogTextMismatch.java b/src/main/java/com/codeborne/selenide/ex/DialogTextMismatch.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/codeborne/selenide/ex/DialogTextMismatch.java +++ b/src/main/java/com/codeborne/selenide/ex/DialogTextMismatch.java @@ -1,9 +...
takes screenshots also in case of dialog text mismatch
selenide_selenide
train
dabb48d998775e08516dc4f03f4875113b01edc0
diff --git a/spec/integration/type/file_spec.rb b/spec/integration/type/file_spec.rb index <HASH>..<HASH> 100755 --- a/spec/integration/type/file_spec.rb +++ b/spec/integration/type/file_spec.rb @@ -1053,7 +1053,6 @@ describe Puppet::Type.type(:file), :uses_checksums => true do @sids = { :curren...
(PUP-<I>) Use current user for security specs Previously the security spec tests expected an Administrator user to exist that would be used for testing generic owner and group manipulation. The Administrator user is not guaranteed to exist, so use the current user instead. The spec tests set owner to :guest, then exp...
puppetlabs_puppet
train
af13341d17d496d55c4c06a2eca0969506713645
diff --git a/features/support/world.js b/features/support/world.js index <HASH>..<HASH> 100644 --- a/features/support/world.js +++ b/features/support/world.js @@ -1,8 +1,11 @@ const { setWorldConstructor } = require("@cucumber/cucumber"); +const path = require("path"); const childProcess = require("child_process"); ...
Avoid using npx Somehow, this no longer resolves the Cypress installation in upper directories and attempts to download it instead. I have had nothing but trouble using that executable.
TheBrainFamily_cypress-cucumber-preprocessor
train
e18567325460c7868f0b39928b4c6b50e427a163
diff --git a/src/Thomaswelton/LaravelOauth/OAuth.php b/src/Thomaswelton/LaravelOauth/OAuth.php index <HASH>..<HASH> 100644 --- a/src/Thomaswelton/LaravelOauth/OAuth.php +++ b/src/Thomaswelton/LaravelOauth/OAuth.php @@ -30,10 +30,12 @@ class OAuth extends ServiceFactory{ /** * @return \OAuth\Common\Token\Token...
PHPoAuthLib already stores tokens in storage, removes use of Laravel session used PHPoAuthLib storage
thomaswelton_laravel-oauth
train
a043ae52d3c629de41168d46abbe9e320006a6ff
diff --git a/lib/Tmdb/Factory/MovieFactory.php b/lib/Tmdb/Factory/MovieFactory.php index <HASH>..<HASH> 100644 --- a/lib/Tmdb/Factory/MovieFactory.php +++ b/lib/Tmdb/Factory/MovieFactory.php @@ -19,6 +19,7 @@ use Tmdb\Factory\People\CastFactory; use Tmdb\Factory\People\CrewFactory; use Tmdb\Model\Common\Country; use...
Added spoken languages for movie hydration.
php-tmdb_api
train
6263d6334adb9dcd0b4122c7f4321c743fd0b14c
diff --git a/dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/ConfigManager.java b/dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/ConfigManager.java index <HASH>..<HASH> 100644 --- a/dev/com.ibm.ws.security.wim.core/src/com/ibm/ws/security/wim/ConfigManager.java +++ b/dev/com.ibm.ws.security.w...
Issue <I>: Avoid ConcurrentModificationException during dynamic config update for FedRep and User Repos
OpenLiberty_open-liberty
train
31a264ab947e2a0992abe80f2bd4df57181ad2bb
diff --git a/mode/css/css.js b/mode/css/css.js index <HASH>..<HASH> 100644 --- a/mode/css/css.js +++ b/mode/css/css.js @@ -676,7 +676,7 @@ CodeMirror.defineMode("css", function(config, parserConfig) { } }, "@": function(stream) { - if (stream.match(/^(charset|document|font-face|import|keyf...
[less] don't confuse less mode.. ..with the newly added simple support for @keyframes
codemirror_CodeMirror
train
48682456b05de046e75ba2853da394d530186575
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ except(IOError, ImportError): # This flag has to be True if the version number indicated in the file # VERSION has already been released and to False if this is a development # version of a future release. -I...
Update setup.py change isreleased to True
SHTOOLS_SHTOOLS
train
5977c88517edbf998414a83fa0d82a41ab973b41
diff --git a/spillway/filters.py b/spillway/filters.py index <HASH>..<HASH> 100644 --- a/spillway/filters.py +++ b/spillway/filters.py @@ -26,7 +26,7 @@ class SpatialLookupFilter(BaseFilterBackend): def filter_queryset(self, request, queryset, view): form = forms.SpatialQueryForm(request.QUERY_PARAMS) -...
Drop unnecessary geom field, lookups are added dynamically
bkg_django-spillway
train
115990a002b8d22e652fb0d5a1695dce11ae1e2c
diff --git a/HARK/ConsumptionSaving/ConsPortfolioModel.py b/HARK/ConsumptionSaving/ConsPortfolioModel.py index <HASH>..<HASH> 100644 --- a/HARK/ConsumptionSaving/ConsPortfolioModel.py +++ b/HARK/ConsumptionSaving/ConsPortfolioModel.py @@ -444,10 +444,7 @@ class PortfolioConsumerType(IndShockConsumerType): None...
set 'ShareNow' properly in simBirth
econ-ark_HARK
train
e009aad8d304c1845845f9d9f8fa04bc57ce1314
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,6 @@ 'use strict'; const fs = require('fs'); const path = require('path'); -const crypto = require('crypto'); const gutil = require('gulp-util'); const through = require('through2'); const pify = require('pify');...
Use Buffer.compare instead of crypto functions (#<I>)
sindresorhus_gulp-changed
train
1151a36f2cd10c8cfaab96a71da4025158e715b8
diff --git a/jwa/jwa.go b/jwa/jwa.go index <HASH>..<HASH> 100644 --- a/jwa/jwa.go +++ b/jwa/jwa.go @@ -41,7 +41,7 @@ func KeyAlgorithmFrom(v interface{}) KeyAlgorithm { switch v := v.(type) { case SignatureAlgorithm: return v - case ContentEncryptionAlgorithm: + case KeyEncryptionAlgorithm: return v case st...
Fix jwa.KeyAlgorithmFor() (#<I>) * ContentEncryptionAlgorithm isn't a KeyAlgorithm * Add sanity test
lestrrat-go_jwx
train
80b01a37aeaa19194d0a9a1582024c96458d7f9b
diff --git a/glue/ligolw/utils/ligolw_sqlite.py b/glue/ligolw/utils/ligolw_sqlite.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/utils/ligolw_sqlite.py +++ b/glue/ligolw/utils/ligolw_sqlite.py @@ -97,6 +97,7 @@ def insert_from_urls(connection, urls, preserve_ids = False, verbose = False): Iterate over a sequence of...
preserve DBTable.append() method method is modified in insert_from_urls() and insert_from_xmldoc(). save the value on entry, and restore it on exit
gwastro_pycbc-glue
train
607c877ed5b9084fd2c007e6dc1a0942c07cf916
diff --git a/src/utils/npm-audit.js b/src/utils/npm-audit.js index <HASH>..<HASH> 100644 --- a/src/utils/npm-audit.js +++ b/src/utils/npm-audit.js @@ -164,10 +164,6 @@ module.exports.removePackageLockFrom = removePackageLockFrom; function removeIgnoredVulnerabilities(response, options) { try { const igno...
fix(audit): be able to process .auditignore file created on a different platform
inikulin_publish-please
train
211af103634c0a428c10b36c8ad72b348e2fc952
diff --git a/edisgo/grid/grids.py b/edisgo/grid/grids.py index <HASH>..<HASH> 100644 --- a/edisgo/grid/grids.py +++ b/edisgo/grid/grids.py @@ -73,6 +73,41 @@ class Grid: """Provide access to the grid_district""" return self._grid_district + @property + def peak_generation(self): + """ +...
Peak load and generation for LV grids
openego_eDisGo
train
9487e0c8b0e204a84b2219cbdb67132d883e7f5b
diff --git a/shinken/modules/livestatus_broker/mapping.py b/shinken/modules/livestatus_broker/mapping.py index <HASH>..<HASH> 100644 --- a/shinken/modules/livestatus_broker/mapping.py +++ b/shinken/modules/livestatus_broker/mapping.py @@ -1,6 +1,7 @@ import os +import time from shinken.bin import VERSION from ...
Fix : (reported by hobgoblinsmaster) missing time import that make queries crash.
Alignak-monitoring_alignak
train
eaeab32400708fc96264a98c85fec45ae4ed8be8
diff --git a/core/src/main/java/com/google/bitcoin/params/RegTestParams.java b/core/src/main/java/com/google/bitcoin/params/RegTestParams.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/google/bitcoin/params/RegTestParams.java +++ b/core/src/main/java/com/google/bitcoin/params/RegTestParams.java @@ -34,9 ...
Make RegTestParams use testnet addresses, to follow sipa's upstream change.
bitcoinj_bitcoinj
train