hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
bb6f8d3ce89b268ce146e8e5bbe9ffe1c45c3874
diff --git a/opal/browser/dom/event/base.rb b/opal/browser/dom/event/base.rb index <HASH>..<HASH> 100644 --- a/opal/browser/dom/event/base.rb +++ b/opal/browser/dom/event/base.rb @@ -110,9 +110,15 @@ class Event unless delegate = delegated[name] delegate = delegated[name] = Delegates.new - ...
dom/event: add support for capture events
opal_opal-browser
train
rb
a6f25f5c64a4cf3cd227b81b9ed49b4fa2d9edbd
diff --git a/cake/tests/lib/cake_reporter.php b/cake/tests/lib/cake_reporter.php index <HASH>..<HASH> 100644 --- a/cake/tests/lib/cake_reporter.php +++ b/cake/tests/lib/cake_reporter.php @@ -91,7 +91,6 @@ class CakeHtmlReporter extends SimpleReporter { echo "<strong>" . $this->getFailCount() . "</strong> fails and "...
Removing ending html tags, they were being generated before the page ended. git-svn-id: <URL>
cakephp_cakephp
train
php
b314b83f6936d1490bc0a770614e1865f775faf0
diff --git a/lib/contentful_model/associations/has_many_nested.rb b/lib/contentful_model/associations/has_many_nested.rb index <HASH>..<HASH> 100644 --- a/lib/contentful_model/associations/has_many_nested.rb +++ b/lib/contentful_model/associations/has_many_nested.rb @@ -41,8 +41,12 @@ module ContentfulModel ...
return empty if find_ancestors() called on a top-level item
contentful_contentful_model
train
rb
8256144a7fa4e5f1837801b0605c6c7ecf96aba7
diff --git a/lib/losant_rest/version.rb b/lib/losant_rest/version.rb index <HASH>..<HASH> 100644 --- a/lib/losant_rest/version.rb +++ b/lib/losant_rest/version.rb @@ -1,3 +1,3 @@ module LosantRest - VERSION = "1.3.8" + VERSION = "1.0.0" end
don't tie lib version to api version
Losant_losant-rest-ruby
train
rb
e8a93515e37754d668dddc4fe3036539e07bf817
diff --git a/findbugs/src/java/edu/umd/cs/findbugs/FindBugs2.java b/findbugs/src/java/edu/umd/cs/findbugs/FindBugs2.java index <HASH>..<HASH> 100644 --- a/findbugs/src/java/edu/umd/cs/findbugs/FindBugs2.java +++ b/findbugs/src/java/edu/umd/cs/findbugs/FindBugs2.java @@ -259,11 +259,11 @@ public class FindBugs2 implemen...
Partial addressing of [ <I> ] NPE when called on project root git-svn-id: <URL>
spotbugs_spotbugs
train
java
5bb16042460c7d2f2f1dd771a00bc15d38728b47
diff --git a/lib/memcached/memcached.rb b/lib/memcached/memcached.rb index <HASH>..<HASH> 100644 --- a/lib/memcached/memcached.rb +++ b/lib/memcached/memcached.rb @@ -275,13 +275,11 @@ Please note that when non-blocking IO is enabled, setter and deleter methods do # def get(keys, marshal=true) if keys.is_a?...
Remove seemingly no-op keys.map! code. (chuyeow)
arthurnn_memcached
train
rb
7ce65259b3b4814c369fcf8ec51be3b8b56381aa
diff --git a/src/main/java/org/mockito/internal/creation/bytebuddy/MockWeakReference.java b/src/main/java/org/mockito/internal/creation/bytebuddy/MockWeakReference.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/mockito/internal/creation/bytebuddy/MockWeakReference.java +++ b/src/main/java/org/mockito/internal...
Reduced the public API of MockWeakReference
mockito_mockito
train
java
223d3b2d8b1b282034403f85af10894598e81743
diff --git a/src/Sylius/Bundle/CoreBundle/Checkout/Step/ShippingStep.php b/src/Sylius/Bundle/CoreBundle/Checkout/Step/ShippingStep.php index <HASH>..<HASH> 100644 --- a/src/Sylius/Bundle/CoreBundle/Checkout/Step/ShippingStep.php +++ b/src/Sylius/Bundle/CoreBundle/Checkout/Step/ShippingStep.php @@ -93,9 +93,12 @@ class ...
Fix bug where disabled shipping methods were selectable during checkout.
Sylius_Sylius
train
php
792a85a6b758915e6c89b5b90efb5f817d570233
diff --git a/compiler/grammar.py b/compiler/grammar.py index <HASH>..<HASH> 100644 --- a/compiler/grammar.py +++ b/compiler/grammar.py @@ -21,14 +21,14 @@ def document(text, line, prev): global doc_next, doc_prev_component if prev: if doc_prev_component: - if doc_prev_component.doc is not None: - print 'WAR...
commented warnings about previous/next doc strings
pureqml_qmlcore
train
py
ce6a7e6b942c0d2bc1b45fd515e48d9429aa107c
diff --git a/src/jquery.webui-popover.js b/src/jquery.webui-popover.js index <HASH>..<HASH> 100644 --- a/src/jquery.webui-popover.js +++ b/src/jquery.webui-popover.js @@ -822,6 +822,7 @@ return placement; }, getElementPosition: function() { + // If the container...
forgot to save a comment before committing
sandywalker_webui-popover
train
js
737cba7159bd4db8f3a3535cda37790b6579cf96
diff --git a/topologies/replset.js b/topologies/replset.js index <HASH>..<HASH> 100644 --- a/topologies/replset.js +++ b/topologies/replset.js @@ -435,10 +435,13 @@ var pingServer = function(self, server, cb) { // Each server is monitored in parallel in their own timeout loop var monitorServer = function(host, self...
NODE-<I> do not filter out timeout based serve monitoring during initial connection sweep
mongodb_node-mongodb-native
train
js,js
04bb12401d9be906b0f7aa925a557b77ae9416f7
diff --git a/ake.go b/ake.go index <HASH>..<HASH> 100644 --- a/ake.go +++ b/ake.go @@ -219,8 +219,6 @@ func (ake *AKE) dhCommitMessage() ([]byte, error) { } func (ake *AKE) dhKeyMessage() ([]byte, error) { - var out []byte - y, err := ake.generateRand() if err != nil { return nil, err @@ -228,6 +226,13 @@ fu...
Split to allow regenerate the message without regenerating y This is necessary for the resend DH-key case
coyim_otr3
train
go
08dadc2b985dda5c9943718e09bc7d968c722474
diff --git a/src/events.js b/src/events.js index <HASH>..<HASH> 100644 --- a/src/events.js +++ b/src/events.js @@ -63,6 +63,7 @@ export default class EventHandler { * Internally used method to dispatch OSC Packets. Extracts * given Timetags and dispatches them accordingly * @param {Packet} packet + * @par...
Add jsdoc comments about optional remote address info: EventHandler call, dispatch, notify methods
adzialocha_osc-js
train
js
411dc7346d9ab9e8bc9964fd50432c7e50d4de54
diff --git a/src/zepto.js b/src/zepto.js index <HASH>..<HASH> 100644 --- a/src/zepto.js +++ b/src/zepto.js @@ -1,5 +1,5 @@ var Zepto = (function() { - var undefined, key, css, $$, classList, + var undefined, key, $$, classList, emptyArray = [], slice = emptyArray.slice, document = window.document, ele...
Define css variable locally
madrobby_zepto
train
js
fd2b37ebd0863a9bd21e0a91ef811a2bcdb13d70
diff --git a/web/concrete/core/libraries/block_view_template.php b/web/concrete/core/libraries/block_view_template.php index <HASH>..<HASH> 100644 --- a/web/concrete/core/libraries/block_view_template.php +++ b/web/concrete/core/libraries/block_view_template.php @@ -180,6 +180,8 @@ class Concrete5_Library_BlockViewTemp...
Allow overriding package's blocks assets (view.js & view.css) Former-commit-id: cee1f<I>c<I>f2f3db<I>fe<I>ee<I>
concrete5_concrete5
train
php
2a717aaa5580e0379b073d659f331404eecbb1f9
diff --git a/mpi4py_test/__init__.py b/mpi4py_test/__init__.py index <HASH>..<HASH> 100644 --- a/mpi4py_test/__init__.py +++ b/mpi4py_test/__init__.py @@ -2,7 +2,7 @@ from mpi4py import MPI import traceback from .version import __version__ from numpy.testing.decorators import skipif, knownfailureif - +from types imp...
fail on Generator tests wrapped in MPIWorld. NOSE doesn't do nested generator tests.
bccp_runtests
train
py
4171797758123ec648a248e0bb2075d619cb8eb1
diff --git a/src/bootstrap.php b/src/bootstrap.php index <HASH>..<HASH> 100644 --- a/src/bootstrap.php +++ b/src/bootstrap.php @@ -70,6 +70,7 @@ private static function environment() { define('alsvanzelf\fem\ENVIRONMENT', $environment); define('alsvanzelf\fem\ROOT_DIR', realpath(__DIR__.'/../../../../').'/'); ...
don't try to hide/set headers in cli mode, it can hang on some systems
lode_fem
train
php
7a31a35cbf531213f6bca529004dac44a350b1e4
diff --git a/dvc/version.py b/dvc/version.py index <HASH>..<HASH> 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -6,7 +6,7 @@ import os import subprocess -_BASE_VERSION = "1.0.0a11" +_BASE_VERSION = "1.0.0b0" def _generate_version(base_version):
dvc: bump to <I>b0
iterative_dvc
train
py
c98bc2941b0735ff0d5b63eaa98bd6e283d041c7
diff --git a/socketget_windows.go b/socketget_windows.go index <HASH>..<HASH> 100644 --- a/socketget_windows.go +++ b/socketget_windows.go @@ -4,10 +4,13 @@ package zmq4 /* #include <zmq.h> +#include <winsock2.h> #include "zmq4.h" */ import "C" +// winsock2.h needed for ZeroMQ version 4.3.3 + import ( "unsa...
On Windows, winsock2.h needed for ZeroMQ version <I>
pebbe_zmq4
train
go
e7d7cb92f91c83d2dad40ed76f4e5bacd0193656
diff --git a/pyclustering/cluster/tests/syncnet_tests.py b/pyclustering/cluster/tests/syncnet_tests.py index <HASH>..<HASH> 100644 --- a/pyclustering/cluster/tests/syncnet_tests.py +++ b/pyclustering/cluster/tests/syncnet_tests.py @@ -45,7 +45,7 @@ class Test(unittest.TestCase): result_testing = False; ...
[pyclustering.nnet.sync] Unit-test stability improvement.
annoviko_pyclustering
train
py,py
152dc018a67ae8ac7e5508461d9affd7a1ba03b6
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -43,8 +43,7 @@ MOD_NAMES = [ 'spacy.cfile', 'spacy.matcher', 'spacy.syntax.ner', - 'spacy.symbols', - 'spacy.syntax.iterators'] + 'spacy.symbols'] COMPILE_OPTIONS = {
Remove syntax iterators from setup.py
explosion_spaCy
train
py
9424fafe075135b8a3e4de87ab617c980fdd1ede
diff --git a/src/Benchmark/Benchmark.php b/src/Benchmark/Benchmark.php index <HASH>..<HASH> 100644 --- a/src/Benchmark/Benchmark.php +++ b/src/Benchmark/Benchmark.php @@ -89,7 +89,7 @@ class Benchmark private function standardDeviation(array $data, $mean) { $initial = 0; - $f = function ($val, $c...
Oops, got the parameters to the callback in backwards.
nice-php_benchmark
train
php
d2bffb67a012a0312a724c149987ab8b8d0eaf2d
diff --git a/ladybug/epw.py b/ladybug/epw.py index <HASH>..<HASH> 100644 --- a/ladybug/epw.py +++ b/ladybug/epw.py @@ -1444,7 +1444,7 @@ climate-calculations.html#energyplus-sky-temperature-calculation "longitude %.2f\n" % -self.location.longitude + \ "time_zone %d\n" % (-self.location.time_zo...
fix(epw): Fixed a bug in the EPW.to_wea header The term for "weather_data_file_units" is being written out as "weather_data_file_unit". This causes dctimestep to raise an error.
ladybug-tools_ladybug
train
py
b8ce4223b44408fd71ece68cd1563c94903d1cea
diff --git a/lib/resolve.js b/lib/resolve.js index <HASH>..<HASH> 100644 --- a/lib/resolve.js +++ b/lib/resolve.js @@ -1,8 +1,7 @@ var path = require('path'); -var base = path.join(process.cwd(), 'node_modules', 'skatejs-build', 'node_modules'); module.exports = function () { return [].slice.call(arguments).map(...
fix: do not assume paths, always resolve
skatejs_build
train
js
57c82dbb443d3533f0d4268ce840501ba9f319dd
diff --git a/lib/responder.js b/lib/responder.js index <HASH>..<HASH> 100644 --- a/lib/responder.js +++ b/lib/responder.js @@ -557,7 +557,15 @@ MultipartDispatcher.prototype.objectStream = function dispatchMultipartObjectStr }; var drainListener = function objectDrainListener() { - response.resume(); + if...
Update drainListener for multipart object stream dispatch - Check that response hasn't ended before calling resume() - After resuming, kick off part processing if queue has item
marklogic_node-client-api
train
js
f9c59cb522f32fdb671314a8b8739aeb76f7f7f8
diff --git a/aioconsole/command.py b/aioconsole/command.py index <HASH>..<HASH> 100644 --- a/aioconsole/command.py +++ b/aioconsole/command.py @@ -4,6 +4,7 @@ import sys import random import asyncio import argparse +import shlex from . import code @@ -65,7 +66,7 @@ Type '<command> -h' to display the help messag...
Prefer shell parsing over space split for commands (PR #<I>) Fixes issue #<I>.
vxgmichel_aioconsole
train
py
66208ea100fc9af35cde9e9cf01bd8aa1efcbfd5
diff --git a/client/js/features.js b/client/js/features.js index <HASH>..<HASH> 100644 --- a/client/js/features.js +++ b/client/js/features.js @@ -14,7 +14,8 @@ qq.supportedFeatures = (function () { supportsDeleteFileCorsXhr, supportsDeleteFileCors, supportsFolderSelection, - supportsI...
fix(js/features.js): upload progress feature detection not accurate #<I>
FineUploader_fine-uploader
train
js
8a32290451866beee11a6477b5b481e2a1a265ee
diff --git a/src/Graviton/SchemaBundle/SchemaUtils.php b/src/Graviton/SchemaBundle/SchemaUtils.php index <HASH>..<HASH> 100644 --- a/src/Graviton/SchemaBundle/SchemaUtils.php +++ b/src/Graviton/SchemaBundle/SchemaUtils.php @@ -141,7 +141,9 @@ class SchemaUtils $property->setDescription($model->getDescripti...
tests with auto setting readOnly for ids
libgraviton_graviton
train
php
de1a225103c6ef036f8fd06af00b86333d44fcbe
diff --git a/ExternalModule.php b/ExternalModule.php index <HASH>..<HASH> 100644 --- a/ExternalModule.php +++ b/ExternalModule.php @@ -263,7 +263,7 @@ class ExternalModule extends Module implements iExternalModule $lines = file($this->path().'/license.md'); // Get first line - ...
Remove \" from license if parsed from file on composer generation
samsonos_php_core
train
php
a6ea38b3b6f7ba7ddfc948945b68e1edc8575719
diff --git a/salt/config.py b/salt/config.py index <HASH>..<HASH> 100644 --- a/salt/config.py +++ b/salt/config.py @@ -26,6 +26,17 @@ import salt.utils log = logging.getLogger(__name__) +def _validate_file_roots(file_roots): + ''' + If the file_roots option has a key that is None then we will error out, + ...
fix issue when file_roots was misconfigured
saltstack_salt
train
py
bb0a2b261833cee7cbfec869a3133d910eebfc51
diff --git a/src/Krystal/Widget/GridView/TableMaker.php b/src/Krystal/Widget/GridView/TableMaker.php index <HASH>..<HASH> 100644 --- a/src/Krystal/Widget/GridView/TableMaker.php +++ b/src/Krystal/Widget/GridView/TableMaker.php @@ -416,7 +416,10 @@ final class TableMaker $links = array(); for...
Append only if callable type provided as a value
krystal-framework_krystal.framework
train
php
68aab97c58159b106fea4e9c3f2fe2268e8cdad6
diff --git a/LiSE/LiSE/character.py b/LiSE/LiSE/character.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/character.py +++ b/LiSE/LiSE/character.py @@ -1680,10 +1680,10 @@ class Character(AbstractCharacter, DiGraph, RuleFollower): seen = False for avatar in cache: i...
Set ``seen`` flag in a way I like better
LogicalDash_LiSE
train
py
7f25939dfc8fc7f00621d5cb987eeea6f4ab9ef8
diff --git a/tests/MarkLogic/MLPHP/Test/TestBaseSearch.php b/tests/MarkLogic/MLPHP/Test/TestBaseSearch.php index <HASH>..<HASH> 100644 --- a/tests/MarkLogic/MLPHP/Test/TestBaseSearch.php +++ b/tests/MarkLogic/MLPHP/Test/TestBaseSearch.php @@ -230,7 +230,7 @@ abstract class TestBaseSearch extends TestBaseDB ));...
Path range index for JSON is causing errors, comment out of now
marklogic-community_mlphp
train
php
1891c5e2462bd809f1f7b090b8634306bee63ce8
diff --git a/Form/GroupSettingsType.php b/Form/GroupSettingsType.php index <HASH>..<HASH> 100644 --- a/Form/GroupSettingsType.php +++ b/Form/GroupSettingsType.php @@ -45,7 +45,7 @@ class GroupSettingsType extends GroupType 'disabled' => false, 'query_builder' => function (\Doctrine\ORM...
Removes user roles from group settings form
claroline_CoreBundle
train
php
b599428e0fe246e9ebe92f69c5ed8d7234ca39ea
diff --git a/src/Providers/AuthServiceProvider.php b/src/Providers/AuthServiceProvider.php index <HASH>..<HASH> 100644 --- a/src/Providers/AuthServiceProvider.php +++ b/src/Providers/AuthServiceProvider.php @@ -49,11 +49,6 @@ class AuthServiceProvider extends ServiceProvider */ public function boot(Router $r...
Move country validation rule to rinvex/.country package
rinvex_laravel-auth
train
php
7b178f9942c3f090ac03eac575b48151b2519d75
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -28,7 +28,7 @@ settings.configure( 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': os.environ.get('PGDATABASE', 'django_ddp_docs_project'), - ...
Don\t use $LOGNAME when building docs.
jazzband_django-ddp
train
py
ac3f1165e550f1d5c5794d3501c1787542b046a5
diff --git a/Connection.php b/Connection.php index <HASH>..<HASH> 100755 --- a/Connection.php +++ b/Connection.php @@ -505,11 +505,11 @@ class Connection implements ConnectionInterface { if ($this->transactions == 0) { try { - $this->getPdo()->beginTransaction(); + ...
Add tests for beginTransaction() retrying
illuminate_database
train
php
283600a029c617268db38602893e2dadfb33176b
diff --git a/src/adaptors/UserDataStorage.js b/src/adaptors/UserDataStorage.js index <HASH>..<HASH> 100644 --- a/src/adaptors/UserDataStorage.js +++ b/src/adaptors/UserDataStorage.js @@ -32,15 +32,15 @@ UserDataAdaptor.prototype = { }, save:function(obj, callback){ var id = obj.key || this.uuid(); - dele...
all pulls from the firstchild's attributes of the xmldocument, where the userdata store is located. save sets the userdata attribute to store the data, prefixed with a "lc" (for lawnchair) because the first character for the key must be a letter. Store a doc to be deleted by the nuke callback test pass (first 2 tests...
brianleroux_lawnchair
train
js
30c9aa8bb55fc72ab48e846845ee0b7be9162a87
diff --git a/web/concrete/views/dialogs/page/clipboard.php b/web/concrete/views/dialogs/page/clipboard.php index <HASH>..<HASH> 100644 --- a/web/concrete/views/dialogs/page/clipboard.php +++ b/web/concrete/views/dialogs/page/clipboard.php @@ -30,7 +30,8 @@ defined('C5_EXECUTE') or die("Access Denied."); ...
Fixed scrapbook in stack to use scrapbook view Former-commit-id: f3fd<I>d<I>a<I>b<I>c<I>bd2d<I>bd0b3
concrete5_concrete5
train
php
bf72084e5a967f44e04699a4af42af3c7ec4fbb3
diff --git a/webpack.config.js b/webpack.config.js index <HASH>..<HASH> 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -25,6 +25,9 @@ module.exports = { template: path.join(__dirname, 'examples/src/index.html') }) ], + resolve: { + extensions: ['.js', '.jsx'] + }, devServer: { con...
enable importing files ending with .jsx
markusenglund_react-switch
train
js
3d33d805f8062964d739e3dfe0b3113ee61eba25
diff --git a/elasticapm/conf/__init__.py b/elasticapm/conf/__init__.py index <HASH>..<HASH> 100644 --- a/elasticapm/conf/__init__.py +++ b/elasticapm/conf/__init__.py @@ -647,6 +647,7 @@ class VersionedConfig(ThreadManager): "transport", "_update_thread", "pid", + "start_stop_order", ...
add start_stop_order to VersionedConfig.__slots__ (#<I>) This ensures that the attribute is set on VersionedConfig itself, not on the proxied Config object. The later works, but only until the configuration is updated and the Config object is switched out with a new one that doesn't have the attribute. fixes #<I...
elastic_apm-agent-python
train
py,py
bc814e1e1c977e983c1198995a46cafc17e37676
diff --git a/install-poetry.py b/install-poetry.py index <HASH>..<HASH> 100644 --- a/install-poetry.py +++ b/install-poetry.py @@ -413,6 +413,24 @@ class Installer: self.display_pre_message() self.ensure_directories() + def _is_self_upgrade_supported(x): + mx = self.VERSION_REGEX.m...
install-poetry: add warning for < <I>a1 When installing poetry < <I>a1 add a warning indicating the breakage of `self update` command usage. Relates-to: #<I>
sdispater_poetry
train
py
9bd778a66771f40c3512ccc1f346caad501ef592
diff --git a/packages/xod-js/webpack.config.js b/packages/xod-js/webpack.config.js index <HASH>..<HASH> 100644 --- a/packages/xod-js/webpack.config.js +++ b/packages/xod-js/webpack.config.js @@ -6,13 +6,14 @@ const libraryName = 'xod-js'; const pkgpath = subpath => path.join(__dirname, subpath); module.exports = { ...
infra(xod-js): emit sourcemaps on build
xodio_xod
train
js
f15e763c98837209adb6106992567067d8ea4aca
diff --git a/lib/httpi.rb b/lib/httpi.rb index <HASH>..<HASH> 100644 --- a/lib/httpi.rb +++ b/lib/httpi.rb @@ -159,8 +159,10 @@ module HTTPI response = adapter_class.request(method) if response && HTTPI::Response::RedirectResponseCodes.member?(response.code) && request.follow_redirect? - log("Fo...
Handle the 'relative url' case when follow_redirect is enabled
savonrb_httpi
train
rb
89517e33ebc05ad5d46d89b34c97ccc3f189f394
diff --git a/lib/nuggets/cli.rb b/lib/nuggets/cli.rb index <HASH>..<HASH> 100644 --- a/lib/nuggets/cli.rb +++ b/lib/nuggets/cli.rb @@ -4,7 +4,7 @@ # A component of ruby-nuggets, some extensions to the Ruby programming # # language. # # ...
lib/nuggets/cli.rb (askpass, agree): New convenience methods.
blackwinter_nuggets
train
rb
ebe8377abf3753f3a04812063fcc1c0b042f3fc3
diff --git a/code/controllers/EventRegisterController.php b/code/controllers/EventRegisterController.php index <HASH>..<HASH> 100644 --- a/code/controllers/EventRegisterController.php +++ b/code/controllers/EventRegisterController.php @@ -59,13 +59,20 @@ class EventRegisterController extends Page_Controller { publi...
BUGFIX: Don't include the current registration when checking if an event is already full.
registripe_registripe-core
train
php
c036afdd627bfa9dd31421ddae81210cc34bbf73
diff --git a/src/Models/User.php b/src/Models/User.php index <HASH>..<HASH> 100644 --- a/src/Models/User.php +++ b/src/Models/User.php @@ -357,9 +357,7 @@ class User extends Model implements AuthenticatableContract, AuthenticatableTwoF $settings = $this->getTwoFactor(); // Update user accoun...
Fix auth notification issue - TwoFactor authentication enabled mistakenly in every phone verification
rinvex_laravel-auth
train
php
f9ece3cb6fcc6925d77ba6381cd3887b8f1418ff
diff --git a/xray/core/indexing.py b/xray/core/indexing.py index <HASH>..<HASH> 100644 --- a/xray/core/indexing.py +++ b/xray/core/indexing.py @@ -164,6 +164,8 @@ def remap_label_indexers(data_obj, indexers, method=None): """Given an xray data object and label based indexers, return a mapping of equivalent lo...
Ensure an error is raise for an invalid method argument in .sel
pydata_xarray
train
py,py
d8943ea9fbe8ceffa4dff46e53458b9079184d33
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ DESCRIPTION = 'Python package for controlling MyQ-Enabled Garage Door' URL = 'https://github.com/arraylabs/pymyq' EMAIL = 'chris@arraylabs.com' AUTHOR = 'Chris Campbell' -REQUIRES_PYTHON = '>=3.5.3' +REQUIRES...
Fix setup.py for minimum Python required
arraylabs_pymyq
train
py
b1146997310e62f44ece2d716d20549a7aeb1274
diff --git a/bin/server/request.js b/bin/server/request.js index <HASH>..<HASH> 100644 --- a/bin/server/request.js +++ b/bin/server/request.js @@ -431,7 +431,12 @@ function runHooksMode(mode, symbol, next) { if (!type) { const err = Error('Hook type not defined: ' + key); err.code = 'ESHOOK'; - ...
error in running hooks consistent with async paradigm
byu-oit_sans-server
train
js
323d658a084e5a1e64ee736e4571d253aa5b987f
diff --git a/app_update.go b/app_update.go index <HASH>..<HASH> 100644 --- a/app_update.go +++ b/app_update.go @@ -19,7 +19,7 @@ type AppUpdateResource struct { DiskQuota int `json:"disk_quota,omitempty"` SpaceGuid string `json:"space_guid,omitempty"`...
Fixed a typo in DockerCredentials and aligned the usage of AppState between Create and Update APIs
cloudfoundry-community_go-cfclient
train
go,go
eab3eb1eb6493cf6c0906923d362e26faa2f6a6d
diff --git a/state/apiserver/uniter/uniter.go b/state/apiserver/uniter/uniter.go index <HASH>..<HASH> 100644 --- a/state/apiserver/uniter/uniter.go +++ b/state/apiserver/uniter/uniter.go @@ -273,4 +273,23 @@ func (u *UniterAPI) SubordinateNames(args params.Entities) (params.StringsErrorR return result, nil } +// C...
Skeleton of a few more calls
juju_juju
train
go
4bc54d6a097a3744e62025803cd0dedc654ec7e2
diff --git a/lib/puppet-syntax/version.rb b/lib/puppet-syntax/version.rb index <HASH>..<HASH> 100644 --- a/lib/puppet-syntax/version.rb +++ b/lib/puppet-syntax/version.rb @@ -1,3 +1,3 @@ module PuppetSyntax - VERSION = "0.0.2" + VERSION = "0.0.3" end
Release <I> - List rake as a dependency. - Output names of tasks to STDERR. - Match template paths correctly.
voxpupuli_puppet-syntax
train
rb
2aefbd37df58357168aa5df4fbb29cd4d23efcd5
diff --git a/src/org/mozilla/javascript/NativeIterator.java b/src/org/mozilla/javascript/NativeIterator.java index <HASH>..<HASH> 100644 --- a/src/org/mozilla/javascript/NativeIterator.java +++ b/src/org/mozilla/javascript/NativeIterator.java @@ -44,6 +44,9 @@ public final class NativeIterator extends IdScriptableObjec...
Doh! Previous checking removing an unused local variable also removed a call with important side effects.
mozilla_rhino
train
java
837dee1934b7d94dc44154a82aec450507a27e88
diff --git a/server/src/main/java/io/druid/segment/realtime/plumber/RealtimePlumberSchool.java b/server/src/main/java/io/druid/segment/realtime/plumber/RealtimePlumberSchool.java index <HASH>..<HASH> 100644 --- a/server/src/main/java/io/druid/segment/realtime/plumber/RealtimePlumberSchool.java +++ b/server/src/main/jav...
RealtimePlumberSchool: Alert and continue on any exception when abandoning segments
apache_incubator-druid
train
java
ea03cfde1200df50d2fb10d21cc86d1a16fc3089
diff --git a/source/core/oxbase.php b/source/core/oxbase.php index <HASH>..<HASH> 100644 --- a/source/core/oxbase.php +++ b/source/core/oxbase.php @@ -751,7 +751,7 @@ class oxBase extends oxSuperCfg } - $this->_removeElement2ShopRelations(); + $this->_removeElement2ShopRelations($sOxId); ...
Object Id should be given as method parameter. If object is not loaded, but deleted by giving object id as method parameter. Deletion of shop relations would not work. (cherry picked from commit c9b6d<I>)
OXID-eSales_oxideshop_ce
train
php
05ce548a5df21569d6fe858e46873ca7665fd620
diff --git a/kibitzr/bash.py b/kibitzr/bash.py index <HASH>..<HASH> 100644 --- a/kibitzr/bash.py +++ b/kibitzr/bash.py @@ -82,6 +82,13 @@ class WindowsExecutor(BashExecutor): EXECUTABLE = "cmd.exe" ARGS = ["/Q", "/C"] + @classmethod + def run_scipt(cls, name, stdin): + return BashExecutor.run_s...
Fix pbs encoding for Windows and Python 3
kibitzr_kibitzr
train
py
58c0f36caf0699d4b72a5f91a2598eb3f286178b
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,11 +26,16 @@ try: with open ('README.md', 'rb') as read_file: readme_text = read_file.readlines() # Change our README for pypi so we can get analytics tracking information for that separately + readme...
surprising python 3 compatibility tweak
ClimbsRocks_auto_ml
train
py
edfdd54ff433db8d20a2da6fad773713fbde5cc7
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -477,10 +477,14 @@ groups.Groups = function(options, callback) { return callback(null); } req.template = self.renderer('showPerson'); - return callback(null); + return self.beforeShowPerson(req...
Adding beforeShowPerson for easy overriding.
apostrophecms-legacy_apostrophe-groups
train
js
8557b625f0a95da8180e5e232a7c7cd9323f03ab
diff --git a/libraries/default.rb b/libraries/default.rb index <HASH>..<HASH> 100644 --- a/libraries/default.rb +++ b/libraries/default.rb @@ -112,6 +112,19 @@ class Chef end end end + + def find_database_server(role) + dbm = find_matching_role(role) + Chef::Log.warn("No no...
Factor out the logic to determine the actual database server; whether that comes from a search, or is manually specified. In particular, this makes it possible to specify a host that is not managed in chef, per COOK-<I>. There is a bit of a layering violation here (not all respond to :database), but it just makes sens...
poise_application
train
rb
52d33dd8d5b1eb28d7a7f1bb93c69b7a798edf3a
diff --git a/lib/doorkeeper/config.rb b/lib/doorkeeper/config.rb index <HASH>..<HASH> 100644 --- a/lib/doorkeeper/config.rb +++ b/lib/doorkeeper/config.rb @@ -15,9 +15,29 @@ module Doorkeeper end class Config + module ConfigOptions + def register_config_option(name, attribute, receives_block = true) + ...
Change implementation of config Uses register_config_option to set new config options instead of manually defining accessors and methods
doorkeeper-gem_doorkeeper
train
rb
5ccb2eeded54a3ad71044bad89c5b5b987350cdb
diff --git a/concentration/run.py b/concentration/run.py index <HASH>..<HASH> 100644 --- a/concentration/run.py +++ b/concentration/run.py @@ -64,6 +64,21 @@ def lose(): @hug.cli('break') def take_break(minutes: hug.types.number=5): """Enables temporarily breaking concentration""" + print("") + print("####...
Give the user time to change their mind before losing concentration
timothycrosley_concentration
train
py
78df9dd39fa7044c551511e5ce6e7d60615c0881
diff --git a/anytemplate/utils.py b/anytemplate/utils.py index <HASH>..<HASH> 100644 --- a/anytemplate/utils.py +++ b/anytemplate/utils.py @@ -19,36 +19,12 @@ try: from anyconfig.api import container, load except ImportError: container = dict - - try: - import json - except ImportError: - ...
utilize a couple of utility functions in anytemplate.compat if anyconfig is not available
ssato_python-anytemplate
train
py
1a91eb1de8da538c1b4ffc06031061d78c099621
diff --git a/twarc.py b/twarc.py index <HASH>..<HASH> 100755 --- a/twarc.py +++ b/twarc.py @@ -81,7 +81,7 @@ def rate_limit(f): time.sleep(seconds) elif resp.status_code == 503: seconds = 60 - logging.warn("503 from Twitter API, sleeping %s", secs) + ...
oops, secs does not exist
DocNow_twarc
train
py
3a0cdbf17423bc04258ba9c6a7129255b35d72a4
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -42,8 +42,8 @@ check_dependency('gi.repository.Notify', '0.7') # read long_description from README.rst long_description = None try: - long_description = open('README.rst', encoding='utf-8').read() - long_description +...
Use the io.open function (fix for the previous commit)
coldfix_udiskie
train
py
4cbb6c22e2730834e40a3da6f617c4ee11306fba
diff --git a/thali/mockmobile.js b/thali/mockmobile.js index <HASH>..<HASH> 100644 --- a/thali/mockmobile.js +++ b/thali/mockmobile.js @@ -1,7 +1,7 @@ var keys = {}; function Mobile(key) { - keys[key] || (keys[key] = new NativeCall(key)); + keys.hasOwnProperty(key) || (keys[key] = new NativeCall(key)); return...
Fixing as per Oz suggestion for safety
thaliproject_Thali_CordovaPlugin
train
js
f9729f048d9cdcf50a142a8ffdf94f6b6934b545
diff --git a/test/acceptance/app_test.rb b/test/acceptance/app_test.rb index <HASH>..<HASH> 100644 --- a/test/acceptance/app_test.rb +++ b/test/acceptance/app_test.rb @@ -28,6 +28,7 @@ describe 'acceptance test' do # Source ~/.bashrc on travis so that rvm gets loaded correctly and the # gems are found. ...
print the env for debugging
jonleighton_focused_controller
train
rb
d4250062ba42a6f2e956ba163f17dcbaddfce228
diff --git a/src/widgets/layout_resizable/layout_resizable.js b/src/widgets/layout_resizable/layout_resizable.js index <HASH>..<HASH> 100644 --- a/src/widgets/layout_resizable/layout_resizable.js +++ b/src/widgets/layout_resizable/layout_resizable.js @@ -17,6 +17,9 @@ classes: { nosash: 'no-sash', ...
Layout Resizable: added a `resize` event
svelto_svelto
train
js
bf85369bb1eea34cae5a98084709fb621e6d1261
diff --git a/pgmpy/BayesianModel/BayesianModel.py b/pgmpy/BayesianModel/BayesianModel.py index <HASH>..<HASH> 100644 --- a/pgmpy/BayesianModel/BayesianModel.py +++ b/pgmpy/BayesianModel/BayesianModel.py @@ -2,11 +2,10 @@ import networkx as nx import numpy as np -from Exceptions import Exceptions -from BayesianModel...
changed Exceptions to pgmpy.Exceptions in import statement
pgmpy_pgmpy
train
py,py
c4ce7150b6f7b491adaf315f61f1f8c9524b6e42
diff --git a/lib/conference.js b/lib/conference.js index <HASH>..<HASH> 100644 --- a/lib/conference.js +++ b/lib/conference.js @@ -253,7 +253,7 @@ class Conference extends Emitter { this.endpoint.api('conference ', `${this.name} recording start ${file}`, (err, evt) => { if (err) return callback(err, evt...
Fixing startRecording success Regex This will work when FreeSWITCH video is enabled.
davehorton_drachtio-fsmrf
train
js
2a554c43b09af6030b77a9a25dcf5ee3ed9c06af
diff --git a/btcd.go b/btcd.go index <HASH>..<HASH> 100644 --- a/btcd.go +++ b/btcd.go @@ -94,6 +94,11 @@ func btcdMain(serverChan chan<- *server) error { cfg.Listeners, err) return err } + addInterruptHandler(func() { + btcdLog.Infof("Gracefully shutting down the server...") + server.Stop() + server.WaitFo...
Shutdown server fully on ctrl-c since we don't wait for peers, this largely just waits for the server procs themselves to die. Unless the entire server is wedged (which is what kill -9 is for) this should always shut down fairly swiftly. This should mean we sync addrmanager and disestablish upnp correctly on interrup...
btcsuite_btcd
train
go,go
be7a06a61beb360c38cce24428932d84f21a6cd8
diff --git a/Classes/Query/FilterEncoder/QueryGroup.php b/Classes/Query/FilterEncoder/QueryGroup.php index <HASH>..<HASH> 100644 --- a/Classes/Query/FilterEncoder/QueryGroup.php +++ b/Classes/Query/FilterEncoder/QueryGroup.php @@ -25,6 +25,7 @@ namespace ApacheSolrForTypo3\Solr\Query\FilterEncoder; ******************...
[TASK] Fix scrutinizer issues in QueryGroup
TYPO3-Solr_ext-solr
train
php
896a365488ea42e18cdd522e82c9a080d7533c8b
diff --git a/xod-client/src/project/actions.js b/xod-client/src/project/actions.js index <HASH>..<HASH> 100644 --- a/xod-client/src/project/actions.js +++ b/xod-client/src/project/actions.js @@ -160,7 +160,7 @@ export const addPatch = (name, folderId) => (dispatch, getState) => { payload: preparedData, }); - ...
fix(actions): fix returning of newId for some actions
xodio_xod
train
js
c2c9b8ab83c9f5076755abf2de8751b174cc2ff3
diff --git a/app/models/layout.rb b/app/models/layout.rb index <HASH>..<HASH> 100644 --- a/app/models/layout.rb +++ b/app/models/layout.rb @@ -1,5 +1,5 @@ class Layout < ActiveRecord::Base - + attr_accessible :lock_version, :name, :content_type, :content # Default Order default_scope :order => "name" diff -...
Add attr_accessible to Layout and User
radiant_radiant
train
rb,rb
abbef087533c75fd50ba0bddb56349f1be539141
diff --git a/src/main/java/com/belladati/sdk/view/ImageView.java b/src/main/java/com/belladati/sdk/view/ImageView.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/belladati/sdk/view/ImageView.java +++ b/src/main/java/com/belladati/sdk/view/ImageView.java @@ -13,20 +13,20 @@ import com.belladati.sdk.filter.Filte...
[BDSDK-<I>] Preparation
BellaDati_belladati-sdk-api
train
java
f873dddecdae6337fe34573b60cbf45bbb278470
diff --git a/src/LiveDevelopment/Agents/RemoteAgent.js b/src/LiveDevelopment/Agents/RemoteAgent.js index <HASH>..<HASH> 100644 --- a/src/LiveDevelopment/Agents/RemoteAgent.js +++ b/src/LiveDevelopment/Agents/RemoteAgent.js @@ -130,7 +130,7 @@ define(function RemoteAgent(require, exports, module) { _stopKeepAli...
code review comments. change frameNavigated handling from one to on to handling page navigation within the current project.
adobe_brackets
train
js
26016aefd1821d766c53ea46e7e273047dceb535
diff --git a/xdist/dsession.py b/xdist/dsession.py index <HASH>..<HASH> 100644 --- a/xdist/dsession.py +++ b/xdist/dsession.py @@ -159,7 +159,7 @@ class DSession: self.countfailures = 0 self.maxfail = config.getvalue("maxfail") self.queue = queue.Queue() - self._failed_collection_paths...
Use the error longrepr rather than the file path to check for duplicate errors.
pytest-dev_pytest-xdist
train
py
e6de34eec782c691cae721ba7b0600c612e3b963
diff --git a/src/svg.js b/src/svg.js index <HASH>..<HASH> 100644 --- a/src/svg.js +++ b/src/svg.js @@ -1881,11 +1881,12 @@ function arrayFirstValue(arr) { clone.insertAfter(this); return clone; }; +// SIERRA Element.toDefs(): If this _moves_ an element to the <defs> region, why is the return valu...
EDIT & COMMENT Element.toDefs
adobe-webplatform_Snap.svg
train
js
405e54ff7159061df230d2e59dc124e35772c3e7
diff --git a/cherrypy/_cpserver.py b/cherrypy/_cpserver.py index <HASH>..<HASH> 100644 --- a/cherrypy/_cpserver.py +++ b/cherrypy/_cpserver.py @@ -59,7 +59,10 @@ class Server(ServerAdapter): nodelay = True def __init__(self): - ServerAdapter.__init__(self, cherrypy.engine) + self.bus = che...
Fixed a bind_addr buglet introduced in [<I>].
cherrypy_cheroot
train
py
86e1123a49e1e0d8870288cf74a78f90dcde4522
diff --git a/podcast/admin.py b/podcast/admin.py index <HASH>..<HASH> 100644 --- a/podcast/admin.py +++ b/podcast/admin.py @@ -39,6 +39,7 @@ class ShowAdmin(admin.ModelAdmin): class EpisodeAdmin(admin.ModelAdmin): list_display = ('title', 'get_duration', 'pub_date', 'show', 'explicit',) + list_filter = ('sho...
Added filter by show to episodies in admin
richardcornish_django-applepodcast
train
py
f3e1ecf2b32e045aee27a0fc30fdfcd90851a43d
diff --git a/lib/chef/provider/user/mac.rb b/lib/chef/provider/user/mac.rb index <HASH>..<HASH> 100644 --- a/lib/chef/provider/user/mac.rb +++ b/lib/chef/provider/user/mac.rb @@ -48,7 +48,7 @@ class Chef if user_plist current_resource.uid(user_plist[:uid][0]) current_resource.gid(us...
user: handle nil home dirs on macOS Don't fail with a NoMethodError error if home is not defined. We're seeing this failure in our specs right now.
chef_chef
train
rb
c601acb3e30e524a9ae01734998ceb47e62badb8
diff --git a/src/test/java/org/cactoos/scalar/ScalarEnvelopeTest.java b/src/test/java/org/cactoos/scalar/ScalarEnvelopeTest.java index <HASH>..<HASH> 100644 --- a/src/test/java/org/cactoos/scalar/ScalarEnvelopeTest.java +++ b/src/test/java/org/cactoos/scalar/ScalarEnvelopeTest.java @@ -23,9 +23,11 @@ */ package org....
(#<I>) Add extra test for Exception
yegor256_cactoos
train
java
82a65be446326ab4d974f6f843e93d13123cd762
diff --git a/bin/test_api.js b/bin/test_api.js index <HASH>..<HASH> 100644 --- a/bin/test_api.js +++ b/bin/test_api.js @@ -13,6 +13,7 @@ env.NODE_PATH = path.resolve(__dirname, '../out'); let testFiles = [ './addons/**/out/*api.js', + './addons/**/out-test/*api.js', './out-test/**/*api.js', ];
Include new out-test path in test-api
xtermjs_xterm.js
train
js
985c667396e9e6b4fb6eb9b1504f78b5f6c37368
diff --git a/core/ast/src/main/java/org/overture/ast/factory/AstFactory.java b/core/ast/src/main/java/org/overture/ast/factory/AstFactory.java index <HASH>..<HASH> 100644 --- a/core/ast/src/main/java/org/overture/ast/factory/AstFactory.java +++ b/core/ast/src/main/java/org/overture/ast/factory/AstFactory.java @@ -455,1...
fixed possible null pointer introduced in commit #b<I>f<I>e<I>fd<I>b<I>e0a<I>e0c<I>c5d
overturetool_overture
train
java
abb7c66b5da708034e5a182dd4c18504c0bee868
diff --git a/src/OpenGraph.php b/src/OpenGraph.php index <HASH>..<HASH> 100644 --- a/src/OpenGraph.php +++ b/src/OpenGraph.php @@ -3,6 +3,7 @@ namespace shweshi\OpenGraph; use DOMDocument; +use shweshi\OpenGraph\Exceptions\FetchException; class OpenGraph { @@ -13,7 +14,7 @@ class OpenGraph * parsing s...
Update OpenGraph.php if the curl_exec fails, it's best to throw a custom exception. I lost precious time debugging to find out that due server's IP being blacklisted the fetch() method was failing silently.
shweshi_OpenGraph
train
php
55a5770c0f7823f90931410fb1f7f378eb6dcab5
diff --git a/config.js b/config.js index <HASH>..<HASH> 100644 --- a/config.js +++ b/config.js @@ -8,7 +8,7 @@ var config_path = process.env.HARAKA ? path.join(process.env.HARAKA, 'config') : config.get = function(name, type) { if (type !== 'nolog') { - logger.loginfo("Getting config: " + name); + ...
Stop config being so noisy by using debug for "getting config"
haraka_Haraka
train
js
919f7e33390ce58fee3480c5f01dfd7415d6b322
diff --git a/verify.php b/verify.php index <HASH>..<HASH> 100644 --- a/verify.php +++ b/verify.php @@ -41,7 +41,7 @@ function verifyEmail($toemail, $fromemail, $getdetails = false){ $connect = @fsockopen($mx_ip, 25); if($connect){ - if(ereg("^220", $out = fgets($connect, 1024))){ + if(preg_match("/^220/i", ...
Replaced ereg functions with preg_match
hbattat_verifyEmail
train
php
0a961d54fec5ab58e1b4feb4a4cf3d57a16aae29
diff --git a/checkers/spelling.py b/checkers/spelling.py index <HASH>..<HASH> 100644 --- a/checkers/spelling.py +++ b/checkers/spelling.py @@ -131,6 +131,8 @@ class SpellingChecker(BaseTokenChecker): line2 = re.sub("([^a-zA-Z]|^)'", " ", line2) # Replace punctuation signs with space e.g. and/or -> and...
Treat nulls as separators
PyCQA_pylint
train
py
35408d2dbfeb1db07e3202ac5c09bfc367283f96
diff --git a/lib/mongo/address.rb b/lib/mongo/address.rb index <HASH>..<HASH> 100644 --- a/lib/mongo/address.rb +++ b/lib/mongo/address.rb @@ -148,7 +148,7 @@ module Mongo error = nil ::Socket.getaddrinfo(host, nil, family, ::Socket::SOCK_STREAM).detect do |info| begin - return FAMILY_MA...
RUBY-<I> Use host from #getaddrinfo
mongodb_mongo-ruby-driver
train
rb
6d7ee006d8a266f2f2f29de3c21e07d893048826
diff --git a/lib/stsci/tools/cfgpars.py b/lib/stsci/tools/cfgpars.py index <HASH>..<HASH> 100644 --- a/lib/stsci/tools/cfgpars.py +++ b/lib/stsci/tools/cfgpars.py @@ -212,8 +212,14 @@ def getCfgFilesInDirForTask(aDir, aTask, recurse=False): else: flist = glob.glob(aDir+os.sep+'*.cfg') if aTask: - ...
fix problem where TEAL picks up an installation .cfg file and tries to use it as a TEAL file git-svn-id: <URL>
spacetelescope_stsci.tools
train
py
7b6ae29ab362467a880d67a5a30f8f3d0674877e
diff --git a/lib/configs/react.js b/lib/configs/react.js index <HASH>..<HASH> 100644 --- a/lib/configs/react.js +++ b/lib/configs/react.js @@ -10,7 +10,6 @@ module.exports = { }, plugins: ['react', 'jsx-a11y', 'jest'], rules: { - 'func-style': ['error', 'declaration', {allowArrowFunctions: true}], 'jes...
Remove func-style override allowArrowFunctions is now part of the recommended config.
github_eslint-plugin-github
train
js
5b28d0bc127fc5947196b43143f654fadfaaa4d4
diff --git a/config/permission.php b/config/permission.php index <HASH>..<HASH> 100644 --- a/config/permission.php +++ b/config/permission.php @@ -5,7 +5,7 @@ return [ 'models' => [ /* - * When using the "HasRoles" trait from this package, we need to know which + * When using the "HasPer...
Update permission.php config - Fix inline comments related "HasPermissions" trait configuration fields
spatie_laravel-permission
train
php
f47d495c9c9c4d11c2d1f6ae7dcc4e12ec072322
diff --git a/libzfs/manager.py b/libzfs/manager.py index <HASH>..<HASH> 100644 --- a/libzfs/manager.py +++ b/libzfs/manager.py @@ -202,7 +202,10 @@ class BindingManager(object): for part in data.split(','): if '=' in part: part = part[:part.index('=')] - ...
-Fix: ensure we don't try to load 'empty' props.
Xaroth_libzfs-python
train
py
f4e743f0a2ac4696c1cb9f3f22a39fcbc1d3db2a
diff --git a/bin/cmd.js b/bin/cmd.js index <HASH>..<HASH> 100755 --- a/bin/cmd.js +++ b/bin/cmd.js @@ -21,6 +21,7 @@ function checkFile(fileName) { var err = leaky(str, fileName); if (err) { console.log(err); + process.exit(1); } }); } @@ -40,4 +41,4 @@ fs.stat(path.resolve(input), functi...
If there is a leak, set the exit code to 1.
kesla_node-leaky
train
js
52d336653d801247c5ef52edbfae35dfc33b2884
diff --git a/hamper/interfaces.py b/hamper/interfaces.py index <HASH>..<HASH> 100644 --- a/hamper/interfaces.py +++ b/hamper/interfaces.py @@ -21,6 +21,7 @@ class BaseInterface(Interface): class Plugin(object): name = "genericplugin" + dependencies = [] implements(IPlugin) def __init__(self):
Add an empty dependency list to the base plugin
hamperbot_hamper
train
py
fefc822b5dcc85f3f9bae0396230593f1fb706c3
diff --git a/src/components/TabsItem/TabsItem.js b/src/components/TabsItem/TabsItem.js index <HASH>..<HASH> 100644 --- a/src/components/TabsItem/TabsItem.js +++ b/src/components/TabsItem/TabsItem.js @@ -4,9 +4,8 @@ import getClassName from '../../helpers/getClassName'; import Tappable, {ACTIVE_EFFECT_DELAY} from '../T...
Using IS_PLATFORM_IOS in TabsItem component
VKCOM_VKUI
train
js
d8698f6144a11bd428304a9cebfc9f139c0a10c0
diff --git a/defaultConfig.stub.js b/defaultConfig.stub.js index <HASH>..<HASH> 100644 --- a/defaultConfig.stub.js +++ b/defaultConfig.stub.js @@ -24,7 +24,7 @@ View the full documentation at https://tailwindcss.com. | */ -// var defaultConfig = require('tailwindcss/defaultConfig')() +// let defaultConfig = require...
Switch from `var` to `let` Closes #<I>.
tailwindcss_tailwindcss
train
js,js
b674fc5f691b6e3ea4524dd204c6dec37b373b66
diff --git a/code/services/ExtensibleSearchService.php b/code/services/ExtensibleSearchService.php index <HASH>..<HASH> 100644 --- a/code/services/ExtensibleSearchService.php +++ b/code/services/ExtensibleSearchService.php @@ -113,18 +113,19 @@ class ExtensibleSearchService { * Retrieve the most relevant search sugg...
Finalising the AJAX approval.
nglasl_silverstripe-extensible-search
train
php
06474945f01c2acaa2c792db48d62923287cf4cc
diff --git a/lib/browser/scapi.js b/lib/browser/scapi.js index <HASH>..<HASH> 100644 --- a/lib/browser/scapi.js +++ b/lib/browser/scapi.js @@ -37,7 +37,9 @@ if (success) { d.done(success); } - d.fail(error || console.log); + if (error) { + d.fail(error); + } // but re...
browser scapi: remove default .fail of console.log as this ends the promise chain
crucialfelix_supercolliderjs
train
js
c254d919eb2bb30a87829d04320e56f65084130d
diff --git a/furious/context/context.py b/furious/context/context.py index <HASH>..<HASH> 100644 --- a/furious/context/context.py +++ b/furious/context/context.py @@ -55,11 +55,12 @@ class Context(object): NOTE: Use the module's new function to get a context, do not manually instantiate. """ - def __i...
Convert Context to take options kwargs. To facilitate future extensions, switch from named insert_tasks injection parameter to fetching it from options. This will keep the API cleaner as additional injection points are added.
Workiva_furious
train
py