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 |
|---|---|---|---|---|---|
6497a845c0394fe9789a77e405a4bec198ad0ae8 | diff --git a/src/Illuminate/Support/Testing/Fakes/MailFake.php b/src/Illuminate/Support/Testing/Fakes/MailFake.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Support/Testing/Fakes/MailFake.php
+++ b/src/Illuminate/Support/Testing/Fakes/MailFake.php
@@ -2,13 +2,14 @@
namespace Illuminate\Support\Testing\Fakes;
... | Add Illuminate\Contracts\Mail\Factory contract to MailFake class (#<I>) | laravel_framework | train | php |
28a66de026ee10238b28b3fbac87ab7be50a58e6 | diff --git a/lib/createsend/version.rb b/lib/createsend/version.rb
index <HASH>..<HASH> 100644
--- a/lib/createsend/version.rb
+++ b/lib/createsend/version.rb
@@ -1,3 +1,3 @@
module CreateSend
- VERSION = "1.0.4" unless defined?(CreateSend::VERSION)
+ VERSION = "1.1.0" unless defined?(CreateSend::VERSION)
end
\ No ... | properly bump the version for the ruby wrapper | campaignmonitor_createsend-ruby | train | rb |
d60ed6861382f47527ebfa837a3814e57de5bc2e | diff --git a/addon/adapters/node.js b/addon/adapters/node.js
index <HASH>..<HASH> 100644
--- a/addon/adapters/node.js
+++ b/addon/adapters/node.js
@@ -1,13 +1,3 @@
import OsfAdapter from './osf-adapter';
-export default OsfAdapter.extend({
- buildURL(_, __, ___, requestType) {
- // Embed contributors and n... | Remove unnecessary embedding of contributors and node links for node. | CenterForOpenScience_ember-osf | train | js |
0fd9a92f583c41d25cb25145f5af68da6ac262ef | diff --git a/test/load-subfile-spec.js b/test/load-subfile-spec.js
index <HASH>..<HASH> 100644
--- a/test/load-subfile-spec.js
+++ b/test/load-subfile-spec.js
@@ -32,9 +32,13 @@ describe( 'load-subfile', function () {
} );
} );
- xit( 'loads the specified file', function () {
- var pdeps = { '... | Stub out remaining load-subfile specs, add TODO to implement later | frankwallis_gulp-hub | train | js |
3e41fbacb19b3e80c469c755adf6ce604d13f436 | diff --git a/pliers/build-changelog.js b/pliers/build-changelog.js
index <HASH>..<HASH> 100644
--- a/pliers/build-changelog.js
+++ b/pliers/build-changelog.js
@@ -19,6 +19,11 @@ function createTask (pliers) {
, fileContent = fs.readFileSync(filePath, 'utf8')
, complete = false
+ if (fileContent.index... | > Prevents duplication of CHANGELOG | pugjs_pug-lint | train | js |
380e0eee27fd1c2e806d7d1e74b3f98ab84b2009 | diff --git a/test/runner/config.js b/test/runner/config.js
index <HASH>..<HASH> 100644
--- a/test/runner/config.js
+++ b/test/runner/config.js
@@ -97,9 +97,6 @@ class NativeConfiguration {
newTopology(host, port, options) {
options = Object.assign({}, options);
- host = host || this.options.host;
- port... | test: `newTopology` should use all hosts from a connection string
If no host or port is provided, then `newTopology` should use all
hosts provided in a connection string. | mongodb_node-mongodb-native | train | js |
b40108862a9e8e59665c4a1dc27d9d5a7a6948ae | diff --git a/src/Resolvers/PropertyResolver.php b/src/Resolvers/PropertyResolver.php
index <HASH>..<HASH> 100644
--- a/src/Resolvers/PropertyResolver.php
+++ b/src/Resolvers/PropertyResolver.php
@@ -4,6 +4,7 @@ namespace CatLab\Charon\Resolvers;
use CatLab\Charon\Collections\PropertyValueCollection;
use CatLab\Char... | Resources returned by input parser should not include properties that were not sent. | CatLabInteractive_charon | train | php |
7d27acd1b01cbe81e98784f34a077e3c5e6e1fc1 | diff --git a/packages/tab/src/css/index.js b/packages/tab/src/css/index.js
index <HASH>..<HASH> 100644
--- a/packages/tab/src/css/index.js
+++ b/packages/tab/src/css/index.js
@@ -86,7 +86,7 @@ export default {
cursor: 'pointer',
outline: 'none',
- // > __icon
+ // __icon
'&:hover > div': {
... | fix(tab): make the light theme overflow button correct | pluralsight_design-system | train | js |
4dff707399411cc0722d65056986d4a5ca60daaf | diff --git a/firebase.android.js b/firebase.android.js
index <HASH>..<HASH> 100755
--- a/firebase.android.js
+++ b/firebase.android.js
@@ -1487,6 +1487,11 @@ firebase.subscribeToTopic = function(topicName){
return new Promise(function (resolve, reject) {
try{
+ if (typeof(com.google.firebase.messaging) =... | Enable using of topics in Android
Enable using of topics in Android | EddyVerbruggen_nativescript-plugin-firebase | train | js |
cae80307a7b45c1be8b0291877c8dc72a8d65595 | diff --git a/Controller/DemoController.php b/Controller/DemoController.php
index <HASH>..<HASH> 100644
--- a/Controller/DemoController.php
+++ b/Controller/DemoController.php
@@ -155,7 +155,7 @@ class DemoController extends Controller
$location->id,
$viewType,
$layout,
- ... | Fixed missing params passed to ViewController in custom controllers
This ensures preview is working correctly. | ezsystems_DemoBundle | train | php,php |
697f0ef71dd2f3997659bb358825b75cc242705d | diff --git a/lib/config.js b/lib/config.js
index <HASH>..<HASH> 100644
--- a/lib/config.js
+++ b/lib/config.js
@@ -24,24 +24,27 @@ config.set = function(options) {
throw new Error('The key ' + key + ' is not supported')
})
+ if (!config.main)
+ config.main = ''
+
config.scripts = utils.Stream()
... | Be more sure config.main is set ;) | porsager_wright | train | js |
cf92ed7f8596ce79aaa1879be16d31be3a936a11 | diff --git a/src/java/voldemort/server/storage/StorageService.java b/src/java/voldemort/server/storage/StorageService.java
index <HASH>..<HASH> 100644
--- a/src/java/voldemort/server/storage/StorageService.java
+++ b/src/java/voldemort/server/storage/StorageService.java
@@ -887,7 +887,7 @@ public class StorageService e... | Registering individual store quota stats instead of aggregate to the Mbean server | voldemort_voldemort | train | java |
8a509cbc72bd3924b699d859a921d47c83422951 | diff --git a/lib/slather/project.rb b/lib/slather/project.rb
index <HASH>..<HASH> 100644
--- a/lib/slather/project.rb
+++ b/lib/slather/project.rb
@@ -208,6 +208,8 @@ module Slather
def configure
begin
+ configure_scheme
+ configure_workspace
configure_build_directory
confi... | Fix scheme/workspace configuration
Since those values are potentially needed for
`configure_build_directory`, they need to be configured before it is. | SlatherOrg_slather | train | rb |
860de1e0d027dc8cd8b67ae9924ff181d234c22f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -34,5 +34,5 @@ setup(
'serenata_toolbox.datasets'
],
url=REPO_URL,
- version='12.4.1'
+ version='12.3.2'
) | Downgrade de version bump to a minor one | okfn-brasil_serenata-toolbox | train | py |
ab2278f5eeb8d4b1a60081593c87504ce3ae2632 | diff --git a/lib/capistrano/svn.rb b/lib/capistrano/svn.rb
index <HASH>..<HASH> 100644
--- a/lib/capistrano/svn.rb
+++ b/lib/capistrano/svn.rb
@@ -4,7 +4,7 @@ require 'capistrano/scm'
class Capistrano::Svn < Capistrano::SCM
- # execute hg in context with arguments
+ # execute svn in context with arguments
d... | Fix typo hg vs. svn | capistrano_capistrano | train | rb |
e809c9c42ce76bb8581369a7e74d6ff8fe7a4438 | diff --git a/Curl/Wrapper.php b/Curl/Wrapper.php
index <HASH>..<HASH> 100644
--- a/Curl/Wrapper.php
+++ b/Curl/Wrapper.php
@@ -197,7 +197,7 @@ class Wrapper
}
if ($headers !== null && count($headers) > 0) {
- $params['http']['header'] = $headers;
+ $cparams['http']['header'] = ... | fopen alternative, proper response object with headers
POST confirmed to be working | synaq_SynaqCurlBundle | train | php |
e8b54cecf903429ee2417b97059023a90c79e4cf | diff --git a/src/js/mousewheel.js b/src/js/mousewheel.js
index <HASH>..<HASH> 100644
--- a/src/js/mousewheel.js
+++ b/src/js/mousewheel.js
@@ -101,6 +101,11 @@ function handleMousewheel(e) {
s.slideReset();
}, 300);
}
+ else {
+ if (s.params.lazyLoading && s.lazy... | Lazy loading with mousewheel
Fixes #<I> | nolimits4web_swiper | train | js |
4f05360f6311e39eaa8791f8b15cb976ddd70efb | diff --git a/indra/util/statement_presentation.py b/indra/util/statement_presentation.py
index <HASH>..<HASH> 100644
--- a/indra/util/statement_presentation.py
+++ b/indra/util/statement_presentation.py
@@ -120,7 +120,7 @@ logger = logging.getLogger(__name__)
db_sources = ['psp', 'cbn', 'pc', 'bel_lc', 'signor', 'bi... | Add minerva to db sources | sorgerlab_indra | train | py |
bad6ba65aee5f3903ffa9450c79e4a8370b60ef3 | diff --git a/filter/tex/texdebug.php b/filter/tex/texdebug.php
index <HASH>..<HASH> 100644
--- a/filter/tex/texdebug.php
+++ b/filter/tex/texdebug.php
@@ -254,6 +254,7 @@
$gif = "$latex->temp_dir/$md5.gif";
// put the expression as a file into the temp area
+ $expression = stripslashes( $expr... | Missing a stripslashes() so TeX functions didn't work
Merged from STABLE_<I> | moodle_moodle | train | php |
08eb521ac4721409c5bff3f0ecd71eb5b77d52a2 | diff --git a/pyedflib/highlevel.py b/pyedflib/highlevel.py
index <HASH>..<HASH> 100644
--- a/pyedflib/highlevel.py
+++ b/pyedflib/highlevel.py
@@ -798,7 +798,7 @@ def rename_channels(edf_file, mapping, new_file=None, verbose=False):
signal_headers = []
signals = []
for ch_nr in tqdm(range(len(channels)),... | fixed wrong variable use in rename_channel function | holgern_pyedflib | train | py |
e647bd58e609021b01fe3d166feb539654266e37 | diff --git a/closure/goog/net/xhrmanager.js b/closure/goog/net/xhrmanager.js
index <HASH>..<HASH> 100644
--- a/closure/goog/net/xhrmanager.js
+++ b/closure/goog/net/xhrmanager.js
@@ -93,7 +93,7 @@ goog.net.XhrManager = function(
/**
* Map of ID's to requests.
- * @type {goog.structs.Map}
+ * @type {goog.st... | Add types to XhrManager.requests_.
-------------
Created by MOE: <URL> | google_closure-library | train | js |
bf74896787be4445ae8d26faaf7965b2541eb989 | diff --git a/satpy/tests/test_modifiers.py b/satpy/tests/test_modifiers.py
index <HASH>..<HASH> 100644
--- a/satpy/tests/test_modifiers.py
+++ b/satpy/tests/test_modifiers.py
@@ -483,8 +483,8 @@ class TestAngleGeneration:
assert len(zarr_dirs) == 0
assert gol.call_count == data.data.blocks.size ... | Update call_args_list usage to work for multiple versions of python | pytroll_satpy | train | py |
c18d765c89d6aaff47681098ed09a94e33f0eb4a | diff --git a/jax/experimental/optimizers.py b/jax/experimental/optimizers.py
index <HASH>..<HASH> 100644
--- a/jax/experimental/optimizers.py
+++ b/jax/experimental/optimizers.py
@@ -282,7 +282,7 @@ def rmsprop(step_size, gamma=0.9, eps=1e-8):
def update(i, g, state):
x, avg_sq_grad = state
avg_sq_grad = a... | Move epsilon term in optimizers.rmsprop into sqrt
The TensorFlow rmsprop code puts epsilon into the sqrt.
This makes a large difference on e.g. Deep RL settings, which tend to
use very large values of epsilon. | tensorflow_probability | train | py |
ca3649e3453ccefce3adb3e958382f1f9f21b50c | diff --git a/src/pages/analyze/widget-frame.js b/src/pages/analyze/widget-frame.js
index <HASH>..<HASH> 100644
--- a/src/pages/analyze/widget-frame.js
+++ b/src/pages/analyze/widget-frame.js
@@ -42,6 +42,7 @@ module.exports = View.extend({
this.widgetHeader = filter.chartType;
},
props: {
+ editMode: 'boo... | BUGFIX: remember editMode settings
moved from session property to normal property | NLeSC_spot | train | js |
19852f8426302d787b7776b6a5a8d39849ef0182 | diff --git a/Dropbox/OAuth/Consumer/ConsumerAbstract.php b/Dropbox/OAuth/Consumer/ConsumerAbstract.php
index <HASH>..<HASH> 100644
--- a/Dropbox/OAuth/Consumer/ConsumerAbstract.php
+++ b/Dropbox/OAuth/Consumer/ConsumerAbstract.php
@@ -46,11 +46,11 @@ abstract class ConsumerAbstract
protected function authenticate(... | Added try/catch to prevent Exception when invalid/expired request token is supplied | BenExile_Dropbox | train | php |
ee159ff3df64e653d61d01692cd1048335dcd4f8 | diff --git a/salt/renderers/gpg.py b/salt/renderers/gpg.py
index <HASH>..<HASH> 100644
--- a/salt/renderers/gpg.py
+++ b/salt/renderers/gpg.py
@@ -121,7 +121,9 @@ def decrypt_object(o, gpg):
o[k] = decrypt_object(v, gpg)
return o
elif isinstance(o, list):
- return [decrypt_object(e, gp... | Apply fix from #<I> to the <I> branch
This code has been refactored in develop, so the original
pull request wasn't backporting cleanly. This applies the same fix
to the older branch(es). | saltstack_salt | train | py |
bc2b99a64da9512686b211a84389c1cdac070312 | diff --git a/checkers/classes.py b/checkers/classes.py
index <HASH>..<HASH> 100644
--- a/checkers/classes.py
+++ b/checkers/classes.py
@@ -288,7 +288,7 @@ instance attributes.'}
if klass is None or not (callee == klass.name or
callee in klass.basenames
or (isinstance(node.... | CallFunc as now a func attribute, not node
--HG--
branch : astng2 | PyCQA_pylint | train | py |
bf9c555ed71a1228af5f1e91c311a7c62115cd0f | diff --git a/tensor2tensor/bin/t2t_decoder.py b/tensor2tensor/bin/t2t_decoder.py
index <HASH>..<HASH> 100644
--- a/tensor2tensor/bin/t2t_decoder.py
+++ b/tensor2tensor/bin/t2t_decoder.py
@@ -72,7 +72,8 @@ def create_decode_hparams():
decode_hp = decoding.decode_hparams(FLAGS.decode_hparams)
decode_hp.shards = FLA... | Set decode_in_memory equal to True when one of FLAGS.decode_in_memory / decode_hparams.decode_in_memory is set to True.
PiperOrigin-RevId: <I> | tensorflow_tensor2tensor | train | py |
c01bc6c6fdf327e5de57eab2bda997ad551430c2 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -1,6 +1,7 @@
'use strict';
var cycle = require('cycle');
+var util = require('util')
//
// Expose base Transport | fix: require 'util' (#7)
util.inspect is used in index.js but `util` is previously not required, causing error. | winstonjs_winston-compat | train | js |
13d5cd1a588b7f4f2c233c436ce6b0b39db9950e | diff --git a/__pkginfo__.py b/__pkginfo__.py
index <HASH>..<HASH> 100644
--- a/__pkginfo__.py
+++ b/__pkginfo__.py
@@ -40,7 +40,7 @@ entry_points={
]}
ftp_url = None
install_requires = ['spark-parser >= 1.5.1, < 1.6.0',
- 'xdis >= 3.2.3, < 3.3.0']
+ 'xdis >=... | Get ready for release <I> | rocky_python-uncompyle6 | train | py,py |
41de3aeba16b9c603412ddd1725245060ee8e8c4 | diff --git a/src/main/java/stormpot/Pool.java b/src/main/java/stormpot/Pool.java
index <HASH>..<HASH> 100644
--- a/src/main/java/stormpot/Pool.java
+++ b/src/main/java/stormpot/Pool.java
@@ -99,6 +99,10 @@ import java.util.concurrent.TimeUnit;
* types of garbage.
* <li>Calling {@link LifecycledPool#shutdown() shutd... | document how the Pool.shutdown method interations with interruption. | chrisvest_stormpot | train | java |
10f4f3158bd9912b25ff336d70a44ede4710f97b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ from setuptools import setup
setup(
name='pyarlo',
packages=['pyarlo'],
- version='0.1.3',
+ version='0.1.4',
description='Python Arlo is a library written in Python 2.7/3x ' +
... | Bump devel version <I> | tchellomello_python-arlo | train | py |
bb9f98cad01d6683de54b235bad7e19498a5cbf0 | diff --git a/tweepy/parsers.py b/tweepy/parsers.py
index <HASH>..<HASH> 100644
--- a/tweepy/parsers.py
+++ b/tweepy/parsers.py
@@ -109,6 +109,7 @@ def parse_users(obj, api):
users = []
for item in item_list:
+ if item is None: break # sometimes an empty list with a null in it
users.append(p... | Some minor fixes to parsers. | tweepy_tweepy | train | py |
bbf3f98ebcc3abae7969ac624058a3673ce310f2 | diff --git a/bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer.js b/bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.ui/web/orion/explorers/explorer.js
+++ b/bundles/org.eclipse.orion.client.ui/web/orion/explorers/explo... | Bug <I> - Expand all and Collapse all buttons need an aria-label | eclipse_orion.client | train | js |
aafedab044a90351177862d9a7c296c1c01a3e0f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,4 @@
#!/usr/bin/env python
-"""
-EMMA2 setup
-"""
import sys
if len(sys.argv) < 2:
@@ -16,11 +13,16 @@ import subprocess
from glob import glob
"""
-we are using setuptools via the bootstrapper ez_setup
+define... | [setup] do not automatically bootstrap setuptools, since it may not be wanted.
Instead inform the user and provide a solution (ez_setup bootstrapper) | markovmodel_PyEMMA | train | py |
85e1fba2b1fb090dc1bb620d4b789cdd2b8cfd40 | diff --git a/Service/Generator.php b/Service/Generator.php
index <HASH>..<HASH> 100644
--- a/Service/Generator.php
+++ b/Service/Generator.php
@@ -55,10 +55,10 @@ class Generator extends AbstractGenerator
//---------------------
// cache management
if ($this->cache) {
- $this->cach... | Update Generator.php
No need to serialize by your own. The cache provider decides if serialization is the correct way to store the data.
Doctrine Cache-Interface:
@param mixed $data The cache entry/data. | prestaconcept_PrestaSitemapBundle | train | php |
bb37247ab7b5639a467c0ad7d243e2b144507b8a | diff --git a/lib/travis/services/sync_user_.rb b/lib/travis/services/sync_user_.rb
index <HASH>..<HASH> 100644
--- a/lib/travis/services/sync_user_.rb
+++ b/lib/travis/services/sync_user_.rb
@@ -4,7 +4,7 @@ module Travis
module Services
class SyncUser < Base
def run
- trigger_sync unless current_u... | need to check syncing? on user | travis-ci_travis-core | train | rb |
195aab22e212b3b8083118d4f9b6c9de4c0ba5e5 | diff --git a/src/Connect.php b/src/Connect.php
index <HASH>..<HASH> 100644
--- a/src/Connect.php
+++ b/src/Connect.php
@@ -472,18 +472,19 @@ class Connect
$data = $parameter;
$header = $this->header;
+ $body = [];
+ foreach ($data['payment_methods'] as $param) {
+ $body[] = ... | Fixed broken curl for update payment method API | Billplz_Billplz-API-Class | train | php |
6b0d172379e30d973997ad6c9dac458138f60b65 | diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php
index <HASH>..<HASH> 100644
--- a/lib/outputrenderers.php
+++ b/lib/outputrenderers.php
@@ -2736,6 +2736,9 @@ EOD;
$protocol = (isset($_SERVER['SERVER_PROTOCOL']) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0');
if (empty($_SERVER['HTT... | MDL-<I> core: Change HTTP error code for iOS <I> video playback
This patch changes the effective response code from a <I> to a <I> when
erroring on iOS <I> and when a HTTP_X_PLAYBACK_SESSION_ID HTTP header is
found.
This causes the iOS Media framework to send the cookie with the request
which subsequently succeeds. | moodle_moodle | train | php |
eac19fbf332f6aa4f0ec80386d93fe2412893982 | diff --git a/salt/modules/cp.py b/salt/modules/cp.py
index <HASH>..<HASH> 100644
--- a/salt/modules/cp.py
+++ b/salt/modules/cp.py
@@ -700,10 +700,11 @@ def push(path, keep_symlinks=False):
'tok': auth.gen_token('salt')}
channel = salt.transport.Channel.factory(__opts__)
with salt.utils.fopen(pat... | Allows cp.push to recreate empty files
Fixes #<I>
cp.push and cp.push_dir now can recreate empty files | saltstack_salt | train | py |
2ff7c82a720ec51b984fd1a6993137e0c41e1b85 | diff --git a/state/apiserver/api_test.go b/state/apiserver/api_test.go
index <HASH>..<HASH> 100644
--- a/state/apiserver/api_test.go
+++ b/state/apiserver/api_test.go
@@ -327,7 +327,7 @@ func opClientServiceDeploy(c *C, st *api.State, mst *state.State) (func(), error
}, nil
}
-func opClientWatchAll(c *C, st *api.S... | Modify new test to have different signature | juju_juju | train | go |
c9f5aba818f3690cc77ea3983506fdd8599802a0 | diff --git a/lib/date_picker/styles/bootstrap.rb b/lib/date_picker/styles/bootstrap.rb
index <HASH>..<HASH> 100644
--- a/lib/date_picker/styles/bootstrap.rb
+++ b/lib/date_picker/styles/bootstrap.rb
@@ -33,7 +33,7 @@ module DatePicker
format: <%= format.to_json %>,
timeZone: null
... | Fixed timezone conversion with data not correct | benignware_date_picker | train | rb |
60fa20ce833c0f6c5c04635865654e013829bb68 | diff --git a/stager_test.go b/stager_test.go
index <HASH>..<HASH> 100644
--- a/stager_test.go
+++ b/stager_test.go
@@ -132,7 +132,7 @@ touch $2/inserted-into-artifacts-cache
cat <<EOF
---
default_process_types:
- web: start-command
+ web: the-start-command
EOF
`},
}
@@ -219,7 +219,7 @@ EOF
"task_id... | Replace detected_start_command with execution_metadata
[#<I>] | cloudfoundry_inigo | train | go |
397d9e4dd765ea380e5e1ebd58d978f130094bca | diff --git a/resource/meta.go b/resource/meta.go
index <HASH>..<HASH> 100644
--- a/resource/meta.go
+++ b/resource/meta.go
@@ -384,8 +384,10 @@ func setupSetter(meta *Meta, fieldName string, record interface{}) {
// if removed
if len(primaryKeys) == 0 {
foreignKeyField.Set(reflect.Zero(foreignK... | Fix belongs to with versioning resource cannot set blank value bug. | qor_qor | train | go |
5aaadaf268a2145256ba3f90ea4a0fa7780fe006 | diff --git a/src/pouch.js b/src/pouch.js
index <HASH>..<HASH> 100644
--- a/src/pouch.js
+++ b/src/pouch.js
@@ -421,6 +421,7 @@ Pouch.error = function(error, reason){
};
if (typeof module !== 'undefined' && module.exports) {
global.Pouch = Pouch;
+ global.PouchDB = Pouch;
Pouch.merge = require('./pouch.merge.js... | (#<I>) - Make PouchDB constructor (still support Pouch for compat) | pouchdb_pouchdb | train | js |
0b64280cd08d2a2e82c5a34e075209be1c91c1d7 | diff --git a/build/bin/build-entry.js b/build/bin/build-entry.js
index <HASH>..<HASH> 100644
--- a/build/bin/build-entry.js
+++ b/build/bin/build-entry.js
@@ -9,6 +9,7 @@ var IMPORT_TEMPLATE = 'import {{name}} from \'../packages/{{package}}\';';
var ISNTALL_COMPONENT_TEMPLATE = ' Vue.component({{name}}.name, {{name}}... | fix: … will transform to Object.assign by buble (#<I>) | wisedu_bh-mint-ui2 | train | js |
8673aabc9dd53ebaea6eab6488b9d767df347821 | diff --git a/src/drivers/amqp/Queue.php b/src/drivers/amqp/Queue.php
index <HASH>..<HASH> 100644
--- a/src/drivers/amqp/Queue.php
+++ b/src/drivers/amqp/Queue.php
@@ -67,7 +67,6 @@ class Queue extends CliQueue
$this->open();
$callback = function(AMQPMessage $payload) {
list($ttr, $message... | #<I>: AMQP driver with base retry | yiisoft_yii2-queue | train | php |
e118202ac81d1490553f7f3568f679c25b8a73e9 | diff --git a/src/JamesHalsall/Licenser/Licenser.php b/src/JamesHalsall/Licenser/Licenser.php
index <HASH>..<HASH> 100644
--- a/src/JamesHalsall/Licenser/Licenser.php
+++ b/src/JamesHalsall/Licenser/Licenser.php
@@ -15,7 +15,7 @@ use Symfony\Component\Finder\SplFileInfo;
*/
class Licenser
{
- const VERSION = '0.2... | Bumping version to <I> for next release | jameshalsall_licenser | train | php |
f6d3fee855364a3142729f9ea47ccc533e2af6bc | diff --git a/utils/style_doc.py b/utils/style_doc.py
index <HASH>..<HASH> 100644
--- a/utils/style_doc.py
+++ b/utils/style_doc.py
@@ -445,6 +445,9 @@ def style_mdx_file(mdx_file, max_len=119, check_only=False):
else:
new_lines.append(line)
+ if in_code:
+ raise ValueError(f"There was ... | Error when code examples are improperly closed (#<I>) | huggingface_pytorch-pretrained-BERT | train | py |
7f51fae77a18115a130b700db508a3ac5a4dbd2f | diff --git a/ReText/editor.py b/ReText/editor.py
index <HASH>..<HASH> 100644
--- a/ReText/editor.py
+++ b/ReText/editor.py
@@ -199,7 +199,7 @@ class ReTextEdit(QTextEdit):
cursor.select(QTextCursor.WordUnderCursor)
word = cursor.selectedText()
- if word is not None and not dictionary.check(word):
+ if word ... | editor: Fix crash when dictionary is None
Fixes #<I>. | retext-project_retext | train | py |
3310603330f0065483e791d0f18d67734d596600 | diff --git a/src/Mongolid/Schema.php b/src/Mongolid/Schema.php
index <HASH>..<HASH> 100644
--- a/src/Mongolid/Schema.php
+++ b/src/Mongolid/Schema.php
@@ -31,6 +31,9 @@ abstract class Schema
* Tells how a document should look like. If an scalar type is used, it will
* perform a cast into the value. Othewise... | Added a test to make sure that the Schemas have the entityClass attribute | leroy-merlin-br_mongolid | train | php,php |
c4cacc9d8f61be827b18c29f3a5b1c88daf5bda6 | diff --git a/lib/yard/cli/yardoc.rb b/lib/yard/cli/yardoc.rb
index <HASH>..<HASH> 100644
--- a/lib/yard/cli/yardoc.rb
+++ b/lib/yard/cli/yardoc.rb
@@ -108,7 +108,7 @@ module YARD
print_list
end
- if statistics && log.level < Logger::ERROR
+ if !list && statistics && log.level < Logge... | Only print statistics if not listing objects | lsegal_yard | train | rb |
c363f114b09fcd6478ef0b54566eaa4cd268c769 | diff --git a/traversal/stats.go b/traversal/stats.go
index <HASH>..<HASH> 100644
--- a/traversal/stats.go
+++ b/traversal/stats.go
@@ -1,16 +1,8 @@
package traversal
-import (
- "fmt"
-)
-
type Stats struct {
// Count of (probably) distinct addresses we've sent traversal queries to. Accessed with atomic.
NumAdd... | traversal.Stats: Unimplement Stringer
%#v uses hexadecimal for the field values. Instead, I think you should use %+v and pass the Stats value. I don't know any way to make Go do this neatly, my attempt to this in Stats.String resulted in a recursive call. | anacrolix_dht | train | go |
fa9562ac5ff7086a804924786e55b9df5dca9812 | diff --git a/lib/hanami/rendering_policy.rb b/lib/hanami/rendering_policy.rb
index <HASH>..<HASH> 100644
--- a/lib/hanami/rendering_policy.rb
+++ b/lib/hanami/rendering_policy.rb
@@ -13,6 +13,7 @@ module Hanami
BODY = 2
HANAMI_ACTION = 'hanami.action'.freeze
+ RACK_EXCEPTION = 'rack.exception'.freeze
... | WIP: Report rendering errors to exception notification services
A potential fix for #<I> | hanami_hanami | train | rb |
d1b8040dfe37a22649b1a7de58b7031cecbb71a9 | diff --git a/source/rafcon/mvc/models/state.py b/source/rafcon/mvc/models/state.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/mvc/models/state.py
+++ b/source/rafcon/mvc/models/state.py
@@ -327,9 +327,9 @@ class StateModel(ModelMT):
del tmp_meta["scoped_variable" + str(s_id)]
# as... | Convert warning for missing meta data to info log | DLR-RM_RAFCON | train | py |
74af7025991ebf485cd2bd18708fa7258699e25c | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -403,7 +403,7 @@ class ReactInteractive extends React.Component {
// toggle focus if it's allowed, returns a boolean representing if focus was toggled
toggleFocus(toggleAs) {
- // only toggle out of ... | Don't toggle focus on textareas | rafrex_react-interactive | train | js |
7c5d1f15070b2291acc9b2f9c97041f2af3f547f | diff --git a/celerio-engine/src/main/java/com/jaxio/celerio/util/MappedType.java b/celerio-engine/src/main/java/com/jaxio/celerio/util/MappedType.java
index <HASH>..<HASH> 100644
--- a/celerio-engine/src/main/java/com/jaxio/celerio/util/MappedType.java
+++ b/celerio-engine/src/main/java/com/jaxio/celerio/util/MappedTyp... | helper method for parsing LocalDate/Time | jaxio_celerio | train | java |
225e6849688f3c136f2332d0e1b927cad99c6383 | diff --git a/owslib/iso.py b/owslib/iso.py
index <HASH>..<HASH> 100644
--- a/owslib/iso.py
+++ b/owslib/iso.py
@@ -952,6 +952,9 @@ class MD_ReferenceSystem(object):
else:
val = md.find(util.nspath_eval(
'gmd:referenceSystemIdentifier/gmd:RS_Identifier/gmd:code/gco:CharacterString'... | Also look for gmx:Anchor for reference system code | geopython_OWSLib | train | py |
7b79dd1137a36d6ff60e0a597b6c421beff3869e | diff --git a/types/errors_test.go b/types/errors_test.go
index <HASH>..<HASH> 100644
--- a/types/errors_test.go
+++ b/types/errors_test.go
@@ -15,16 +15,15 @@
package types
import (
- . "github.com/pingcap/check"
- "github.com/pingcap/parser/mysql"
+ "testing"
+
"github.com/pingcap/parser/terror"
+ "github.com/st... | types: migrate test-infra to testify for errors_test.go (#<I>) | pingcap_tidb | train | go |
84f1a218b4847cb89a810334dad20fdd4b3198ea | diff --git a/lib/jekyll/localization.rb b/lib/jekyll/localization.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll/localization.rb
+++ b/lib/jekyll/localization.rb
@@ -85,6 +85,20 @@ module Jekyll
end
+ class Post
+
+ alias_method :_localization_original_initialize, :initialize
+
+ # Overwrites the origina... | Posts should know their language like pages do. | prometheus-ev_jekyll-localization | train | rb |
18f6332acec4a6c92388b3f6efad291b0f3473b2 | diff --git a/packages/site/pages/components/row.js b/packages/site/pages/components/row.js
index <HASH>..<HASH> 100644
--- a/packages/site/pages/components/row.js
+++ b/packages/site/pages/components/row.js
@@ -179,7 +179,7 @@ export default withServerProps(_ => (
'row title or linked title'
... | fix(site): row titleTruncated typo
Fixes: #<I> | pluralsight_design-system | train | js |
afdb12a5a29dce5d993367a252b78807c430c7d3 | diff --git a/js/tapTarget.js b/js/tapTarget.js
index <HASH>..<HASH> 100644
--- a/js/tapTarget.js
+++ b/js/tapTarget.js
@@ -276,6 +276,7 @@
this.wrapper.classList.add('open');
document.body.addEventListener('click', this._handleDocumentClickBound, true);
+ document.body.addEventListener('touchend', ... | Correctly close feature discovery on ios devices | Dogfalo_materialize | train | js |
e1f44d3f810815865ba447ef8a5f5272ca056748 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -63,6 +63,10 @@ gd.createFrom = function (filename, callback) {
}
gd.Image.prototype.save = function (filename, options, callback) {
+ if (typeof(options) === 'function') {
+ callback = options
+ options =... | gd.Image.save now supports two-argument invocation: image.save(filename, callback) | furagu_easy-gd | train | js |
dd3e9e8b26a2bf7a4f3095cc3736a4e13030d892 | diff --git a/quilt/patch.py b/quilt/patch.py
index <HASH>..<HASH> 100644
--- a/quilt/patch.py
+++ b/quilt/patch.py
@@ -25,8 +25,9 @@ from quilt.utils import Process
class Patch(object):
- def __init__(self, cwd, patch_file, backup=False, prefix=None):
+ def __init__(self, cwd, patch_file, strip=1, backup=Fal... | Add a strip parameter to the patch class
The strip parameter is used to strip a path from the dirnames in the
patch file. By default quilt uses strip = 1. | bjoernricks_python-quilt | train | py |
fa76bf6ce335fba1ec1cf863d8de96bd2d78352e | diff --git a/src/keys.js b/src/keys.js
index <HASH>..<HASH> 100644
--- a/src/keys.js
+++ b/src/keys.js
@@ -190,6 +190,10 @@
function Key(name, code) {
this.name = name;
this.code = code;
+
+ // If a new Key is instantiated with a name that isn't
+ // in the internal keymap, make sur... | When a Key is instantiated, ensure it's name/code pair exists in the internal keymap | bitwalker_keys.js | train | js |
40c9e3d36cb51797b14fcf4ad933385c03c14796 | diff --git a/jpasskit/src/main/java/de/brendamour/jpasskit/PKPass.java b/jpasskit/src/main/java/de/brendamour/jpasskit/PKPass.java
index <HASH>..<HASH> 100644
--- a/jpasskit/src/main/java/de/brendamour/jpasskit/PKPass.java
+++ b/jpasskit/src/main/java/de/brendamour/jpasskit/PKPass.java
@@ -249,7 +249,6 @@ public class ... | getBarcode() method is still useful now - better not to deprecate it & keep it updated instead
<URL> | drallgood_jpasskit | train | java |
097ce47bfcdcd348371a6cea4c2e5d030a768b21 | diff --git a/js/bootstrap-select.js b/js/bootstrap-select.js
index <HASH>..<HASH> 100644
--- a/js/bootstrap-select.js
+++ b/js/bootstrap-select.js
@@ -1930,6 +1930,13 @@
$optgroup = $option.parent('optgroup'),
maxOptions = that.options.maxOptions,
maxOptionsGrp = $optgroup.d... | reset activeIndex if retainActive is false every time an option is selected (not just when multiple). fix #9 | snapappointments_bootstrap-select | train | js |
876e483d0c8d2db5dcbb2155b469351e764f05e9 | diff --git a/goversion.go b/goversion.go
index <HASH>..<HASH> 100644
--- a/goversion.go
+++ b/goversion.go
@@ -16,4 +16,7 @@
package ebiten
+// Between Go 1.10 and Go 1.11, ioutil.TempFile's behavior is different.
+// Ebiten forces the Go version in order to avoid confusion. (#777)
+
const __EBITEN_REQUIRES_GO_VE... | Add comments (#<I>) | hajimehoshi_ebiten | train | go |
1e718c00208e139bfc29879ed6283d1a0ca71a8c | diff --git a/war/src/main/webapp/scripts/hudson-behavior.js b/war/src/main/webapp/scripts/hudson-behavior.js
index <HASH>..<HASH> 100644
--- a/war/src/main/webapp/scripts/hudson-behavior.js
+++ b/war/src/main/webapp/scripts/hudson-behavior.js
@@ -433,9 +433,17 @@ function renderOnDemand(e,callback,noBehaviour) {
i... | applying behaviour rules means we can't use Element.replace | jenkinsci_jenkins | train | js |
e4baa599c25a4d71b408eb4ea53203c9b725448d | diff --git a/app/controllers/exceptionally_beautiful/application_controller.rb b/app/controllers/exceptionally_beautiful/application_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/exceptionally_beautiful/application_controller.rb
+++ b/app/controllers/exceptionally_beautiful/application_controller.rb
@... | Allow application routes to work within custom layouts.
* Changed `ExceptionallyBeautiful::ApplicationController` to inherit from `::ApplicationController`.
* Include `Rails.application.routes.url_helpers` as a helper in our `ExceptionallyBeautiful::ApplicationController` so named route helpers are available in views ... | crushlovely_exceptionally_beautiful | train | rb |
1033e1e20bc6effcb8d1a9938692325f555c945a | diff --git a/lib/iControl.js b/lib/iControl.js
index <HASH>..<HASH> 100644
--- a/lib/iControl.js
+++ b/lib/iControl.js
@@ -33,12 +33,12 @@ var IControl = function(options) {
options = options || {};
// Set default options
- this.host = (typeof options.host === 'string') ? options.host : '127... | Code review comment: use consistent truthiness validation | F5Networks_f5-cloud-libs | train | js |
eaac026a6c39123fcb5cdae172a91ff1930c8773 | diff --git a/provider/oci/networking.go b/provider/oci/networking.go
index <HASH>..<HASH> 100644
--- a/provider/oci/networking.go
+++ b/provider/oci/networking.go
@@ -496,7 +496,8 @@ func (e *Environ) ensureNetworksAndSubnets(
prefix := AllowAllPrefix
routeRules := []ociCore.RouteRule{
{
- CidrBlock: &pr... | Replace deprecated CidrBlock with Destination and Destination type for OCI route table creation payload. | juju_juju | train | go |
80c44ac5e00426e5d6e886597901cd343cdb2c87 | diff --git a/src/main/java/org/jfrog/hudson/util/RepositoriesUtils.java b/src/main/java/org/jfrog/hudson/util/RepositoriesUtils.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jfrog/hudson/util/RepositoriesUtils.java
+++ b/src/main/java/org/jfrog/hudson/util/RepositoriesUtils.java
@@ -133,10 +133,11 @@ public ... | HAP-<I> - Error on testing a new Artifactory connection in the main configuration page
HAP-<I> - "Test Connection" to Artifactory fails | jenkinsci_artifactory-plugin | train | java |
55e6b5ad6dab156e27217d667de20b4bba654724 | diff --git a/astrocats/catalog/entry.py b/astrocats/catalog/entry.py
index <HASH>..<HASH> 100644
--- a/astrocats/catalog/entry.py
+++ b/astrocats/catalog/entry.py
@@ -377,7 +377,8 @@ class Entry(OrderedDict):
self._log.info("This source is erroneous, skipping")
return None
# If this s... | MAINT: Only exclude `PRIVATE` data if all sources are private.
Also always include aliases, regardless of private tag. | astrocatalogs_astrocats | train | py |
1b0289585211d8414ba0c8036cb2a7fec55ead68 | diff --git a/synapse/tests/test_axon.py b/synapse/tests/test_axon.py
index <HASH>..<HASH> 100644
--- a/synapse/tests/test_axon.py
+++ b/synapse/tests/test_axon.py
@@ -387,11 +387,8 @@ class AxonTest(SynTest):
# Cloning should start up shortly
self.nn(blob01wait.wait(10))
+ ... | Add a blobcell test to ensure that we have behavior covered for a unknown buid being asked to a blobclient | vertexproject_synapse | train | py |
3cfd2dca811f47b53b42728ae759fad7dd02a43f | diff --git a/pixiedust/display/chart/renderers/mapbox/mapBoxMapDisplay.py b/pixiedust/display/chart/renderers/mapbox/mapBoxMapDisplay.py
index <HASH>..<HASH> 100644
--- a/pixiedust/display/chart/renderers/mapbox/mapBoxMapDisplay.py
+++ b/pixiedust/display/chart/renderers/mapbox/mapBoxMapDisplay.py
@@ -197,7 +197,7 @@ c... | fix opacity for points in choropleths | pixiedust_pixiedust | train | py |
6efa75df88afc4055ea23064d53bfd83574c340e | diff --git a/lib/TheTwelve/Foursquare/EndpointGateway.php b/lib/TheTwelve/Foursquare/EndpointGateway.php
index <HASH>..<HASH> 100644
--- a/lib/TheTwelve/Foursquare/EndpointGateway.php
+++ b/lib/TheTwelve/Foursquare/EndpointGateway.php
@@ -43,7 +43,7 @@ class EndpointGateway
* @param \DateTime $date
* @retur... | update the method name for modifying the verified date | chriswoodford_foursquare-php | train | php |
59b6e2e7ca9d94d70bfb713895f5d2db5165ed8b | diff --git a/source/org/jasig/portal/utils/XMLEscaper.java b/source/org/jasig/portal/utils/XMLEscaper.java
index <HASH>..<HASH> 100644
--- a/source/org/jasig/portal/utils/XMLEscaper.java
+++ b/source/org/jasig/portal/utils/XMLEscaper.java
@@ -57,12 +57,20 @@ public class XMLEscaper
*/
public static String escape... | Tried a first cut at solving a problem with the escape(source) method
throwing an exception if a 'null' is passed in by a caller. Needs a
bit more testing, as does the escape(ch) method.
Committed as recommended by kweiner.
git-svn-id: <URL> | Jasig_uPortal | train | java |
08bd903d3ec000ce4ef2b4c414e12287681ded84 | diff --git a/fastlane/lib/fastlane/actions/hockey.rb b/fastlane/lib/fastlane/actions/hockey.rb
index <HASH>..<HASH> 100644
--- a/fastlane/lib/fastlane/actions/hockey.rb
+++ b/fastlane/lib/fastlane/actions/hockey.rb
@@ -46,6 +46,7 @@ module Fastlane
end
connection.post do |req|
+ req.options... | Add HockeyApp action timeout option (#<I>) | fastlane_fastlane | train | rb |
f23357fa5bb457bd9207fcc0109d5b98e6bb4f8f | diff --git a/pkg/identity/allocator.go b/pkg/identity/allocator.go
index <HASH>..<HASH> 100644
--- a/pkg/identity/allocator.go
+++ b/pkg/identity/allocator.go
@@ -15,6 +15,7 @@
package identity
import (
+ "fmt"
"path"
"sync"
@@ -123,6 +124,10 @@ func AllocateIdentity(lbls labels.Labels) (*Identity, bool, erro... | identity: Make API resilient if allocator is not initialized yet | cilium_cilium | train | go |
50a82814641b54670d38e81921ec329705d2b185 | diff --git a/papermill/execute.py b/papermill/execute.py
index <HASH>..<HASH> 100644
--- a/papermill/execute.py
+++ b/papermill/execute.py
@@ -237,7 +237,7 @@ _translate_type_float_scala = _translate_to_str
def _translate_type_int_scala(val):
strval = _translate_to_str(val)
- return strval + "L" if val > 214... | Responded to long conditional PR feedback | nteract_papermill | train | py |
d573298c3e0f9745ef52a9fe4d459e311e05a8a5 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -13,7 +13,7 @@ Parser = require('parse-latin');
* stop characters that should not be treated as terminal sentence
* markers:
*
- * A “word” boundry,
+ * A "word" boundry,
* followed by a case-sensitive abbreviation,
... | Replaced unicode characters in API with their ASCII equivalent | wooorm_parse-english | train | js |
7aea79eeb19d1373831b7a8d4dae2959d1521337 | diff --git a/telemetry/telemetry/page/page_measurement_unittest.py b/telemetry/telemetry/page/page_measurement_unittest.py
index <HASH>..<HASH> 100644
--- a/telemetry/telemetry/page/page_measurement_unittest.py
+++ b/telemetry/telemetry/page/page_measurement_unittest.py
@@ -63,7 +63,8 @@ class PageMeasurementUnitTest(
... | Disable PageMeasurementUnitTest.testGotQueryParams as it is failing.
TBR=<EMAIL>
NOTRY=true
BUG=<I>
Review URL: <URL> | catapult-project_catapult | train | py |
a59eb349c5616c1b48ae9225028fb41ec1feb6aa | diff --git a/tests/pipelines/test_pipelines_common.py b/tests/pipelines/test_pipelines_common.py
index <HASH>..<HASH> 100644
--- a/tests/pipelines/test_pipelines_common.py
+++ b/tests/pipelines/test_pipelines_common.py
@@ -65,7 +65,7 @@ def get_tiny_config_from_class(configuration_class):
try:
model_slu... | fix missing "models" in pipeline test module (#<I>) | huggingface_pytorch-pretrained-BERT | train | py |
df1f2dbb7dd50aa23c1e201a05088898d674e338 | diff --git a/core/src/main/java/io/opencensus/tags/TagMap.java b/core/src/main/java/io/opencensus/tags/TagMap.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/io/opencensus/tags/TagMap.java
+++ b/core/src/main/java/io/opencensus/tags/TagMap.java
@@ -17,6 +17,7 @@ import static com.google.common.base.Preconditi... | Copy input map in TagMap constructor. | census-instrumentation_opencensus-java | train | java |
9dbf04c399ce94fbbe39fd507ac842969e53ecb6 | diff --git a/spec/support/fixtures.rb b/spec/support/fixtures.rb
index <HASH>..<HASH> 100644
--- a/spec/support/fixtures.rb
+++ b/spec/support/fixtures.rb
@@ -7,5 +7,11 @@ def fixture(name)
content = File.read(fixture_path)
template = ERB.new(content)
yaml = template.result(binding)
- YAML.safe_load(yaml, per... | Call YAML.safe_load differently according to required parameters | joeyates_imap-backup | train | rb |
83c793f673b7930e934776eca67739d1fd551647 | diff --git a/core/blockly.js b/core/blockly.js
index <HASH>..<HASH> 100644
--- a/core/blockly.js
+++ b/core/blockly.js
@@ -292,9 +292,6 @@ Blockly.terminateDrag_ = function() {
*/
Blockly.copy_ = function(block) {
var xmlBlock = Blockly.Xml.blockToDom(block);
- // if (Blockly.dragMode_ != Blockly.DRAG_FREE) {
- ... | Remove the code instead of commenting it out | LLK_scratch-blocks | train | js |
927781163764d596a4b5388940939da6acef8910 | diff --git a/lib/fog/rackspace/storage.rb b/lib/fog/rackspace/storage.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/rackspace/storage.rb
+++ b/lib/fog/rackspace/storage.rb
@@ -258,9 +258,9 @@ module Fog
target_container = service.data[cname]
if target_container
- keys = tar... | Split a multiline statement with trailing .'s. | fog_fog | train | rb |
b5d49973b21a94ebd1e1549dde595544b8a86d76 | diff --git a/ExtEventLoop.php b/ExtEventLoop.php
index <HASH>..<HASH> 100644
--- a/ExtEventLoop.php
+++ b/ExtEventLoop.php
@@ -25,16 +25,9 @@ class ExtEventLoop implements LoopInterface
private $writeListeners = [];
private $running;
- /**
- * @param EventBase|null $eventBase The libevent event base ... | Removed some unnecessary left-overs. | reactphp_event-loop | train | php,php |
27e637fbe3f17737e898774ff151448f4f0aa129 | diff --git a/airflow/providers/ssh/operators/ssh.py b/airflow/providers/ssh/operators/ssh.py
index <HASH>..<HASH> 100644
--- a/airflow/providers/ssh/operators/ssh.py
+++ b/airflow/providers/ssh/operators/ssh.py
@@ -78,7 +78,7 @@ class SSHOperator(BaseOperator):
self.command = command
self.timeout = ti... | Bugfix: Error in SSHOperator when command is None (#<I>)
closes <URL> | apache_airflow | train | py,py |
2b1e53a80bb2b20c4d191f2394f6aa4bf52456ba | diff --git a/programs/thumbnails.py b/programs/thumbnails.py
index <HASH>..<HASH> 100755
--- a/programs/thumbnails.py
+++ b/programs/thumbnails.py
@@ -65,10 +65,24 @@ def make_thumbnails(directory=".", fmt="png"):
right = width * .84
bottom = height * .865
elif "ty:_intensities_histog... | include 4 bounding lines for histogram thumbnails, #<I> | PmagPy_PmagPy | train | py |
bb1e6630a7fec82e987d97eb754c70aee7fb492d | diff --git a/Lib/ufo2ft/outlineCompiler.py b/Lib/ufo2ft/outlineCompiler.py
index <HASH>..<HASH> 100644
--- a/Lib/ufo2ft/outlineCompiler.py
+++ b/Lib/ufo2ft/outlineCompiler.py
@@ -1050,11 +1050,15 @@ class OutlineTTFCompiler(BaseOutlineCompiler):
for name in self.glyphOrder:
glyph = allGlyphs[name]... | [outlineCompiler] skip/log error if glyph has invalid curveTo | googlefonts_ufo2ft | train | py |
f7ac1b6ee583144576a38ca8133746943f7d85c6 | diff --git a/lib/in_model.rb b/lib/in_model.rb
index <HASH>..<HASH> 100644
--- a/lib/in_model.rb
+++ b/lib/in_model.rb
@@ -60,7 +60,7 @@ module Authorization
and_conditions = []
obligation_conditions!(nil, obligation, options[:model],
and_conditions, condit... | the 'true' condition needs to be quoted for PostgreSql | stffn_declarative_authorization | train | rb |
385584a985aaa3e5519fb2ab97407a3b3c5cada9 | diff --git a/salt/modules/inspectlib/dbhandle.py b/salt/modules/inspectlib/dbhandle.py
index <HASH>..<HASH> 100644
--- a/salt/modules/inspectlib/dbhandle.py
+++ b/salt/modules/inspectlib/dbhandle.py
@@ -119,4 +119,8 @@ class DBHandle(DBHandleBase):
"(id INTEGER PRIMARY KEY, path CHAR(4... | Add filtering of allowed payload scan | saltstack_salt | train | py |
3df5f25558b7d4fc1601b2d0137ef5e8ea29e05d | diff --git a/dev/com.ibm.ws.kernel.service/src/com/ibm/ws/kernel/service/util/JavaInfo.java b/dev/com.ibm.ws.kernel.service/src/com/ibm/ws/kernel/service/util/JavaInfo.java
index <HASH>..<HASH> 100644
--- a/dev/com.ibm.ws.kernel.service/src/com/ibm/ws/kernel/service/util/JavaInfo.java
+++ b/dev/com.ibm.ws.kernel.servic... | Update JavaInfo.isAvailable to only look at the system classloader
- Instead of using the ApplicationClassLoader or the
BootstrapClassloader which adds extra path to loading a class that isn't
found, switch to talk directly to the system classloader only. | OpenLiberty_open-liberty | train | java |
d7fad097980c2cd350d6cffa3cc19d76de42d1b0 | diff --git a/lib/puppet/util/execution.rb b/lib/puppet/util/execution.rb
index <HASH>..<HASH> 100644
--- a/lib/puppet/util/execution.rb
+++ b/lib/puppet/util/execution.rb
@@ -138,11 +138,13 @@ module Util::Execution
output
end
- # get the path to the ruby executable (available via Config object, even if it's... | Use RbConfig rather than Config
RbConfig and Config are both names for the compile-time configuration
constants out of Ruby as far back as <I>, so we can happily use the newer
name.
This eliminates a deprecation warning from Ruby <I>, which finally started
complaining that we should have made this move already. | puppetlabs_puppet | train | rb |
32c8ade4613ab4443c7a9ed5c3510445ea2e4b3f | diff --git a/fc/io.py b/fc/io.py
index <HASH>..<HASH> 100644
--- a/fc/io.py
+++ b/fc/io.py
@@ -905,10 +905,11 @@ class FCSData(np.ndarray):
Acquisition time, in seconds.
The acquisition time is calculated using the 'time' channel by
- default (case independent). If the 'time' channel is not a... | Docstring in FCSData.acquisition_time. | taborlab_FlowCal | train | py |
9b65c2bd7b88ed163dd022e59b6411575ed119f5 | diff --git a/spyder/widgets/sourcecode/codeeditor.py b/spyder/widgets/sourcecode/codeeditor.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/sourcecode/codeeditor.py
+++ b/spyder/widgets/sourcecode/codeeditor.py
@@ -38,7 +38,7 @@ from qtpy.QtPrintSupport import QPrinter
from qtpy.QtWidgets import (QApplication, QDi... | Try#1b: trying to improve the workaround | spyder-ide_spyder | train | py |
86d563d6468f7eec6e8cd62ec25654498921a2df | diff --git a/lib/faker.rb b/lib/faker.rb
index <HASH>..<HASH> 100644
--- a/lib/faker.rb
+++ b/lib/faker.rb
@@ -29,7 +29,7 @@ module Faker
end
end
- class Config
+ module Config
@locale = nil
@random = nil | Faker::Config can be a Module rather than a Class (#<I>) | stympy_faker | train | rb |
d245a8f3a6b985e0ac35bf75b3d34bf7091cbd59 | diff --git a/lib/arjdbc.rb b/lib/arjdbc.rb
index <HASH>..<HASH> 100644
--- a/lib/arjdbc.rb
+++ b/lib/arjdbc.rb
@@ -1,15 +1,7 @@
if defined?(JRUBY_VERSION)
begin
require 'active_record/version'
- if ActiveRecord::VERSION::MAJOR < 2
- if defined?(RAILS_CONNECTION_ADAPTERS)
- RAILS_CONNECTION_ADAPT... | get rid of `ActiveRecord::VERSION::MAJOR < 2` code | jruby_activerecord-jdbc-adapter | train | rb |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.