hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
238be6f3a3b1cfcd55115beaa703d4aa2377d368 | diff --git a/packages/core/parcel-bundler/src/assets/JSAsset.js b/packages/core/parcel-bundler/src/assets/JSAsset.js
index <HASH>..<HASH> 100644
--- a/packages/core/parcel-bundler/src/assets/JSAsset.js
+++ b/packages/core/parcel-bundler/src/assets/JSAsset.js
@@ -5,6 +5,16 @@ const Asset = require('../Asset');
const ba... | Skip loading dependencies for assets that don’t have import/require | parcel-bundler_parcel | train |
6353a3d1443c717b2d2e804190153f8be605c2f1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -21,5 +21,6 @@ setup(
scripts=[
'bin/udiskie',
'bin/udiskie-umount',
+ 'bin/udiskie-mount'
],
) | Include udiskie-mount in binary distribution | coldfix_udiskie | train |
3381cf4b13e9002ccf4a17a05dd44809f18d0ebe | diff --git a/modules/bootstrap/src/main/java/org/torquebox/bootstrap/as/TorqueBoxBootstrapper.java b/modules/bootstrap/src/main/java/org/torquebox/bootstrap/as/TorqueBoxBootstrapper.java
index <HASH>..<HASH> 100644
--- a/modules/bootstrap/src/main/java/org/torquebox/bootstrap/as/TorqueBoxBootstrapper.java
+++ b/modules... | Refactor to use ResourceLoaderUtil from polyglot. | torquebox_torquebox | train |
2da7061bb1da997d2214cb79e9534f2a99003460 | diff --git a/jenkins/plugin/src/main/java/com/hp/octane/plugins/jenkins/model/snapshots/SnapshotItem.java b/jenkins/plugin/src/main/java/com/hp/octane/plugins/jenkins/model/snapshots/SnapshotItem.java
index <HASH>..<HASH> 100644
--- a/jenkins/plugin/src/main/java/com/hp/octane/plugins/jenkins/model/snapshots/SnapshotIt... | tech: poc of UTC timings | hpsa_hpe-application-automation-tools-plugin | train |
a15a572c93d9ad59ded60ac78ce7f1aafceb55ff | diff --git a/lib/puppet/configurer.rb b/lib/puppet/configurer.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/configurer.rb
+++ b/lib/puppet/configurer.rb
@@ -33,11 +33,6 @@ class Puppet::Configurer
Puppet[:puppetdlockfile]
end
- def clear
- @catalog.clear(true) if @catalog
- @catalog = nil
- end
-
... | Remove unused clear method in configurer | puppetlabs_puppet | train |
8ed2aa5a80fde9bb1f931b894b2b2b4d097970e3 | diff --git a/tests/example_project/settings/base.py b/tests/example_project/settings/base.py
index <HASH>..<HASH> 100644
--- a/tests/example_project/settings/base.py
+++ b/tests/example_project/settings/base.py
@@ -71,6 +71,7 @@ INSTALLED_APPS = (
'ella.ellatagging',
'ella.galleries',
'ella.interviews',
... | ella.exports added to INSTALLED_APPS | ella_ella | train |
7ee605eedb99fccc5dfa5ad1e96e1ecbca5d4977 | diff --git a/FluentDOM.php b/FluentDOM.php
index <HASH>..<HASH> 100644
--- a/FluentDOM.php
+++ b/FluentDOM.php
@@ -1646,10 +1646,10 @@ class FluentDOM implements RecursiveIterator, SeekableIterator, Countable, Array
* @access public
* @return string | object FluentDOM attribute value or $this
*/
- public func... | FluentDOM:
- changed: rewrote attr() method | ThomasWeinert_FluentDOM | train |
951f683f63a9c4341a57658600cbfd03c53595c8 | diff --git a/client.js b/client.js
index <HASH>..<HASH> 100644
--- a/client.js
+++ b/client.js
@@ -1,7 +1,14 @@
-const WebSocket = require('ws');
+// if within node, use the ws package
+// otherwise, use default web sockets
-module.exports = class Client extends WebSocket {
- constructor(url, socketName) {
- supe... | allow for browser-based websocket client | vutran_redux-ipc | train |
fb65eaf8549dc4a9d06b0ac6529907484cbd21cd | diff --git a/django_extensions/management/shells.py b/django_extensions/management/shells.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/shells.py
+++ b/django_extensions/management/shells.py
@@ -153,7 +153,11 @@ def import_objects(options, style):
if not quiet_load:
print(style.SQL_TAB... | Fix model loading for sentry
Sentry has a weird model naming scheme where all model files are inside
a single directory called models and each 'app' models is in a file of
its own (I guess the authors thought this was a better idea when they
didn't have any views etc. but models only).
With the models directory begin... | django-extensions_django-extensions | train |
f8607f4743c435ee53bd9b7c0b2615ed4dd0059a | diff --git a/manifest.php b/manifest.php
index <HASH>..<HASH> 100755
--- a/manifest.php
+++ b/manifest.php
@@ -35,12 +35,12 @@ return array(
'label' => 'Item core extension',
'description' => 'TAO Items extension',
'license' => 'GPL-2.0',
- 'version' => '4.2.0',
+ 'version' => '4.3.0',
'author... | TAO-<I> added usage of new filesystem service | oat-sa_extension-tao-item | train |
61361e4a8d2637561d52b496b345057a6ed6badd | diff --git a/lib/json_builder/template.rb b/lib/json_builder/template.rb
index <HASH>..<HASH> 100644
--- a/lib/json_builder/template.rb
+++ b/lib/json_builder/template.rb
@@ -47,7 +47,7 @@ if defined?(Rails) && Rails.version =~ /^3/
%{
::JSONBuilder::Compiler.generate(:scope => self, :pretty =... | was using old template source and had an unused variable | dewski_json_builder | train |
0a994ea7f2b51fa51e0b4d9188b239698440fd5a | diff --git a/hedgehog/client/__init__.py b/hedgehog/client/__init__.py
index <HASH>..<HASH> 100644
--- a/hedgehog/client/__init__.py
+++ b/hedgehog/client/__init__.py
@@ -46,8 +46,8 @@ class HedgehogClient(object):
def spawn(self, callback, *args, name=None, daemon=False, **kwargs) -> None:
self.backend.s... | change emergency shutdown mechanism to throw an exception in the main thread, terminating the program if that's the only thread | PRIArobotics_HedgehogClient | train |
c054a7e32f4142a264f3593be456468b403af76b | diff --git a/lib/gds_api/test_helpers/content_store.rb b/lib/gds_api/test_helpers/content_store.rb
index <HASH>..<HASH> 100644
--- a/lib/gds_api/test_helpers/content_store.rb
+++ b/lib/gds_api/test_helpers/content_store.rb
@@ -57,6 +57,10 @@ module GdsApi
end
end
end
+
+ def content_stor... | Add test helper to stub content store being unavailable | alphagov_gds-api-adapters | train |
3dbe2349aa9b307255a89772e858a146a4d2ae78 | diff --git a/src/bbn/Api/Nextcloud.php b/src/bbn/Api/Nextcloud.php
index <HASH>..<HASH> 100644
--- a/src/bbn/Api/Nextcloud.php
+++ b/src/bbn/Api/Nextcloud.php
@@ -267,7 +267,9 @@ class Nextcloud extends bbn\Models\Cls\Basic{
$dest = \bbn\Mvc::getTmpPath().X::basename($file);
X::log("DEST: $dest", 'nextclo... | New logs + urlencode in nextcloud | nabab_bbn | train |
e8e341513cc74b0a0a2673cc2d714927456f966a | diff --git a/tests/utils/test_operator.py b/tests/utils/test_operator.py
index <HASH>..<HASH> 100644
--- a/tests/utils/test_operator.py
+++ b/tests/utils/test_operator.py
@@ -1174,6 +1174,70 @@ class TestOperatorCSV(object):
csv = OperatorCSV('csv.yaml', csv_content)
assert expected_pullspecs == csv.g... | Fix: missing unittest coverage operators mods
Unitets for missing tests coverage for operator CSV modifications
CLOUDBLD-<I> | projectatomic_atomic-reactor | train |
6ecbdef112b3bf0759a60914d0eb08540c5274ed | diff --git a/core/setup/file.go b/core/setup/file.go
index <HASH>..<HASH> 100644
--- a/core/setup/file.go
+++ b/core/setup/file.go
@@ -13,6 +13,8 @@ func File(c *Controller) (middleware.Middleware, error) {
if err != nil {
return nil, err
}
+ // Set start function is transfer is specified
+
return func(next mi... | Add notifies to master servers
This adds a bunch of supporting code to send notifies to a primary
name server. | coredns_coredns | train |
7609f3a68fc1e77a5144d395e054eaac653e3f86 | diff --git a/ah_bootstrap.py b/ah_bootstrap.py
index <HASH>..<HASH> 100644
--- a/ah_bootstrap.py
+++ b/ah_bootstrap.py
@@ -86,6 +86,12 @@ def use_astropy_helpers(path=None, download_if_needed=True, index_url=None,
main PyPI server.
"""
+ # True by default, unless the --offline option was provided on ... | Add the requested --offline install option that can be used for installation in offline environments or system packagers | astropy_astropy-helpers | train |
55b29e71a83ea38ab20c8298bb91af208e14aae6 | diff --git a/src/Psalm/Visitor/PartialParserVisitor.php b/src/Psalm/Visitor/PartialParserVisitor.php
index <HASH>..<HASH> 100644
--- a/src/Psalm/Visitor/PartialParserVisitor.php
+++ b/src/Psalm/Visitor/PartialParserVisitor.php
@@ -107,6 +107,12 @@ class PartialParserVisitor extends PhpParser\NodeVisitorAbstract impleme... | Fix issue where diffs span multiple functions | vimeo_psalm | train |
32822fff773dfcc9206ab14f60018ebaff934236 | diff --git a/UPGRADE-4.0.md b/UPGRADE-4.0.md
index <HASH>..<HASH> 100644
--- a/UPGRADE-4.0.md
+++ b/UPGRADE-4.0.md
@@ -70,4 +70,7 @@ The Twig filters that come with the bundle will no longer load a default templat
The `sonata_admin` twig extension is now final. You may no longer extend it.
## SimplePager
-Method `S... | `LockInterface` extends from `ModelManagerInterface` | sonata-project_SonataAdminBundle | train |
36056bfcd332490679cd13680795e0666e93f0c4 | diff --git a/src/com/google/javascript/jscomp/CheckSideEffects.java b/src/com/google/javascript/jscomp/CheckSideEffects.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/CheckSideEffects.java
+++ b/src/com/google/javascript/jscomp/CheckSideEffects.java
@@ -109,9 +109,7 @@ final class CheckSideEffe... | Treat a no-effect statement as a declaration only if it has JSDoc with a declaration in it, not just if it has any JSDoc at all.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
fd823f2206f24b00130533a42945f44f570ea422 | diff --git a/src/main/java/de/jodamob/android/autolayout/NameConverter.java b/src/main/java/de/jodamob/android/autolayout/NameConverter.java
index <HASH>..<HASH> 100755
--- a/src/main/java/de/jodamob/android/autolayout/NameConverter.java
+++ b/src/main/java/de/jodamob/android/autolayout/NameConverter.java
@@ -43,21 +43... | added new methods for getting names for non activity/fragments | dpreussler_android-autolayout | train |
0a284bc5dfeb0de5b1637b9f6203ea05e5211068 | diff --git a/lib/super_resources/resources.rb b/lib/super_resources/resources.rb
index <HASH>..<HASH> 100644
--- a/lib/super_resources/resources.rb
+++ b/lib/super_resources/resources.rb
@@ -51,7 +51,7 @@ module SuperResources
end
def resource
- memoize_resource { resource_class.send(finder_method, par... | don't try to find an active record for recourse if params[:id] does not exist, just return nil | habanerohq_super_resources | train |
c72a612b44203c39dee4ed7fbf1082f289a803af | diff --git a/builder/azure/common/client/config.go b/builder/azure/common/client/config.go
index <HASH>..<HASH> 100644
--- a/builder/azure/common/client/config.go
+++ b/builder/azure/common/client/config.go
@@ -280,19 +280,19 @@ func (c *Config) FillParameters() error {
c.SubscriptionID = subscriptionID
}
- if c... | Re-added tests for FillParamters | hashicorp_packer | train |
e5e3981dca8f09d52b5bb5ba7e10aad48119760e | diff --git a/synapse/eventbus.py b/synapse/eventbus.py
index <HASH>..<HASH> 100644
--- a/synapse/eventbus.py
+++ b/synapse/eventbus.py
@@ -1,5 +1,6 @@
import gc
import atexit
+import signal
import logging
import threading
import traceback
@@ -267,6 +268,13 @@ class EventBus(object):
# we have now fini... | Allow the EventBus.main() to catch SIGTERM and gracefully exit. | vertexproject_synapse | train |
53f027edb935042d4b55763f580908d7ab93f000 | diff --git a/index.test.js b/index.test.js
index <HASH>..<HASH> 100644
--- a/index.test.js
+++ b/index.test.js
@@ -22,6 +22,7 @@ const urls = [
'http://www.npmjs.com#fragment',
'this.is.my@email.com',
'test@something.com',
+ 'http://www.example.co.uk/',
];
const expected = [
@@ -31,6 +32,7 @@ cons... | Add some more negative tests (#<I>)
* Add a GitHub Node workflow
* Add some more negative tests | bjarneo_extract-domain | train |
a4371d6e69938a0c1dbfc18a829bdb93dfafbcfa | diff --git a/W.slideshow.js b/W.slideshow.js
index <HASH>..<HASH> 100644
--- a/W.slideshow.js
+++ b/W.slideshow.js
@@ -69,7 +69,10 @@ if(Function.prototype.method == undefined) {
this._frontSlide;
this._nextSlide;
+ // State
+ this._isPlaying = false;
this.... | [added] play(), stop().
[changed] play state event name | theworkers_W.js | train |
b174eddb9073964df6ddba0db855537592a711b5 | diff --git a/src/main/java/org/springframework/data/solr/core/ResultHelper.java b/src/main/java/org/springframework/data/solr/core/ResultHelper.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/springframework/data/solr/core/ResultHelper.java
+++ b/src/main/java/org/springframework/data/solr/core/ResultHelper.ja... | DATASOLR-<I> - Preserve field order on facets and pivot facet.
We now use a LinkedHashMap instead of HashMap during result conversion.
Original Pull Request: #<I>
CLA: <I> (Venil Noronha) | spring-projects_spring-data-solr | train |
8eb586cb3e61607523c905a4267151116239f526 | diff --git a/context_test.go b/context_test.go
index <HASH>..<HASH> 100644
--- a/context_test.go
+++ b/context_test.go
@@ -4,21 +4,11 @@ import (
"bytes"
"log"
"os"
- "regexp"
"testing"
"github.com/wellington/go-libsass/libs"
)
-var rerandom *regexp.Regexp
-
-func init() {
- // Setup build directory
- os... | Remove unused init() in context_test.go (#<I>) | wellington_go-libsass | train |
7961068380de3bfc77551c2ff1124f4585dd95ec | diff --git a/lib/later_dude.rb b/lib/later_dude.rb
index <HASH>..<HASH> 100644
--- a/lib/later_dude.rb
+++ b/lib/later_dude.rb
@@ -110,51 +110,34 @@ module LaterDude
# For an array, the first value is considered to be a strftime compatible string and the second is considered to be
# a proc. If the second valu... | Refactored some duplication. | clemens_later_dude | train |
7e220f2e7b597d8c4e7c87e1b807924f2bbefe29 | diff --git a/tests/test_enterprise_client.py b/tests/test_enterprise_client.py
index <HASH>..<HASH> 100644
--- a/tests/test_enterprise_client.py
+++ b/tests/test_enterprise_client.py
@@ -223,24 +223,16 @@ class WeChatClientTestCase(unittest.TestCase):
def test_material_get_mpnews(self):
media_id = '2-G6... | fix py<I> not support assertListEqual | jxtech_wechatpy | train |
62988e4da19e53f016297bbb07d5cb31d5130b1f | diff --git a/spec/class_file_finder_spec.rb b/spec/class_file_finder_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/class_file_finder_spec.rb
+++ b/spec/class_file_finder_spec.rb
@@ -5,15 +5,12 @@ require 'abcing/class_file_finder'
describe ABCing::ClassFileFinder do
before(:each) do
Dir.mkdir 'dummy'
+ Dir... | Create helper methods for files, and test for scanner. | emileswarts_abcing | train |
1a2e4342e22600371fbdc459433c39b923de49d1 | diff --git a/examples/app.js b/examples/app.js
index <HASH>..<HASH> 100644
--- a/examples/app.js
+++ b/examples/app.js
@@ -8,7 +8,6 @@ configure(function(){
use(ContentLength)
use(CommonLogger)
set('root', dirname(__filename))
- enable('cache view contents')
})
var messages = [],
diff --git a/lib/express/... | production env caching view contents and static files | expressjs_express | train |
1c8dc23affcc45f8ee0b33e04537d60d31018193 | diff --git a/drools-compiler/src/test/java/org/drools/compiler/oopath/OOPathTest.java b/drools-compiler/src/test/java/org/drools/compiler/oopath/OOPathTest.java
index <HASH>..<HASH> 100644
--- a/drools-compiler/src/test/java/org/drools/compiler/oopath/OOPathTest.java
+++ b/drools-compiler/src/test/java/org/drools/compi... | [DROOLS-<I>] avoid CCE when a ReactiveFromNode has a different node as peer (#<I>) | kiegroup_drools | train |
8d40527a3b89ee5cb0cb370c84845466f7d2302f | diff --git a/test.js b/test.js
index <HASH>..<HASH> 100644
--- a/test.js
+++ b/test.js
@@ -20,7 +20,12 @@ function getFixturePath (subPath) {
);
}
-var watcher, watcher2, fixturesPath = getFixturePath(''), subdir = 0, options;
+var watcher,
+ watcher2,
+ fixturesPath = getFixturePath(''),
+ subdir = 0,
+... | Isolate extra delay on fs.watch tests to OS X
and increase the delay to <I>ms | paulmillr_chokidar | train |
4ed89e16bca9c64cfd87bbee7f9b67bd731ff282 | diff --git a/packages/core/index.js b/packages/core/index.js
index <HASH>..<HASH> 100644
--- a/packages/core/index.js
+++ b/packages/core/index.js
@@ -1,5 +1,8 @@
export { define, props, withComponent, withUpdate } from 'skatejs';
+export preact, { Component, h } from 'preact';
+export { hyper } from 'hyperhtml/cjs'... | fix: revert removing generic exports of preact + hyperhtml | bolt-design-system_bolt | train |
bce9e3acb452b4de7ee4aec5eef0a907bb056797 | diff --git a/lib/commands/create/level.js b/lib/commands/create/level.js
index <HASH>..<HASH> 100644
--- a/lib/commands/create/level.js
+++ b/lib/commands/create/level.js
@@ -13,6 +13,7 @@ module.exports = function() {
.opt()
.name('outputDir').short('o').long('output-dir')
.title('ou... | bem create level command was failing on Node.js <I>.x
Fix #<I> | bem-archive_bem-tools | train |
20d38935072198c6fa748d7a293c53ab2075483f | diff --git a/spec/mongoid/tree_spec.rb b/spec/mongoid/tree_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mongoid/tree_spec.rb
+++ b/spec/mongoid/tree_spec.rb
@@ -9,7 +9,7 @@ describe Mongoid::Tree do
a.should be
a.macro.should eql(:references_many)
a.class_name.should eql('Node')
- a.foreign_key.shou... | foreign_key on relation metadata now returns a String | benedikt_mongoid-tree | train |
b013e585c1bab7daf7249ac6a0ffdbf6786399b7 | diff --git a/autorelease/release_notes.py b/autorelease/release_notes.py
index <HASH>..<HASH> 100644
--- a/autorelease/release_notes.py
+++ b/autorelease/release_notes.py
@@ -10,12 +10,14 @@ import datetime
from .github_release import GitHubRepoBase, GitHubUser, ProjectOptions
class ReleaseNoteWriter(GitHubRepoBase... | `since_release` to get PRs since arbitrary release | dwhswenson_autorelease | train |
65683faf672fc1d779c400776dc227f4a7745def | diff --git a/lib/discordrb/gateway.rb b/lib/discordrb/gateway.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/gateway.rb
+++ b/lib/discordrb/gateway.rb
@@ -149,6 +149,8 @@ module Discordrb
# Whether the connection to the gateway has succeeded yet
@ws_success = false
+
+ @check_heartbeat_acks = t... | Turn heartbeat_ack checking on by default | meew0_discordrb | train |
441baf07d618a40d11b5c7e9d842f4406e03052e | diff --git a/pkg/client/leaderelection/leaderelection.go b/pkg/client/leaderelection/leaderelection.go
index <HASH>..<HASH> 100644
--- a/pkg/client/leaderelection/leaderelection.go
+++ b/pkg/client/leaderelection/leaderelection.go
@@ -121,12 +121,15 @@ type LeaderElectionConfig struct {
//
// possible future callback... | add OnNewLeader callback to leaderelection client | kubernetes_kubernetes | train |
bc7c67775ce8c2ad4f314b19b093bf809360caac | diff --git a/src/Observers/BlameableObserver.php b/src/Observers/BlameableObserver.php
index <HASH>..<HASH> 100644
--- a/src/Observers/BlameableObserver.php
+++ b/src/Observers/BlameableObserver.php
@@ -224,7 +224,7 @@ class BlameableObserver
protected static function extractBlamableFields(array $blameableValue)
... | Fix tests by removing critical typo
also remove the manual observer binding, since the new trait auto binds | nstapelbroek_culpa-laravel-5 | train |
42f870eaf04f05d4b3f6bee2438d4db40fa8fc74 | diff --git a/pgcontents/tests/utils.py b/pgcontents/tests/utils.py
index <HASH>..<HASH> 100644
--- a/pgcontents/tests/utils.py
+++ b/pgcontents/tests/utils.py
@@ -8,15 +8,6 @@ from itertools import starmap
import posixpath
from sqlalchemy import create_engine
-from sqlalchemy.engine import reflection
-from sqlalche... | MAINT: Remove unused imports. | quantopian_pgcontents | train |
ebcc29a353f865c8cd34c010020c62ee9acb17da | diff --git a/py/selenium/webdriver/chrome/service.py b/py/selenium/webdriver/chrome/service.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/chrome/service.py
+++ b/py/selenium/webdriver/chrome/service.py
@@ -26,18 +26,21 @@ class Service(object):
Object that manages the starting and stopping of the Chro... | DanielWagnerHall: Adding log_path/service_log_path as named kwargs for chrome
r<I> | SeleniumHQ_selenium | train |
7d9ecfb85c31b02d96314d3f4e6e895da80a55e6 | diff --git a/lib/Elastica/Document.php b/lib/Elastica/Document.php
index <HASH>..<HASH> 100644
--- a/lib/Elastica/Document.php
+++ b/lib/Elastica/Document.php
@@ -82,6 +82,14 @@ class Document extends Param
}
/**
+ * @return bool
+ */
+ public function hasId()
+ {
+ return '' !== (strin... | Added hasId method to document to check if id is set or not | ruflin_Elastica | train |
0971ee62dcdb205b76ae0b702f6a13b48d46b1a3 | diff --git a/ide/plugins/python-format/src/content/formats/python2-rc.js b/ide/plugins/python-format/src/content/formats/python2-rc.js
index <HASH>..<HASH> 100644
--- a/ide/plugins/python-format/src/content/formats/python2-rc.js
+++ b/ide/plugins/python-format/src/content/formats/python2-rc.js
@@ -172,6 +172,7 @@ this.... | Adding encoding declaration in IDE python formatted. Fixes issue <I> | SeleniumHQ_selenium | train |
11e2e15bc83a1d59bf109a6c8c1ce38771589440 | diff --git a/flag.go b/flag.go
index <HASH>..<HASH> 100644
--- a/flag.go
+++ b/flag.go
@@ -960,10 +960,10 @@ func (f *FlagSet) parseArgs(args []string) error {
return f.failf("invalid value %q for %s: %v", value, s, err)
}
}
- /*if f.actual == nil {
+ if f.actual == nil {
f.actual = make(map[string]*F... | Mark flags as visited based on their name | ogier_pflag | train |
e1d85316c4b8efbd49315df621e43676faacaded | diff --git a/webservices/server-integration/src/main/java/org/jboss/as/webservices/invocation/AbstractInvocationHandler.java b/webservices/server-integration/src/main/java/org/jboss/as/webservices/invocation/AbstractInvocationHandler.java
index <HASH>..<HASH> 100644
--- a/webservices/server-integration/src/main/java/or... | Looking for a nested SoapFaultException which will become the cause of the InvocationTragetException thus enabling the propagation of the SoapFaultException faultSubcodes. | wildfly_wildfly | train |
2fa82c9bc7423c584aeca973b011afebb8cb3061 | diff --git a/src/controllers/HostController.php b/src/controllers/HostController.php
index <HASH>..<HASH> 100644
--- a/src/controllers/HostController.php
+++ b/src/controllers/HostController.php
@@ -32,7 +32,6 @@ class HostController extends \hipanel\base\CrudController
'class' => EasyAccessControl::cl... | change access for host deleting (#<I>) | hiqdev_hipanel-module-domain | train |
4534f3e6a6c0e88329dd670e93d6300f8cad2123 | diff --git a/deco/conc.py b/deco/conc.py
index <HASH>..<HASH> 100644
--- a/deco/conc.py
+++ b/deco/conc.py
@@ -1,4 +1,5 @@
from multiprocessing import Pool
+from multiprocessing.pool import ThreadPool
import inspect
import ast
from . import astutil
@@ -58,6 +59,7 @@ class concurrent(object):
@staticmethod
... | Added concurrent.threaded and wrapped the return value of apply_async to be more useful without @synchronized | alex-sherman_deco | train |
58e5800a459287e5a72d274bb772ce404c720c0d | diff --git a/src/org/opencms/ui/apps/CmsWorkplaceAppManager.java b/src/org/opencms/ui/apps/CmsWorkplaceAppManager.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/ui/apps/CmsWorkplaceAppManager.java
+++ b/src/org/opencms/ui/apps/CmsWorkplaceAppManager.java
@@ -671,8 +671,8 @@ public class CmsWorkplaceAppManager {... | Fixing issue where quick launch settings where not written to the user,
in case they where reset to the default setting. | alkacon_opencms-core | train |
d25c4bc930200b314fbd42d084080b5d85261c94 | diff --git a/src/SimpleEntity.php b/src/SimpleEntity.php
index <HASH>..<HASH> 100644
--- a/src/SimpleEntity.php
+++ b/src/SimpleEntity.php
@@ -2,32 +2,31 @@
namespace calderawp\interop;
-use calderawp\interop\Contracts\Arrayable;
+use calderawp\interop\Contracts\Arrayable;
abstract class SimpleEntity implemen... | add support for public key identification of users in user factory | CalderaWP_caldera-interop | train |
0bcbe55013fb83b28fc48cc571d6c63ac55c7693 | diff --git a/morango/sync/controller.py b/morango/sync/controller.py
index <HASH>..<HASH> 100644
--- a/morango/sync/controller.py
+++ b/morango/sync/controller.py
@@ -1,4 +1,5 @@
import logging
+import math
from time import sleep
from morango.constants import transfer_stages
@@ -207,11 +208,16 @@ class SessionCont... | Add regression test and fix for overflow waiting error | learningequality_morango | train |
6ba3fef9bc7f05868c46135b5923e72f1b1b2d63 | diff --git a/application.go b/application.go
index <HASH>..<HASH> 100644
--- a/application.go
+++ b/application.go
@@ -7,8 +7,12 @@ import (
)
// Application represents the top node of an application.
+//
+// It is not strictly required to use this class as none of the other classes
+// depend on it. However, it pr... | Added a method to Application to intercept key presses. | rivo_tview | train |
81f37bd770f22cafea20d80c4765161ec0cb8d10 | diff --git a/pkg/cmd/admin/node/evacuate.go b/pkg/cmd/admin/node/evacuate.go
index <HASH>..<HASH> 100644
--- a/pkg/cmd/admin/node/evacuate.go
+++ b/pkg/cmd/admin/node/evacuate.go
@@ -27,6 +27,8 @@ type EvacuateOptions struct {
DryRun bool
Force bool
GracePeriod int64
+
+ printPodHeaders bool
}
// N... | improve output of --list-pods
This patch ensures that headers are printed for each list of pods
that is printed in each node, as long as the --no-headers printer flag
has not been specified by the user.
It also ensures that the entire `--dry-run` output of `--evacuate` is
only printed once, rather than once per node ... | openshift_origin | train |
941979d332584b4b35b67098a735c54c023944b7 | diff --git a/addons/viewport/src/manager/components/viewportInfo.js b/addons/viewport/src/manager/components/viewportInfo.js
index <HASH>..<HASH> 100644
--- a/addons/viewport/src/manager/components/viewportInfo.js
+++ b/addons/viewport/src/manager/components/viewportInfo.js
@@ -3,6 +3,7 @@ export const configuredStyles... | IMPROVE styling of viewports | storybooks_storybook | train |
e4c9492ad9ca2bec5dd62fa03d5272b99a92de01 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -19,7 +19,7 @@ module.exports = function (grunt) {
var path = require('path');
var generateGlyphiconsData = require('./grunt/bs-glyphicons-data-generator.js');
var BsLessdocParser = require('./grunt/bs... | Rename generateRawFilesJs to generateRawFiles | twbs_bootstrap | train |
7b89e18908c7bacb5c63f560b7d0430d853f075f | diff --git a/raiden_contracts/tests/test_endpointregistry.py b/raiden_contracts/tests/test_endpointregistry.py
index <HASH>..<HASH> 100644
--- a/raiden_contracts/tests/test_endpointregistry.py
+++ b/raiden_contracts/tests/test_endpointregistry.py
@@ -3,8 +3,8 @@ from raiden_contracts.constants import EVENT_ADDRESS_REGI... | Fix contracts version tests after removing _ | raiden-network_raiden-contracts | train |
0d3611ee5410dc12972cb11fa7890547d66643e5 | diff --git a/MAVProxy/modules/mavproxy_param.py b/MAVProxy/modules/mavproxy_param.py
index <HASH>..<HASH> 100644
--- a/MAVProxy/modules/mavproxy_param.py
+++ b/MAVProxy/modules/mavproxy_param.py
@@ -73,10 +73,10 @@ class ParamState:
import multiprocessing
files = []
for vehicle in ['APMrover2... | param: download from ardupilot.org not diydrones.com | ArduPilot_MAVProxy | train |
6c3adb9afe8e1d103cb45c5d14278d680a0268b3 | diff --git a/lib/knife-cloudformation/knife/template.rb b/lib/knife-cloudformation/knife/template.rb
index <HASH>..<HASH> 100644
--- a/lib/knife-cloudformation/knife/template.rb
+++ b/lib/knife-cloudformation/knife/template.rb
@@ -55,7 +55,7 @@ module KnifeCloudformation
if(sf.nested? && !sf.isolated_n... | Set custom flag into hash for easy stack un-nesting detection | sparkleformation_sfn | train |
c067418a5abcacf1ea58292c3c62b3bb4e29b8c0 | diff --git a/nationstates/__init__.py b/nationstates/__init__.py
index <HASH>..<HASH> 100644
--- a/nationstates/__init__.py
+++ b/nationstates/__init__.py
@@ -15,7 +15,7 @@ class DictMethods:
return result
@staticmethod
- def dict_creation(data, shard, rText):
+ def dict_creation(data, shard, rTex... | Added some support for some previously unsupported shards. Removed some unused methods for Api() object | DolphDev_pynationstates | train |
6363ac7e0be88a3a5676ab167247e3f36e9733ee | diff --git a/parsl/dataflow/dflow.py b/parsl/dataflow/dflow.py
index <HASH>..<HASH> 100644
--- a/parsl/dataflow/dflow.py
+++ b/parsl/dataflow/dflow.py
@@ -197,7 +197,10 @@ class DataFlowKernel(object):
# Submit _*_stage_out tasks for output data futures that correspond with remote files
if (self.tasks... | Exclude stage_in task from "outputs" checking | Parsl_parsl | train |
e371d6523193342d193bcef9f446e14d09eefc4d | diff --git a/lib/common/common.go b/lib/common/common.go
index <HASH>..<HASH> 100644
--- a/lib/common/common.go
+++ b/lib/common/common.go
@@ -16,6 +16,9 @@
package common
import (
+ "fmt"
+ "regexp"
+
"github.com/appc/docker2aci/lib/internal/docker"
"github.com/appc/docker2aci/lib/internal/types"
)
@@ -27,6 +... | lib: validate layer ID format (CVE-<I>-<I>)
This commit introduces validation of layer IDs while handling images,
in order to avoid path traversal when unpacking layer content.
This is typically mitigated for remote usecases by registry conformance,
but can still be exploited locally.
This has been assigned CVE-<I>-<... | appc_docker2aci | train |
b9970f74846b95f5942e91fc68cd2644943d6dcc | diff --git a/cake/libs/controller/components/auth.php b/cake/libs/controller/components/auth.php
index <HASH>..<HASH> 100644
--- a/cake/libs/controller/components/auth.php
+++ b/cake/libs/controller/components/auth.php
@@ -678,8 +678,8 @@ class AuthComponent extends Object {
*/
function logout() {
$this->__setDe... | replace deprecated method calls. | cakephp_cakephp | train |
6e86998116461d0b0b042ffa5b71d56449754e06 | diff --git a/VERSION b/VERSION
index <HASH>..<HASH> 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.2.4
\ No newline at end of file
+0.2.5
\ No newline at end of file
diff --git a/src/kser/__init__.py b/src/kser/__init__.py
index <HASH>..<HASH> 100644
--- a/src/kser/__init__.py
+++ b/src/kser/__init__.py
@@ -11,7 +11... | devel: removed fixed logger name | cdumay_kser | train |
57c0fda57c61b3cc1b9bfcdc7e2ca3f4431545b4 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -37,17 +37,17 @@ Return true if selection starts and ends both outside any bad table. (Notice: it
## Changes
-##### `changes.removeFragmentAtRange(change: Change, range: Range, {normalize: true}) : Change`
+##### `cha... | rename snapshot option for consistency with Slate; fix README | zhujinxuan_slate-bad-table | train |
bcb5d1dfdf40b8474d6d75d76aa0f3d04ec2d839 | diff --git a/.gitignore b/.gitignore
index <HASH>..<HASH> 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ dist
es
*.log
coverage
+/.idea
diff --git a/src/reducers/statusReducer.js b/src/reducers/statusReducer.js
index <HASH>..<HASH> 100644
--- a/src/reducers/statusReducer.js
+++ b/src/reducers/statusReducer... | requested, requesting, timestamp was not populated | prescottprue_redux-firestore | train |
84a75c9c54605392cf38791571b38eb4576c9d77 | diff --git a/JAK/WebEngine.py b/JAK/WebEngine.py
index <HASH>..<HASH> 100644
--- a/JAK/WebEngine.py
+++ b/JAK/WebEngine.py
@@ -144,7 +144,6 @@ class JWebPage(QWebEnginePage):
* Redirect new window's or tab's to same window
* :param _type: QWebEnginePage.WebWindowType
"""
- self.page.de... | fix regresion, links not working | codesardine_Jade-Application-Kit | train |
b844ac44f5e08d3a80094dd8dbbcc60cdeef0e9d | diff --git a/pkg/util/mount/mount_unsupported.go b/pkg/util/mount/mount_unsupported.go
index <HASH>..<HASH> 100644
--- a/pkg/util/mount/mount_unsupported.go
+++ b/pkg/util/mount/mount_unsupported.go
@@ -86,7 +86,7 @@ func (mounter *Mounter) MakeRShared(path string) error {
}
func (mounter *SafeFormatAndMount) forma... | Tmpdir can be a symlink, also fake mount needs to call nested mounter | kubernetes_kubernetes | train |
b85247b86662ef826980694aa549f63412c889b4 | diff --git a/commons/CreateLinkCommand.js b/commons/CreateLinkCommand.js
index <HASH>..<HASH> 100644
--- a/commons/CreateLinkCommand.js
+++ b/commons/CreateLinkCommand.js
@@ -1,8 +1,8 @@
-import { Command, AnnotationCommand } from '../editor'
+import { AnnotationCommand } from '../editor'
import { $$ } from '../dom'
... | Let CreateLinkCommand be an AnnotationCommand.
This is important so that the command is disabled whenever links are not allowed. | substance_substance | train |
d7bec263d25c6565880d88693e88d02fc491af45 | diff --git a/lib/incoming_form.js b/lib/incoming_form.js
index <HASH>..<HASH> 100644
--- a/lib/incoming_form.js
+++ b/lib/incoming_form.js
@@ -9,22 +9,29 @@ var util = require('./util'),
StringDecoder = require('string_decoder').StringDecoder,
EventEmitter = require('events').EventEmitter;
-function Incomin... | Add definition parameters to "IncomingForm" as an argument. | pillarjs_multiparty | train |
7c157ea20c4d117830cbeeb1f4be3cf580064274 | diff --git a/shakedown/dcos/package.py b/shakedown/dcos/package.py
index <HASH>..<HASH> 100644
--- a/shakedown/dcos/package.py
+++ b/shakedown/dcos/package.py
@@ -103,17 +103,19 @@ def install_package(
# Optionally wait for the service to register as a framework
if wait_for_completion:
- now = time.t... | make wait_for_completion wait for the app to be healthy | dcos_shakedown | train |
40fe9a1fcdbb2852a63cae465cf5e459bcdba2fb | diff --git a/src/command/Menus.js b/src/command/Menus.js
index <HASH>..<HASH> 100644
--- a/src/command/Menus.js
+++ b/src/command/Menus.js
@@ -889,7 +889,7 @@ define(function (require, exports, module) {
{key: "Cmd-Ctrl-Down", displayKey: "Cmd-Ctrl-\u2193",
... | Revert my testing code that I accidently committed. | adobe_brackets | train |
de521bb2b4112d7c23d14aa02da63db2da4942f9 | diff --git a/patch.go b/patch.go
index <HASH>..<HASH> 100644
--- a/patch.go
+++ b/patch.go
@@ -40,15 +40,18 @@ func (patch *Patch) String() (string, error) {
if patch.ptr == nil {
return "", ErrInvalid
}
- var buf C.git_buf
runtime.LockOSThread()
defer runtime.UnlockOSThread()
+ var buf C.git_buf
+
eco... | Fix memory leak in Patch.String()
Buffer allocated in Patch.String() was never freed | libgit2_git2go | train |
4779fc6f43ca32fd2c34b0fd4a612a84ebc714b4 | diff --git a/ReactNativeClient/lib/components/screens/config.js b/ReactNativeClient/lib/components/screens/config.js
index <HASH>..<HASH> 100644
--- a/ReactNativeClient/lib/components/screens/config.js
+++ b/ReactNativeClient/lib/components/screens/config.js
@@ -422,6 +422,8 @@ class ConfigScreenComponent extends BaseS... | Mobile: Remove search and side menu button from config screen | laurent22_joplin | train |
615fe23fb25705b6472b7ab65152c10d89569307 | diff --git a/cli/lib/kontena/cli/certificate/authorize_command.rb b/cli/lib/kontena/cli/certificate/authorize_command.rb
index <HASH>..<HASH> 100644
--- a/cli/lib/kontena/cli/certificate/authorize_command.rb
+++ b/cli/lib/kontena/cli/certificate/authorize_command.rb
@@ -14,10 +14,9 @@ module Kontena::Cli::Certificate
... | Fix Let's Encrypt register error (#<I>) | kontena_kontena | train |
a0e7cb8ff47ceb202ca8a43e92cc6b33ce8ca1ce | diff --git a/subscription/src/main/java/org/killbill/billing/subscription/alignment/PlanAligner.java b/subscription/src/main/java/org/killbill/billing/subscription/alignment/PlanAligner.java
index <HASH>..<HASH> 100644
--- a/subscription/src/main/java/org/killbill/billing/subscription/alignment/PlanAligner.java
+++ b/s... | subscription: fix handling of CHANGE_OF_PLAN alignment in PlanAligner
In case of CHANGE_OF_PLAN alignment, getTimedPhaseOnChange
was computing the wrong phases when called from the notification queue (after the change).
See <URL> | killbill_killbill | train |
710163c3e5c8da9f2cbb94e144be10552b3e4c1b | diff --git a/cli/export.go b/cli/export.go
index <HASH>..<HASH> 100644
--- a/cli/export.go
+++ b/cli/export.go
@@ -492,6 +492,10 @@ func runImport(args *docopt.Args, client *controller.Client) error {
}
release.ID = ""
release.ArtifactIDs = append(release.ArtifactIDs, slugArtifact.ID)
+ if release.Meta == nil... | cli: Ensure slug releases have correct meta when imported | flynn_flynn | train |
5f10c624cd20e85b6d9cc69cc924deef54fa6e9c | diff --git a/html/src/playn/html/HtmlGraphicsCanvas.java b/html/src/playn/html/HtmlGraphicsCanvas.java
index <HASH>..<HASH> 100644
--- a/html/src/playn/html/HtmlGraphicsCanvas.java
+++ b/html/src/playn/html/HtmlGraphicsCanvas.java
@@ -38,36 +38,33 @@ class HtmlGraphicsCanvas extends HtmlGraphics {
private final Canv... | Call the fields rootWidth/Height.
Other minor tweaks. | threerings_playn | train |
31ef7baf04a1393d208cdf769514dae3284b63fa | diff --git a/lib/opal/parser.rb b/lib/opal/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/opal/parser.rb
+++ b/lib/opal/parser.rb
@@ -116,6 +116,10 @@ module Opal
super "#{msg} :#{@file}:#{@line}"
end
+ def parser_indent
+ @indent
+ end
+
def s(*parts)
sexp = parts
sexp.line... | Keep scope code indented the same as parser code | opal_opal | train |
9278a2b47ce2a657f1307cad050d1854ce83c27c | diff --git a/molgenis-annotators-cmd/src/main/java/org/molgenis/annotation/cmd/CommandLineAnnotatorConfig.java b/molgenis-annotators-cmd/src/main/java/org/molgenis/annotation/cmd/CommandLineAnnotatorConfig.java
index <HASH>..<HASH> 100644
--- a/molgenis-annotators-cmd/src/main/java/org/molgenis/annotation/cmd/CommandLi... | Fix annotator chaining integration test | molgenis_molgenis | train |
4700d48fbc91aa0aa8b14327a52a737c33a86d51 | diff --git a/collatex-pythonport/tests/test_near_matching.py b/collatex-pythonport/tests/test_near_matching.py
index <HASH>..<HASH> 100644
--- a/collatex-pythonport/tests/test_near_matching.py
+++ b/collatex-pythonport/tests/test_near_matching.py
@@ -25,10 +25,6 @@ class Test(unittest.TestCase):
collation.add_... | Removed unused comments from test_near_matching.py | interedition_collatex | train |
9ae9168f6b4892587e1e9c5418a1d9b81350da34 | diff --git a/spyder/utils/introspection/test/test_rope_plugin.py b/spyder/utils/introspection/test/test_rope_plugin.py
index <HASH>..<HASH> 100644
--- a/spyder/utils/introspection/test/test_rope_plugin.py
+++ b/spyder/utils/introspection/test/test_rope_plugin.py
@@ -16,17 +16,25 @@ p = rope_plugin.RopePlugin()
p.load_... | Testing: Fix remaining errors in test_rope_plugin | spyder-ide_spyder | train |
2bf5bc8dced8810f7d012b42e278326dbce17126 | diff --git a/parser/parser.go b/parser/parser.go
index <HASH>..<HASH> 100644
--- a/parser/parser.go
+++ b/parser/parser.go
@@ -408,10 +408,18 @@ func (p *parser) ParseScopeInteraction() (ast.Node, error) {
varParts := []string{first.Content}
for p.peeker.Peek().Type == scanner.PERIOD {
p.peeker.Read() // eat per... | integers are part of identifiers in HIL, and more strict number parsing
/cc @apparentlymart
1.) Number scanning was too greedy (eating N periods). Stricter.
2.) Value "0." should be [INTEGER, PERIOD], not [FLOAT]. This makes
identifier parsing work.
3.) HIL identifiers can have numbers (for type.name<I>... | hashicorp_hil | train |
292669e1dbb8bf81cce34c820c02419905019cfa | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -204,7 +204,10 @@ def build_js():
print("Building BokehJS...")
os.chdir('bokehjs')
- cmd = [join('node_modules', '.bin', 'grunt'), 'deploy']
+ if sys.platform != "win32":
+ cmd = [join('node_modules', ... | command is grunt.cmd on windows | bokeh_bokeh | train |
6e5a6c2b046102a45dcaf047b1f7eeda0e74da48 | diff --git a/lib/node_modules/@stdlib/assert/contains/lib/contains.js b/lib/node_modules/@stdlib/assert/contains/lib/contains.js
index <HASH>..<HASH> 100644
--- a/lib/node_modules/@stdlib/assert/contains/lib/contains.js
+++ b/lib/node_modules/@stdlib/assert/contains/lib/contains.js
@@ -65,6 +65,9 @@ function contains( ... | Fix bug when position is less than 0 and input val is not a string | stdlib-js_stdlib | train |
037d7b4abe75eda71379bade1d0ada151205b4c7 | diff --git a/clientv3/auth.go b/clientv3/auth.go
index <HASH>..<HASH> 100644
--- a/clientv3/auth.go
+++ b/clientv3/auth.go
@@ -216,8 +216,8 @@ func (auth *authenticator) close() {
auth.conn.Close()
}
-func newAuthenticator(endpoint string, opts []grpc.DialOption, c *Client) (*authenticator, error) {
- conn, err :=... | clientv3: dial with context when creating authenticator
Otherwise, "grpc.Dial" blocks when "grpc.WithTimeout" dial
option gets deprecated. | etcd-io_etcd | train |
180c1b555fb8fa07533ae2851ab303e6301ca169 | diff --git a/aio/tools/transforms/angular-base-package/services/auto-link-filters/ignoreGenericWords.js b/aio/tools/transforms/angular-base-package/services/auto-link-filters/ignoreGenericWords.js
index <HASH>..<HASH> 100644
--- a/aio/tools/transforms/angular-base-package/services/auto-link-filters/ignoreGenericWords.j... | fix(docs-infra): avoid auto-linking generic word `state` (#<I>)
Since `state` is a generic word, this commit adds it to the list of
ignored words for auto-linking to avoid incorrectly auto-linking to the
[state()][1] animation helper. For example, see `/ngsw/state` in the
[ServiceWorker in production][2] guide.
[1]: ... | angular_angular | train |
91b02b15d10a0aa85a356ab995ee75f734de92be | diff --git a/src/default_panels/StyleTracesPanel.js b/src/default_panels/StyleTracesPanel.js
index <HASH>..<HASH> 100644
--- a/src/default_panels/StyleTracesPanel.js
+++ b/src/default_panels/StyleTracesPanel.js
@@ -610,6 +610,11 @@ const StyleTracesPanel = (props, {localize: _}) => (
</PlotlySection>
<PlotlyS... | split hoverlabels for financial traces | plotly_react-chart-editor | train |
a2a87d24f1748825003fcd6e8fdcbf724f35b5e1 | diff --git a/satpy/readers/yaml_reader.py b/satpy/readers/yaml_reader.py
index <HASH>..<HASH> 100644
--- a/satpy/readers/yaml_reader.py
+++ b/satpy/readers/yaml_reader.py
@@ -67,6 +67,8 @@ def listify_string(something):
def get_filebase(path, pattern):
"""Get the end of *path* of same length as *pattern*."""
+ ... | Fix handling of paths with forward slashes on Windows | pytroll_satpy | train |
489bf5673dfc2b1fa3988a4f2222f9ed1df6c193 | diff --git a/lib/pwf.js b/lib/pwf.js
index <HASH>..<HASH> 100644
--- a/lib/pwf.js
+++ b/lib/pwf.js
@@ -951,17 +951,13 @@
*/
var v = function()
{
- var allowed = true;
+ if (typeof console != 'undefined' && ((pwf.status('config') && pwf.config.get('debug.frontend')) || !pwf.status('config'))) {
+ var args = A... | Dump method v(), shorter form | just-paja_pwf.js | train |
d6ec8e939b0fe4af1a30d582a3da4bffce1abf4a | diff --git a/lib/Doctrine/MongoDB/Query/Builder.php b/lib/Doctrine/MongoDB/Query/Builder.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/MongoDB/Query/Builder.php
+++ b/lib/Doctrine/MongoDB/Query/Builder.php
@@ -235,16 +235,7 @@ class Builder
*/
public function debug($name = null)
{
- $debug =... | Do not filter out falsey values in Query/Builder debug() methods | doctrine_mongodb | train |
c6f61a00085cf5c426d05ec927cdb63dcec2ec80 | diff --git a/scripts/backup/rethinkdb-import.py b/scripts/backup/rethinkdb-import.py
index <HASH>..<HASH> 100755
--- a/scripts/backup/rethinkdb-import.py
+++ b/scripts/backup/rethinkdb-import.py
@@ -324,7 +324,7 @@ def object_callback(obj, db, table, task_queue, object_buffers, buffer_sizes, fi
del buffer_size... | fixing an error in import when reading json files and tweaking performance slightly | rethinkdb_rethinkdb | train |
e035f3e92b07c7ce601ec2a7a71150e76b1eccfd | diff --git a/filesystem.go b/filesystem.go
index <HASH>..<HASH> 100644
--- a/filesystem.go
+++ b/filesystem.go
@@ -1,9 +1,10 @@
package docker
import (
+ "errors"
"fmt"
"os"
- "os/exec"
+ "syscall"
)
type Filesystem struct {
@@ -23,6 +24,9 @@ func (fs *Filesystem) createMountPoints() error {
}
func (fs ... | Filesystem: Perform syscalls directly instead of executing userland
tools. Added sanity checks. Improved unit tests. | containers_storage | train |
84b5df27d0e749ee79faed7885046075ea48cc4a | diff --git a/lib/src/main/java/com/simplicityapks/reminderdatepicker/lib/PickerSpinner.java b/lib/src/main/java/com/simplicityapks/reminderdatepicker/lib/PickerSpinner.java
index <HASH>..<HASH> 100644
--- a/lib/src/main/java/com/simplicityapks/reminderdatepicker/lib/PickerSpinner.java
+++ b/lib/src/main/java/com/simpli... | Fixes to the temporary selection, needs some work when having same position | SimplicityApks_ReminderDatePicker | train |
586d95734d6b37c0ca1a5f6ac937bab06f3770a7 | diff --git a/modules/uadetector-core/src/main/java/net/sf/uadetector/VersionNumber.java b/modules/uadetector-core/src/main/java/net/sf/uadetector/VersionNumber.java
index <HASH>..<HASH> 100644
--- a/modules/uadetector-core/src/main/java/net/sf/uadetector/VersionNumber.java
+++ b/modules/uadetector-core/src/main/java/ne... | Unnecessary final modifier in final class removed | before_uadetector | train |
f85513cc89ef72005c4c2e74b36b77793672e965 | diff --git a/thrifty-runtime/src/main/java/com/bendb/thrifty/transport/FramedTransport.java b/thrifty-runtime/src/main/java/com/bendb/thrifty/transport/FramedTransport.java
index <HASH>..<HASH> 100644
--- a/thrifty-runtime/src/main/java/com/bendb/thrifty/transport/FramedTransport.java
+++ b/thrifty-runtime/src/main/jav... | Remove okio.Buffer usage from FramedTransport | Microsoft_thrifty | train |
897744ddf78050c2f477305de9e6df31e8a7805e | diff --git a/src/Illuminate/Filesystem/Filesystem.php b/src/Illuminate/Filesystem/Filesystem.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Filesystem/Filesystem.php
+++ b/src/Illuminate/Filesystem/Filesystem.php
@@ -203,7 +203,7 @@ class Filesystem {
if ($glob === false) return array();
- // To get the a... | Update src/Illuminate/Filesystem/Filesystem.php
Cleaning up a minor typo and inconsistent reference to iterator. | laravel_framework | train |
fcd8601109692e13a30cf5de284e707a9563cc48 | diff --git a/src/main/java/org/organicdesign/fp/experimental/RrbTree1.java b/src/main/java/org/organicdesign/fp/experimental/RrbTree1.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/organicdesign/fp/experimental/RrbTree1.java
+++ b/src/main/java/org/organicdesign/fp/experimental/RrbTree1.java
@@ -14,6 +14,7 @@... | More prep for production and test coverage. | GlenKPeterson_Paguro | train |
14efe5acec1e304946157dcd5d220c0db7e3970a | diff --git a/container_pool/container_pool.go b/container_pool/container_pool.go
index <HASH>..<HASH> 100644
--- a/container_pool/container_pool.go
+++ b/container_pool/container_pool.go
@@ -664,14 +664,19 @@ func (p *LinuxContainerPool) tryReleaseSystemResources(logger lager.Logger, id s
}
func (p *LinuxContainerP... | Tidy up releaseSystemResources method
keep rootfs cleanup code together
[#<I>] | cloudfoundry-attic_garden-linux | train |
e69a310d0bb2ee2600ce323b881ce1133224ef9e | diff --git a/pages/lib/refinery/pages/instance_methods.rb b/pages/lib/refinery/pages/instance_methods.rb
index <HASH>..<HASH> 100644
--- a/pages/lib/refinery/pages/instance_methods.rb
+++ b/pages/lib/refinery/pages/instance_methods.rb
@@ -10,7 +10,7 @@ module Refinery
def error_404(exception=nil)
if (@p... | Let <I> page can use "render_with_templates?" method | refinery_refinerycms | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.