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 |
|---|---|---|---|---|---|
db30b67dc570d59f964c2bd237d788d4f007e8d4 | diff --git a/core/src/main/java/hudson/tasks/UserAvatarResolver.java b/core/src/main/java/hudson/tasks/UserAvatarResolver.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/tasks/UserAvatarResolver.java
+++ b/core/src/main/java/hudson/tasks/UserAvatarResolver.java
@@ -49,7 +49,7 @@ import hudson.model.Use... | Updated the since doc for UserAvatarResolver | jenkinsci_jenkins | train | java |
283db9fcead2307e6d1122da4630fa750ad707e7 | diff --git a/NetLicensingClient/netlicensing.php b/NetLicensingClient/netlicensing.php
index <HASH>..<HASH> 100644
--- a/NetLicensingClient/netlicensing.php
+++ b/NetLicensingClient/netlicensing.php
@@ -43,7 +43,7 @@ class NetLicensing
}
$params = array(
'productNumber' => $productNumber,... | change licenseeName attribute according to the API <I> | Labs64_NetLicensingClient-php | train | php |
d1e3baa537f4342dcf9e201983c6a656e8c1b4e1 | diff --git a/src/Exscript/util/template.py b/src/Exscript/util/template.py
index <HASH>..<HASH> 100644
--- a/src/Exscript/util/template.py
+++ b/src/Exscript/util/template.py
@@ -20,7 +20,7 @@ from Exscript.interpreter import Parser
def _compile(conn, filename, template, parser_kwargs, **kwargs):
if conn:
- ... | fix: Exscript.util.template.run() on hosts that have no variables defined. | knipknap_exscript | train | py |
dade7cb54bdf1500aae347e5d3cd2546a9ae9682 | diff --git a/ubcpi/ubcpi.py b/ubcpi/ubcpi.py
index <HASH>..<HASH> 100644
--- a/ubcpi/ubcpi.py
+++ b/ubcpi/ubcpi.py
@@ -127,7 +127,7 @@ class PeerInstructionXBlock(XBlock, MissingDataFetcherMixin):
question_text = Dict(
default={'text': 'What is your question?', 'image_url': '', 'image_position': 'below', '... | CHANGE the default help for the question_text Dict so now we can use this to output the help rather some some separate markup | ubc_ubcpi | train | py |
b709ba76b4b60df8c116ad014807a09a02eb4239 | diff --git a/src/Plugin/plugin.helper.functions.php b/src/Plugin/plugin.helper.functions.php
index <HASH>..<HASH> 100644
--- a/src/Plugin/plugin.helper.functions.php
+++ b/src/Plugin/plugin.helper.functions.php
@@ -21,7 +21,15 @@ const PLUGIN_FQCN_TEMPLATE = 'Moka\\Plugin\\%s\\%sPlugin';
*/
function loadPlugin(strin... | Encapsulate in a private context the function 'generateFQCn' | facile-it_moka | train | php |
6fef786cf390596a80cf79b168dbe27bc3b59c35 | diff --git a/core/src/main/java/org/infinispan/configuration/global/GlobalConfigurationBuilder.java b/core/src/main/java/org/infinispan/configuration/global/GlobalConfigurationBuilder.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/infinispan/configuration/global/GlobalConfigurationBuilder.java
+++ b/core... | ISPN-<I> Resolve classes properly when Thread context classloader is null
If TCCL is null, fallback to ISPN classes classloader | infinispan_infinispan | train | java |
89b5959128a91b5aceb46764ff2867cf49aa2cb6 | diff --git a/ml-agents/mlagents/trainers/tests/test_simple_rl.py b/ml-agents/mlagents/trainers/tests/test_simple_rl.py
index <HASH>..<HASH> 100644
--- a/ml-agents/mlagents/trainers/tests/test_simple_rl.py
+++ b/ml-agents/mlagents/trainers/tests/test_simple_rl.py
@@ -365,12 +365,12 @@ def test_simple_asymm_ghost(use_dis... | Increasing steps on asymmetric ghost test (#<I>) | Unity-Technologies_ml-agents | train | py |
ea886d5544b14b228a184dc7f30c727b10a7281d | diff --git a/TYPO3.Flow/Classes/Http/Response.php b/TYPO3.Flow/Classes/Http/Response.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Flow/Classes/Http/Response.php
+++ b/TYPO3.Flow/Classes/Http/Response.php
@@ -358,8 +358,8 @@ class Response implements ResponseInterface{
/**
* Cast the response to a string: return the... | [TASK] Annotation cleanup for http response __toString method
Change-Id: Ice5a<I>fad<I>a4a<I>be<I>a9d7d<I>d3e0f<I>c
Related: #<I>
Releases: <I>, <I>
Original-Commit-Hash: a2e8c<I>edcc<I>cdf<I>d<I>fc<I>e5ca2daf6 | neos_flow-development-collection | train | php |
322a5f6301cc364a7a3f0cc7000a857e583e224b | diff --git a/grade/report/grader/lib.php b/grade/report/grader/lib.php
index <HASH>..<HASH> 100644
--- a/grade/report/grader/lib.php
+++ b/grade/report/grader/lib.php
@@ -1128,10 +1128,15 @@ class grade_report_grader extends grade_report {
global $USER;
$iconshtml = '';
- if ($USER->grade... | MDL-<I> Grader report: Showing idnumber column shifts controls into wrong columns; merged from MOODLE_<I>_STABLE | moodle_moodle | train | php |
02c5698401d336838dcc2ba7eb83b911872bd1a1 | diff --git a/rollbar/__init__.py b/rollbar/__init__.py
index <HASH>..<HASH> 100644
--- a/rollbar/__init__.py
+++ b/rollbar/__init__.py
@@ -156,7 +156,7 @@ SETTINGS = {
},
'allow_logging_basic_config': True, # set to False to avoid a call to logging.basicConfig()
'locals': {
- 'enabled': False,
+ ... | enable locals by default for <I> @brianr | rollbar_pyrollbar | train | py |
9ec6bb21c3b15b6c88ed00baffa3bbaf7b731135 | diff --git a/generator/classes/propel/phing/AbstractPropelDataModelTask.php b/generator/classes/propel/phing/AbstractPropelDataModelTask.php
index <HASH>..<HASH> 100644
--- a/generator/classes/propel/phing/AbstractPropelDataModelTask.php
+++ b/generator/classes/propel/phing/AbstractPropelDataModelTask.php
@@ -536,7 +53... | Iterating over DOM nodes gets messed up when you remove nodes that are in the collection. This lead to skipping the next external-schema reference and thus missing definitions in schema-transformed.xml. | propelorm_Propel | train | php |
e2f2099197b27d5135129807b3c1b8ad6e8f5463 | diff --git a/spring-boot/src/test/java/org/springframework/boot/builder/SpringApplicationBuilderTests.java b/spring-boot/src/test/java/org/springframework/boot/builder/SpringApplicationBuilderTests.java
index <HASH>..<HASH> 100644
--- a/spring-boot/src/test/java/org/springframework/boot/builder/SpringApplicationBuilder... | Add test for gh-<I> | spring-projects_spring-boot | train | java |
028a2d9b32363af28755eafdab635a9e0382252d | diff --git a/src/ansiblelint/file_utils.py b/src/ansiblelint/file_utils.py
index <HASH>..<HASH> 100644
--- a/src/ansiblelint/file_utils.py
+++ b/src/ansiblelint/file_utils.py
@@ -209,7 +209,13 @@ class Lintable:
def _populate_content_cache_from_disk(self) -> None:
# Can raise UnicodeDecodeError
- ... | Handle FileNotFoundError caused by processing new file in progressive mode (#<I>) | ansible_ansible-lint | train | py |
65b18df24064018f0f3e8495b244c9209a48d814 | diff --git a/Routes.php b/Routes.php
index <HASH>..<HASH> 100644
--- a/Routes.php
+++ b/Routes.php
@@ -10,6 +10,7 @@
namespace Brain;
+use Brain\Cortex\Group\GroupCollection;
use Brain\Cortex\Group\GroupCollectionInterface;
use Brain\Cortex\Route\PriorityRouteCollection;
use Brain\Cortex\Route\RouteCollectionIn... | Add missing use statement in Brain\Routes | Brain-WP_Cortex | train | php |
fb3950e235bd17dcc7a971b25a8a9bb03aa6f99c | diff --git a/cmds/tfa.js b/cmds/tfa.js
index <HASH>..<HASH> 100644
--- a/cmds/tfa.js
+++ b/cmds/tfa.js
@@ -58,9 +58,8 @@ async function enable (argv) {
}
let challenge = await profile.set(info, argv.registry, {token, otp: argv.otp})
if (challenge.tfa === null) {
- let result = await profile.set({tfa... | A null response from a tfa set means it changed modes, no error | npm_npm-profile | train | js |
0b44355a6255857b94574c8e6cb685c57bef6f0e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@ from setuptools import setup, find_packages
from numpy.distutils.core import setup, Extension
from os import path
import io
-import os
+import os, subprocess
## in development set version to none and ... | Update setup.py
Good grief. Will this never end ? | underworldcode_stripy | train | py |
1894a208bd3c0b1d31d372aab726726e60becc2d | diff --git a/discovery/utils.go b/discovery/utils.go
index <HASH>..<HASH> 100644
--- a/discovery/utils.go
+++ b/discovery/utils.go
@@ -10,7 +10,7 @@ import (
"github.com/roasbeef/btcd/btcec"
)
-// newProofKey constructs new announcement signature message key.
+// newProofKey constructs a new announcement signature... | discovery: utilize exactly 9 bytes for serialized waitingProofKey | lightningnetwork_lnd | train | go |
b4fd1b59a14a0027980e62b9827eb58341c5d6e1 | diff --git a/src/Cache/ApcCache.php b/src/Cache/ApcCache.php
index <HASH>..<HASH> 100644
--- a/src/Cache/ApcCache.php
+++ b/src/Cache/ApcCache.php
@@ -44,7 +44,8 @@ class ApcCache implements CacheInterface
{
$cache = apc_cache_info('user');
foreach($cache['cache_list'] as $entry) {
- i... | patch to keep ApcCache handler compatible with HHVM #<I> | marcioAlmada_annotations | train | php |
da3d4acd11dcf052f754634500560eb2504120d1 | diff --git a/cosmic_ray/version.py b/cosmic_ray/version.py
index <HASH>..<HASH> 100644
--- a/cosmic_ray/version.py
+++ b/cosmic_ray/version.py
@@ -1,3 +1,3 @@
"""Cosmic Ray version info."""
-__version__ = '2.0.0a0'
+__version__ = '2.0.1' | bumped version to <I> | sixty-north_cosmic-ray | train | py |
2a82cacf0bab6fbc50957b826914d364170b5dcb | diff --git a/lib/xmldb/classes/generators/XMLDBGenerator.class.php b/lib/xmldb/classes/generators/XMLDBGenerator.class.php
index <HASH>..<HASH> 100644
--- a/lib/xmldb/classes/generators/XMLDBGenerator.class.php
+++ b/lib/xmldb/classes/generators/XMLDBGenerator.class.php
@@ -668,7 +668,7 @@ class XMLDBgenerator {
... | getting tired of restore my test Oracle DB. Typo! | moodle_moodle | train | php |
60261b8c598512a5cfde8b1e8b0b49c1907dcce5 | diff --git a/lang/en/moodle.php b/lang/en/moodle.php
index <HASH>..<HASH> 100644
--- a/lang/en/moodle.php
+++ b/lang/en/moodle.php
@@ -785,7 +785,7 @@ $string['forgotteninvalidurl'] = 'Invalid password reset URL';
$string['format'] = 'Format';
$string['format_help'] = 'The course format determines the layout of the c... | MDL-<I> course: Changed help string for course format selection | moodle_moodle | train | php |
ab93bf496ac46c704305e71fb1b83a337457eed0 | diff --git a/src/utilities/findBreakingChanges.js b/src/utilities/findBreakingChanges.js
index <HASH>..<HASH> 100644
--- a/src/utilities/findBreakingChanges.js
+++ b/src/utilities/findBreakingChanges.js
@@ -8,6 +8,7 @@
*/
import find from '../polyfills/find';
+import inspect from '../jsutils/inspect';
import {
... | findBreakingChanges: Correctly document not reachable statement (#<I>) | graphql_graphql-js | train | js |
7a1b70204ef427ea6052609bb55b586dfd2fa4ad | diff --git a/lib/bibliothecary/parsers/go.rb b/lib/bibliothecary/parsers/go.rb
index <HASH>..<HASH> 100644
--- a/lib/bibliothecary/parsers/go.rb
+++ b/lib/bibliothecary/parsers/go.rb
@@ -146,7 +146,7 @@ module Bibliothecary
def self.parse_go_resolved(file_contents)
JSON.parse(file_contents)
- ... | change to check for not true instead of == to false | librariesio_bibliothecary | train | rb |
0013c25f1a0e50a43bfd015accabbe5f519bb7db | diff --git a/app-web/WebSocketOverCOMET.php b/app-web/WebSocketOverCOMET.php
index <HASH>..<HASH> 100644
--- a/app-web/WebSocketOverCOMET.php
+++ b/app-web/WebSocketOverCOMET.php
@@ -246,7 +246,7 @@ class WebSocketOverCOMET_Request extends Request
$this->atime = time();
$this->finish(0,TRUE);
}
- if ($t... | Minor improvements in app-web/WebSocketOverCOMET.php | kakserpom_phpdaemon | train | php |
7772d50f742dbf9cb9ffe2f610e18f3898da0453 | diff --git a/cmd/torrent/download.go b/cmd/torrent/download.go
index <HASH>..<HASH> 100644
--- a/cmd/torrent/download.go
+++ b/cmd/torrent/download.go
@@ -234,10 +234,11 @@ func downloadErr(flags downloadFlags) error {
clientConfig.SetListenAddr(flags.Addr)
}
if flags.UploadRate != nil {
+ // TODO: I think the ... | cmd/torrent: Lower burst when there's a download rate limit | anacrolix_torrent | train | go |
13f2b089194a93a126929a358de397e16c738c15 | diff --git a/src/Utils/Logger.php b/src/Utils/Logger.php
index <HASH>..<HASH> 100644
--- a/src/Utils/Logger.php
+++ b/src/Utils/Logger.php
@@ -24,7 +24,7 @@ class Logger {
}
protected function init($root) {
- $loggerFile = $root.'console/log/' . date('Y-m-d') . '.log';
+ $loggerFile = $root.'/... | Fix logger path (#<I>)
* [console] Read alias as array.
* [console] Remove no longer required instruction.
* [logger] Fix log file path. | hechoendrupal_drupal-console | train | php |
a2fc8da1e822c7f7546cf38aeccd6dc55fdb4260 | diff --git a/luigi/file.py b/luigi/file.py
index <HASH>..<HASH> 100644
--- a/luigi/file.py
+++ b/luigi/file.py
@@ -8,6 +8,12 @@ class File(object):
return os.path.exists(self.__path)
def open(self, mode = 'r'):
+ if mode == 'w' or mode == 'a':
+ # Create folder if it does not exist
+ ... | LocalTarget and File create folder while creating a new file
Change-Id: Ie8e2ba3bf<I>ed<I>c<I>b<I>e<I> | spotify_luigi | train | py |
7f14f7e49170819e8e3ae4ff9c4303168bac0cca | diff --git a/core/src/main/java/org/bitcoinj/utils/Threading.java b/core/src/main/java/org/bitcoinj/utils/Threading.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/bitcoinj/utils/Threading.java
+++ b/core/src/main/java/org/bitcoinj/utils/Threading.java
@@ -20,6 +20,7 @@ import com.google.common.util.concu... | On Android, use non-cycle detecting locks with fairness activated (experimental) | bitcoinj_bitcoinj | train | java |
988197c7954d6e4123c1650cab090ba8f529d6f9 | diff --git a/src/_pytest/tmpdir.py b/src/_pytest/tmpdir.py
index <HASH>..<HASH> 100644
--- a/src/_pytest/tmpdir.py
+++ b/src/_pytest/tmpdir.py
@@ -158,9 +158,9 @@ class TempPathFactory:
def get_user() -> Optional[str]:
"""Return the current user name, or None if getuser() does not work
in the current environ... | fix: move 'import getpass' statement to try-clause | pytest-dev_pytest | train | py |
26de3cc37be2abdd9ca1b8f9fb5996d8318a1001 | diff --git a/lib/fastlane/actions/hockey.rb b/lib/fastlane/actions/hockey.rb
index <HASH>..<HASH> 100644
--- a/lib/fastlane/actions/hockey.rb
+++ b/lib/fastlane/actions/hockey.rb
@@ -112,6 +112,10 @@ module Fastlane
FastlaneCore::ConfigItem.new(key: :tags,
env_name: "FL... | Added new public_identifier option to hockey integration | fastlane_fastlane | train | rb |
aa162a3caf3d0303080ca81ad70d83d70c314ae1 | diff --git a/lib/cisco_node_utils/version.rb b/lib/cisco_node_utils/version.rb
index <HASH>..<HASH> 100644
--- a/lib/cisco_node_utils/version.rb
+++ b/lib/cisco_node_utils/version.rb
@@ -1,4 +1,4 @@
-# Copyright (c) 2015-2017 Cisco and/or its affiliates.
+# Copyright (c) 2015-2018 Cisco and/or its affiliates.
#
# Lic... | Update version to be <I> | cisco_cisco-network-node-utils | train | rb |
f5231f456a4f2cb881260372abd680b0d41045a9 | diff --git a/framework/base/interfaces.php b/framework/base/interfaces.php
index <HASH>..<HASH> 100644
--- a/framework/base/interfaces.php
+++ b/framework/base/interfaces.php
@@ -337,8 +337,8 @@ interface IAuthManager
{
/**
* Performs access check for the specified user.
- * @param string $itemName the name of t... | Fixes #<I>. API doc adjustments. | yiisoft_yii | train | php |
aed0bc8b5d935c74472b2035e96a1671752814bf | diff --git a/sanitize_test.go b/sanitize_test.go
index <HASH>..<HASH> 100644
--- a/sanitize_test.go
+++ b/sanitize_test.go
@@ -1795,3 +1795,43 @@ func TestIssue111ScriptTags(t *testing.T) {
)
}
}
+
+func TestQuotes(t *testing.T) {
+ p := UGCPolicy()
+
+ tests := []test{
+ {
+ in: `noquotes`,
+ expected... | Add test for quotes to prevent regression on the ASCII SCRIPT issue | microcosm-cc_bluemonday | train | go |
b63973ef61ffd4d89aea4bd59303cdf05ce690e9 | diff --git a/acos_client/v30/action.py b/acos_client/v30/action.py
index <HASH>..<HASH> 100644
--- a/acos_client/v30/action.py
+++ b/acos_client/v30/action.py
@@ -20,13 +20,18 @@ from acos_client.v30 import base
class Action(base.BaseV30):
- def write_memory(self, partition="all", destination="primary", **kwarg... | Updated acos-client to match current AXAPI write memory spec | a10networks_acos-client | train | py |
ac36001fdaa657f5fd45fbde69637d71f402c8fa | diff --git a/src/de/mrapp/android/preference/activity/PreferenceHeader.java b/src/de/mrapp/android/preference/activity/PreferenceHeader.java
index <HASH>..<HASH> 100644
--- a/src/de/mrapp/android/preference/activity/PreferenceHeader.java
+++ b/src/de/mrapp/android/preference/activity/PreferenceHeader.java
@@ -441,7 +44... | Avoided NPE when no icon is set. | michael-rapp_AndroidPreferenceActivity | train | java |
134cacf1b7ca8a030e38af0645c3b1d72f65a4f8 | diff --git a/admin/settings/mnet.php b/admin/settings/mnet.php
index <HASH>..<HASH> 100644
--- a/admin/settings/mnet.php
+++ b/admin/settings/mnet.php
@@ -1,5 +1,5 @@
<?php
-require_once($CFG->dirroot.'/mnet/lib.php');
+
// This file defines settingpages and externalpages under the "mnet" category
if ($hassiteconf... | rating MDL-<I> Removed accidental commit of an unrelated mnet work around | moodle_moodle | train | php |
1aa251dc6b3c27df6e466caf3182dedfa9c3c5e2 | diff --git a/src/renderable/camera.js b/src/renderable/camera.js
index <HASH>..<HASH> 100644
--- a/src/renderable/camera.js
+++ b/src/renderable/camera.js
@@ -65,7 +65,6 @@
follow_axis : 0,
// shake parameters
- shaking : false,
_shake : null,
// fade parameters
_fadeIn : null,
@@ -287,10 +286,10 @@
... | Cleaned the shaking function
the `shaking` flag is useless now that we can check it using the
remaining duration | melonjs_melonJS | train | js |
50eeef47c5cc4523b84368be58be8e876c85109e | diff --git a/src/android/org/jboss/aerogear/cordova/push/PushPlugin.java b/src/android/org/jboss/aerogear/cordova/push/PushPlugin.java
index <HASH>..<HASH> 100644
--- a/src/android/org/jboss/aerogear/cordova/push/PushPlugin.java
+++ b/src/android/org/jboss/aerogear/cordova/push/PushPlugin.java
@@ -58,7 +58,7 @@ public ... | Fix for AGPUSH<I> - create notification when app is closed. | aerogear_aerogear-cordova-push | train | java |
1b624dfe309a0ef54dbf546cd56ccfe933b30ca8 | diff --git a/Eloquent/Builder.php b/Eloquent/Builder.php
index <HASH>..<HASH> 100755
--- a/Eloquent/Builder.php
+++ b/Eloquent/Builder.php
@@ -1004,7 +1004,7 @@ class Builder
$qualifiedColumn = end($segments).'.'.$column;
- $values[$qualifiedColumn] = $values[$column];
+ $values[$qualifiedCol... | fix updated with provided qualified updated_at (#<I>) | illuminate_database | train | php |
0b6602e1039b2df65ba03382165d913187e727a0 | diff --git a/lib/massa/tool.rb b/lib/massa/tool.rb
index <HASH>..<HASH> 100644
--- a/lib/massa/tool.rb
+++ b/lib/massa/tool.rb
@@ -4,7 +4,13 @@ module Massa
class Tool
class << self
def list
- YAML.load_file(config_file_from_gem).merge YAML.load_file(config_file_from_project)
+ default_tool... | Fixing 'Tool#list' method when custom config file is not present | lucascaton_massa | train | rb |
200a74cd1b36d8547c5755609a9e27505c16a453 | diff --git a/lib/ansiblereview/__main__.py b/lib/ansiblereview/__main__.py
index <HASH>..<HASH> 100755
--- a/lib/ansiblereview/__main__.py
+++ b/lib/ansiblereview/__main__.py
@@ -94,5 +94,5 @@ def main():
info("Reviewing all of %s" % candidate, options)
errors = errors + candidate.review(o... | PR: for #<I> do not warn for not classified files (#<I>) | willthames_ansible-review | train | py |
4283706c45bd8eab27a7e926b2a7c5249d070bbf | diff --git a/great_expectations/render/renderer/site_builder.py b/great_expectations/render/renderer/site_builder.py
index <HASH>..<HASH> 100644
--- a/great_expectations/render/renderer/site_builder.py
+++ b/great_expectations/render/renderer/site_builder.py
@@ -62,7 +62,7 @@ class SiteBuilder(object):
... | fix a description that may be misleading (#<I>) | great-expectations_great_expectations | train | py |
903904d33bbcf613cbb1abf746342dac7bbf3038 | diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,12 +1,15 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '... | Require all files in spec/support | mailman_mailman | train | rb |
17562c85ee175f4206e77684456ee92e81112e31 | diff --git a/django_x509/base/admin.py b/django_x509/base/admin.py
index <HASH>..<HASH> 100644
--- a/django_x509/base/admin.py
+++ b/django_x509/base/admin.py
@@ -99,7 +99,8 @@ class AbstractCaAdmin(BaseAdmin):
'modified']
class Media:
- js = ('django-x509/js/x509-admin.js',)
+ js = ... | [bug] Fix JavaScript error on django <I> #<I>
This commit fixes JS error on django <I>. Changes:
- added pointer to `jquery.init.js` in admin.py `Media` classes according to django <I> release notes
Fixes #<I> | openwisp_django-x509 | train | py |
98fc2e0cdd396a063d23c5af8419726439b03e76 | diff --git a/src/Util.php b/src/Util.php
index <HASH>..<HASH> 100644
--- a/src/Util.php
+++ b/src/Util.php
@@ -384,21 +384,6 @@ final class Util
if ($length < 1) {
return '';
}
-
- /**
- * @var array<int, int>
- */
- $leftInt = self::stringToIntArray($left);
... | XORing two strings together need not be explicitly written out. | paragonie_halite | train | php |
f0fb96fd02a222c747e60ce7b82a08f7fa0c18a0 | diff --git a/alot/errors.py b/alot/errors.py
index <HASH>..<HASH> 100644
--- a/alot/errors.py
+++ b/alot/errors.py
@@ -3,7 +3,7 @@
# For further details see the COPYING file
-class GPGCode:
+class GPGCode(object):
AMBIGUOUS_NAME = 1
NOT_FOUND = 2
BAD_PASSPHRASE = 3 | Turn alot.errors.GPGCode into a new style class | pazz_alot | train | py |
65969012c23292fa8a85cf86ff6fce00e3a6f0b3 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100755
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -85,12 +85,13 @@ module.exports = function(grunt){
],
},
dist: {
- files: "scss/*.scss",
+ files: "flexout.scss",
tasks: ["sass", "autoprefixer", "cssmin"]
},
docs: {
files:... | fix sass file watcher | arisunarya_flexout | train | js |
a659ab90cc06a9a78852bfdf79f0892edf1e2da3 | diff --git a/onnx/test/schema_test.py b/onnx/test/schema_test.py
index <HASH>..<HASH> 100644
--- a/onnx/test/schema_test.py
+++ b/onnx/test/schema_test.py
@@ -5,10 +5,10 @@ from onnx import defs, AttributeProto
class TestSchema(unittest.TestCase):
- def test_get_schema(self):
+ def test_get_schema(self): # ... | Add type hints to schema_test.py (#<I>) | onnx_onnx | train | py |
660043043d8d3400fa7c83596c77edad77eccaba | diff --git a/rest_framework_gis/serializers.py b/rest_framework_gis/serializers.py
index <HASH>..<HASH> 100644
--- a/rest_framework_gis/serializers.py
+++ b/rest_framework_gis/serializers.py
@@ -49,7 +49,7 @@ class GeoFeatureModelSerializer(GeoModelSerializer):
# if 'fields' are declared, make sure it incl... | allow for list or tuple of field names | djangonauts_django-rest-framework-gis | train | py |
325f4b6b6ff929c9d3a08fc2d717720ec611459c | diff --git a/core/model/ErrorPage.php b/core/model/ErrorPage.php
index <HASH>..<HASH> 100755
--- a/core/model/ErrorPage.php
+++ b/core/model/ErrorPage.php
@@ -58,7 +58,8 @@ class ErrorPage extends Page {
function requireDefaultRecords() {
parent::requireDefaultRecords();
- if(!DataObject::get_one('ErrorPage', "... | BUGFIX Ensure that before creating default <I> error page, we don't have one already that exists with a record ID (from r<I>)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@<I> <I>b<I>ca-7a2a-<I>-9d3b-<I>d<I>a<I>a9 | silverstripe_silverstripe-framework | train | php |
28e9c6ce4967af30fc6d36e95b743e973f5c2b72 | diff --git a/lib/partition.js b/lib/partition.js
index <HASH>..<HASH> 100644
--- a/lib/partition.js
+++ b/lib/partition.js
@@ -23,8 +23,8 @@ Partition.prototype = {
constructor: Partition,
__OOB: function( lba ) {
- return lba <= this.firstLBA ||
- lba >= this.lastLBA
+ return lba < this.firstLBA |... | Updated lib/partition: Fixed error in .__OOB()
Less/more than or equal should've just been less/more than.
No equal. NO EQUAL. | jhermsmeier_node-blockdevice | train | js |
e23421b1b7f50f14b9b364df9d7638060d1effd2 | diff --git a/src/Helpers/MenuBuilder.php b/src/Helpers/MenuBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Helpers/MenuBuilder.php
+++ b/src/Helpers/MenuBuilder.php
@@ -133,7 +133,7 @@ class MenuBuilder
$path = ltrim(rtrim($item['path'], '/'), '/');
// Pre-set our link in case the match() throws a... | Don't assume root URL is '/' | bolt_bolt | train | php |
b4600d012decc88568893d58e6dbd4296472dfe5 | diff --git a/vocabs/fpad/index.js b/vocabs/fpad/index.js
index <HASH>..<HASH> 100644
--- a/vocabs/fpad/index.js
+++ b/vocabs/fpad/index.js
@@ -528,7 +528,7 @@ register('corrective_action', {
description: 'corrective_action is the corrective action details associated with '+
'a particular control poin... | corrective actions should have their own files array | OADA_oada-formats | train | js |
4b72e880e5945d4300ed527db040676842cf8793 | diff --git a/jspdf.js b/jspdf.js
index <HASH>..<HASH> 100644
--- a/jspdf.js
+++ b/jspdf.js
@@ -933,14 +933,17 @@ PubSub implementation
@name output
*/
output = function (type, options) {
- var undef, isThisSafari, data, length, array, i, blob;
+ var u... | jspdf.js :
No more asking about Safari or Opera | MrRio_jsPDF | train | js |
c40daa04a3076591a4c69bf62152eb767125b217 | diff --git a/webapps/ui/cockpit/plugins/base/app/views/processInstance/incidentsTab.js b/webapps/ui/cockpit/plugins/base/app/views/processInstance/incidentsTab.js
index <HASH>..<HASH> 100644
--- a/webapps/ui/cockpit/plugins/base/app/views/processInstance/incidentsTab.js
+++ b/webapps/ui/cockpit/plugins/base/app/views/p... | fix(incident tab): remove unused template
Related to: #CAM-<I> | camunda_camunda-bpm-platform | train | js |
0b986bd0444725610e87f17e9c5dc2fde8cbdeb3 | diff --git a/cmd/minikube/cmd/start.go b/cmd/minikube/cmd/start.go
index <HASH>..<HASH> 100644
--- a/cmd/minikube/cmd/start.go
+++ b/cmd/minikube/cmd/start.go
@@ -688,6 +688,12 @@ func generateCfgFromFlags(cmd *cobra.Command, k8sVersion string) (cfg.Config, er
// convert https_proxy to HTTPS_PROXY for linux
... | don't pass http_proxy to dockerEnv if it's poiting to localhost | kubernetes_minikube | train | go |
fe82b0dcaf9fa3e750b5ffcadc1cf5089d3fa536 | diff --git a/lib/reqres_rspec/version.rb b/lib/reqres_rspec/version.rb
index <HASH>..<HASH> 100644
--- a/lib/reqres_rspec/version.rb
+++ b/lib/reqres_rspec/version.rb
@@ -1,3 +1,3 @@
module ReqresRspec
- VERSION = '0.0.21'
+ VERSION = '0.0.22'
end | upd version to <I> | reqres-api_reqres_rspec | train | rb |
b1c10710be302364b2b7e45a1a0d75b83814d5d6 | diff --git a/app/models/renalware/ukrdc/incoming/file_list.rb b/app/models/renalware/ukrdc/incoming/file_list.rb
index <HASH>..<HASH> 100644
--- a/app/models/renalware/ukrdc/incoming/file_list.rb
+++ b/app/models/renalware/ukrdc/incoming/file_list.rb
@@ -6,7 +6,7 @@ module Renalware
module UKRDC
module Incoming... | Only import UKRDC xml files starting with 'survey' | airslie_renalware-core | train | rb |
d57f45db7cdc30556c5d62aca8bcc90dd6086bb1 | diff --git a/src/main/java/org/hibernate/cache/infinispan/util/Caches.java b/src/main/java/org/hibernate/cache/infinispan/util/Caches.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/hibernate/cache/infinispan/util/Caches.java
+++ b/src/main/java/org/hibernate/cache/infinispan/util/Caches.java
@@ -319,6 +319,11... | HHH-<I> - Fix problem with incomplete Iterator impl | infinispan_infinispan | train | java |
03f40c2ae0dca564fcf67995aa05d61b8335fb37 | diff --git a/state/api/serve.go b/state/api/serve.go
index <HASH>..<HASH> 100644
--- a/state/api/serve.go
+++ b/state/api/serve.go
@@ -65,7 +65,6 @@ func (srv *Server) run(lis net.Listener) {
srv.wg.Done()
}()
handler := websocket.Handler(func(conn *websocket.Conn) {
- defer conn.Close()
srv.wg.Add(1)
def... | state/api: wait for readRequsts to quit | juju_juju | train | go |
3d3fec83884a643cf2a848556aba036e13d5ed74 | diff --git a/src/main/lombok/ast/ListAccessor.java b/src/main/lombok/ast/ListAccessor.java
index <HASH>..<HASH> 100644
--- a/src/main/lombok/ast/ListAccessor.java
+++ b/src/main/lombok/ast/ListAccessor.java
@@ -277,7 +277,7 @@ class ListAccessor<T extends Node, P extends Node> {
}
@Override public T get(int i... | Bugfix: StrictListAccessor's get method was broken and always returned entry 0. | rzwitserloot_lombok.ast | train | java |
baa742c1abf51e7c3888ff4544e885041e3b7412 | diff --git a/client/my-sites/stats/annual-site-stats/index.js b/client/my-sites/stats/annual-site-stats/index.js
index <HASH>..<HASH> 100644
--- a/client/my-sites/stats/annual-site-stats/index.js
+++ b/client/my-sites/stats/annual-site-stats/index.js
@@ -188,7 +188,7 @@ class AnnualSiteStats extends Component {
{... | Fix for errant "0" character when viewing a site with no annual stats. (#<I>) | Automattic_wp-calypso | train | js |
4be7a0b21219694c0e865fee3443a57f363ac51d | diff --git a/src/components/SingleValue.js b/src/components/SingleValue.js
index <HASH>..<HASH> 100644
--- a/src/components/SingleValue.js
+++ b/src/components/SingleValue.js
@@ -23,7 +23,7 @@ export const css = ({ isDisabled }: State) => ({
color: isDisabled ? colors.neutral40 : colors.text,
marginLeft: spacing.... | fix for overflowing long values in SingleValue and ValueContainer | JedWatson_react-select | train | js,js |
54b0f8b224c2efaea8844ba684290d279893b1fb | diff --git a/package-scripts.js b/package-scripts.js
index <HASH>..<HASH> 100644
--- a/package-scripts.js
+++ b/package-scripts.js
@@ -1,8 +1,8 @@
-/* eslint prefer-template:"off" */ // this file runs in node 0.10.0
-const nodeVersion = Number(process.version.match(/^v(\d+\.\d+)/)[1])
-const validate = ['lint', 'build'... | fix(scripts): validate needs reassignment | kentcdodds_nps | train | js |
212046e1c439a7f0c660999b9fbabe7e7a93294a | diff --git a/lib/active_scaffold/actions/core.rb b/lib/active_scaffold/actions/core.rb
index <HASH>..<HASH> 100644
--- a/lib/active_scaffold/actions/core.rb
+++ b/lib/active_scaffold/actions/core.rb
@@ -2,6 +2,7 @@ module ActiveScaffold::Actions
module Core
def self.included(base)
base.class_eval do
+ ... | avoid browser mixes html and xhr cache for listing requests, using vary header | activescaffold_active_scaffold | train | rb |
0c662bb33dfb49236ca4c68b81d426d8948da224 | diff --git a/config/__init__.py b/config/__init__.py
index <HASH>..<HASH> 100644
--- a/config/__init__.py
+++ b/config/__init__.py
@@ -12,7 +12,22 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+import os
from .config_exception import ConfigException
from... | Adding load_config wrapper method to have a more generic way of initializing the client config | kubernetes-client_python | train | py |
ec6dfe9a8dd8c7341247312b31e5b698817a80cb | diff --git a/src/Console/UseCommand.php b/src/Console/UseCommand.php
index <HASH>..<HASH> 100644
--- a/src/Console/UseCommand.php
+++ b/src/Console/UseCommand.php
@@ -11,11 +11,13 @@ class UseCommand extends Command
private $elixirFiles = [
'gulpfile.js',
'package.json',
+ 'package-lock.js... | Remove package-lock.json when switching build tools | tightenco_jigsaw | train | php |
fa41a321183cd69653ec02e8963e72817bed9ba8 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -55,7 +55,7 @@ function getTarget (abi, runtime) {
.map(function (t) {
return t.target
})
- if (match) return match[0]
+ if (match.length) return match[0]
throw new Error('Could not detect target for ab... | fix case where there is no electron match | lgeiger_node-abi | train | js,js |
463ac282e035a029f6bb90be8a44091042158264 | diff --git a/examples/ROOT/inspect_tree.py b/examples/ROOT/inspect_tree.py
index <HASH>..<HASH> 100755
--- a/examples/ROOT/inspect_tree.py
+++ b/examples/ROOT/inspect_tree.py
@@ -42,7 +42,7 @@ for leaf in tree.GetListOfLeaves():
row = [ ]
row.append(leaf.GetName())
row.append(leaf.GetTypeName())
- row... | update examples/ROOT/inspect_tree.py | alphatwirl_alphatwirl | train | py |
76630bd02e7f3d5cc1f12d56b12e0f35b9beca56 | diff --git a/lib/walker.js b/lib/walker.js
index <HASH>..<HASH> 100644
--- a/lib/walker.js
+++ b/lib/walker.js
@@ -857,7 +857,6 @@
this.atomize = atomize;
this.ignore.push(atomize);
}
- this.ignore.push('this');
}
ProxyInjector.prototype = { | It is not correct to always ignore 'this' in a txn - the txn function could have been bound to non-global 'this' and thus 'this' can be useful. | atomizejs_atomize-client | train | js |
5c80a623233db0412ff1994b4f0535163a974f26 | diff --git a/lib/plugins/tar.js b/lib/plugins/tar.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/tar.js
+++ b/lib/plugins/tar.js
@@ -76,7 +76,11 @@ Tar.prototype.finalize = function() {
};
Tar.prototype.on = function() {
- return this.engine.on.apply(this.engine, arguments);
+ if (this.compressor) {
+ return... | tar: when using compressor, make sure event listener gets hooked to the proper stream. | archiverjs_node-archiver | train | js |
ede0ab8d80a5d77429687a03fb2c61078306a053 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -246,7 +246,7 @@ class CrawlKit {
let timeoutHandler;
const runnerId = next.value[0];
const runner = next.value[1];
- ... | fix: companionfiles was always an empty array | crawlkit_crawlkit | train | js |
014ba4d6eee173db25c8a541ccd888fa8b44ce16 | diff --git a/loader/src/main/java/lucee/loader/engine/CFMLEngineFactory.java b/loader/src/main/java/lucee/loader/engine/CFMLEngineFactory.java
index <HASH>..<HASH> 100755
--- a/loader/src/main/java/lucee/loader/engine/CFMLEngineFactory.java
+++ b/loader/src/main/java/lucee/loader/engine/CFMLEngineFactory.java
@@ -683,7... | improve performance for looking for bundled bundles | lucee_Lucee | train | java |
83f54ae42083d6cbbfbc7928fdbb9ac73fbf41a5 | diff --git a/src/Exscript/protocols/SSH2.py b/src/Exscript/protocols/SSH2.py
index <HASH>..<HASH> 100644
--- a/src/Exscript/protocols/SSH2.py
+++ b/src/Exscript/protocols/SSH2.py
@@ -306,7 +306,7 @@ class SSH2(Protocol):
data = self.shell.recv(200)
if not data:
return False
- self.... | exscript: Fixed bug: Removed newlines in buffer and printed out without. | knipknap_exscript | train | py |
5c3c4adbcdce9fc7aafcbde4ff7a6f54784880aa | diff --git a/src/deep-resource/lib/Resource/Exception/SourceNotAvailableException.js b/src/deep-resource/lib/Resource/Exception/SourceNotAvailableException.js
index <HASH>..<HASH> 100644
--- a/src/deep-resource/lib/Resource/Exception/SourceNotAvailableException.js
+++ b/src/deep-resource/lib/Resource/Exception/SourceNo... | Fix validation bootstrap and implement request source validation | MitocGroup_deep-framework | train | js |
e1a778a4c1986eceb957417c2c2278624402ea77 | diff --git a/UrlLinker.php b/UrlLinker.php
index <HASH>..<HASH> 100644
--- a/UrlLinker.php
+++ b/UrlLinker.php
@@ -14,7 +14,7 @@
* Regular expression bits used by htmlEscapeAndLinkUrls() to match URLs.
*/
$rexProtocol = '(https?://)?';
-$rexDomain = '(?:[-a-zA-Z0-9]{1,63}\.)+[-a-zA-Z0-9]{2,63}';
+$rexDoma... | UrlLinker: : Don't match TLDs that start with a digit. | youthweb_urllinker | train | php |
9c0391d5e9486bf57d4ee0383fb6459571a9605b | diff --git a/lib/jsonapi/active_relation_resource_finder/join_tree.rb b/lib/jsonapi/active_relation_resource_finder/join_tree.rb
index <HASH>..<HASH> 100644
--- a/lib/jsonapi/active_relation_resource_finder/join_tree.rb
+++ b/lib/jsonapi/active_relation_resource_finder/join_tree.rb
@@ -83,7 +83,12 @@ module JSONAPI
... | Clarify logic for processing polymorphic path segments with resource type | cerebris_jsonapi-resources | train | rb |
339e01e20a0a54cc09ff5e35a5a3bbb36002d258 | diff --git a/LiSE/LiSE/thing.py b/LiSE/LiSE/thing.py
index <HASH>..<HASH> 100644
--- a/LiSE/LiSE/thing.py
+++ b/LiSE/LiSE/thing.py
@@ -56,12 +56,9 @@ class Thing(Node):
return self.name
def _getloc(self):
- ret = self.engine._things_cache._base_retrieve(
- (self.character.name, self.na... | Handle errors in Thing._getloc
By letting ThingsCache.retrieve do it. | LogicalDash_LiSE | train | py |
662e4541a0066de4151b9f95111e9e162cca7ce6 | diff --git a/openquake/engine/calculators/hazard/general.py b/openquake/engine/calculators/hazard/general.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/calculators/hazard/general.py
+++ b/openquake/engine/calculators/hazard/general.py
@@ -220,12 +220,16 @@ class BaseHazardCalculator(base.Calculator):
... | Logged the total number of sources
Former-commit-id: <I>a2cf<I>b<I>f<I>f7c<I>d<I>a<I>a9f<I> | gem_oq-engine | train | py |
d0ab10917d8414419c69c91e3843080d8d4ca44a | diff --git a/mockserver-netty/src/main/java/org/mockserver/dashboard/DashboardWebSocketHandler.java b/mockserver-netty/src/main/java/org/mockserver/dashboard/DashboardWebSocketHandler.java
index <HASH>..<HASH> 100644
--- a/mockserver-netty/src/main/java/org/mockserver/dashboard/DashboardWebSocketHandler.java
+++ b/mock... | further improved dashboard processing of log when no request is present on the expectation | jamesdbloom_mockserver | train | java |
39bc023caf29ea555339e1f41f4328f14c9b04a9 | diff --git a/libnetwork/drivers/overlay/ov_network.go b/libnetwork/drivers/overlay/ov_network.go
index <HASH>..<HASH> 100644
--- a/libnetwork/drivers/overlay/ov_network.go
+++ b/libnetwork/drivers/overlay/ov_network.go
@@ -403,9 +403,10 @@ func (n *network) watchMiss(nlSock *nl.NetlinkSocket) {
continue
}
- ... | Correct the check in l3 miss handling in overlay driver | moby_moby | train | go |
c1949cf2d26acc13864db3b6667f743f8f1ce09e | diff --git a/docs/tag-defs/index.js b/docs/tag-defs/index.js
index <HASH>..<HASH> 100644
--- a/docs/tag-defs/index.js
+++ b/docs/tag-defs/index.js
@@ -1,14 +1,8 @@
module.exports = [
{
- name: 'order',
- defaultFn: function(doc) {
- return doc.name;
- }
+ name: 'order'
},
{
- name: 'paramT... | docs(): make paramType not accidentally be marked | angular_material | train | js |
3243bcce37dd0751ae42834f6a92dd354e391bb8 | diff --git a/passpie/crypt.py b/passpie/crypt.py
index <HASH>..<HASH> 100644
--- a/passpie/crypt.py
+++ b/passpie/crypt.py
@@ -1,3 +1,4 @@
+from __future__ import unicode_literals
import errno
import os
import shutil
diff --git a/tests/test_crypt.py b/tests/test_crypt.py
index <HASH>..<HASH> 100644
--- a/tests/test_... | Fix unicode character on passphrases when generating keys. Fixes #<I> | marcwebbie_passpie | train | py,py |
f1d2c4fbbe9124a3c2d7dcc20250f836c114af30 | diff --git a/plugins/CoreVue/Commands/Build.php b/plugins/CoreVue/Commands/Build.php
index <HASH>..<HASH> 100644
--- a/plugins/CoreVue/Commands/Build.php
+++ b/plugins/CoreVue/Commands/Build.php
@@ -153,6 +153,9 @@ class Build extends ConsoleCommand
if ($this->isTypeScriptRaceConditionInOutput($plugin,... | fix retry loop in vue:build command (#<I>) | matomo-org_matomo | train | php |
9bb9d446b5b89fc93e1681c59ceaee997f135c51 | diff --git a/cli/src/main/java/hudson/cli/FullDuplexHttpStream.java b/cli/src/main/java/hudson/cli/FullDuplexHttpStream.java
index <HASH>..<HASH> 100644
--- a/cli/src/main/java/hudson/cli/FullDuplexHttpStream.java
+++ b/cli/src/main/java/hudson/cli/FullDuplexHttpStream.java
@@ -115,8 +115,9 @@ public class FullDuplexHt... | More efficient to contact crumbIssuer just once and get both name and value. | jenkinsci_jenkins | train | java |
b597588c6a3227867790871012a123d89526236c | diff --git a/src/GDS/Gateway/GoogleAPIClient.php b/src/GDS/Gateway/GoogleAPIClient.php
index <HASH>..<HASH> 100644
--- a/src/GDS/Gateway/GoogleAPIClient.php
+++ b/src/GDS/Gateway/GoogleAPIClient.php
@@ -76,6 +76,24 @@ class GoogleAPIClient extends \GDS\Gateway
}
/**
+ * Create a configured Google Client... | Method for creating Google_Client objects from the dev console JSON config files | tomwalder_php-gds | train | php |
cf19c176f67260996245089a0d555c3d32ab18c9 | diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfigurationTests.java
index <HASH>..<... | Adapt test to change in Spring Framework snapshots | spring-projects_spring-boot | train | java |
47a36d75d9840b571fca2008647f8c21deb213f1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,6 +7,7 @@ try:
except ImportError:
on_rtd = True
numpy = None
+ build_ext = None
import os | trying to make rtd-working | timothydmorton_VESPA | train | py |
a0010f5cd41e32e30bc3a903d04fd5a841597480 | diff --git a/lib/plugins/muc.js b/lib/plugins/muc.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/muc.js
+++ b/lib/plugins/muc.js
@@ -16,7 +16,8 @@ module.exports = function (client) {
room: msg.from,
reason: msg.muc.invite.reason,
password: msg.muc.passwo... | Add invite type to MUC invite events | legastero_stanza.io | train | js |
70a4a5654f32ee4bec09c603624da3c0279fb92e | diff --git a/lib/remi/job.rb b/lib/remi/job.rb
index <HASH>..<HASH> 100644
--- a/lib/remi/job.rb
+++ b/lib/remi/job.rb
@@ -13,7 +13,7 @@ module Remi
def define_source(name, type_class, **options)
@sources ||= []
- @sources << name
+ @sources << name unless @sources.include? name
... | FIX - Prevents the list of sources and targets for a job from duplicating
This would happen when the class file is loaded multiple times in a session. | inside-track_remi | train | rb |
49ff649fe907543028d737b95b0e5f5ed767a071 | diff --git a/canmatrix/importsym.py b/canmatrix/importsym.py
index <HASH>..<HASH> 100644
--- a/canmatrix/importsym.py
+++ b/canmatrix/importsym.py
@@ -129,10 +129,16 @@ def importSym(filename, **options):
line = line.replace(' ', ' "" ')
tempArray = shlex.split(line.strip())
... | Error out on unknown variable type | ebroecker_canmatrix | train | py |
e73a09f30530c06b26ee88d802e012e03aafbada | diff --git a/mock_django/query.py b/mock_django/query.py
index <HASH>..<HASH> 100644
--- a/mock_django/query.py
+++ b/mock_django/query.py
@@ -76,6 +76,7 @@ def QuerySetMock(model, *return_value):
m.__getitem__.side_effect = make_getitem(m)
m.model = model
m.get = make_get(m, actual_model)
+ m.exists.... | Simple hack for making exists work as expected | dcramer_mock-django | train | py |
5f1b30e6e9dd8f1aea11c8c6fddc565a74dbcb2c | diff --git a/bugsy/bug.py b/bugsy/bug.py
index <HASH>..<HASH> 100644
--- a/bugsy/bug.py
+++ b/bugsy/bug.py
@@ -189,7 +189,7 @@ class Bug(object):
if key not in self._copy or self._bug[key] != self._copy[key]:
changed[key] = self._bug[key]
elif key == 'flags':
- ... | Raw compare as flag order shouldn't change | AutomatedTester_Bugsy | train | py |
3716fc567d3b54d08f02c4935f4aa99e1e816299 | diff --git a/java/server/src/org/openqa/grid/internal/utils/SelfRegisteringRemote.java b/java/server/src/org/openqa/grid/internal/utils/SelfRegisteringRemote.java
index <HASH>..<HASH> 100644
--- a/java/server/src/org/openqa/grid/internal/utils/SelfRegisteringRemote.java
+++ b/java/server/src/org/openqa/grid/internal/ut... | handle when register is null, don't throw NPE, default to false
Fixes #<I> | SeleniumHQ_selenium | train | java |
7a0fbd0eb14f865753c5918fe73ecc4d24cfe503 | diff --git a/public/js/gogs.js b/public/js/gogs.js
index <HASH>..<HASH> 100644
--- a/public/js/gogs.js
+++ b/public/js/gogs.js
@@ -719,7 +719,7 @@ function initEditor() {
var val = $editFilename.val(), m, mode, spec, extension, extWithDot, previewLink, dataUrl, apiCall;
extension = extWithDot = "";
... | public: makes CodeMirror mode by filename lookups case-insensitive (#<I>)
* updated the highlight.js plugin
* added some explicit mappings for syntax highlighting
* public: makes CodeMirror mode by filename extension lookup case-insensitive | gogs_gogs | train | js |
8be3b585fdbbf34fd9cedc003114f1db74bcc9a5 | diff --git a/interp/interp_test.go b/interp/interp_test.go
index <HASH>..<HASH> 100644
--- a/interp/interp_test.go
+++ b/interp/interp_test.go
@@ -893,6 +893,9 @@ var fileCases = []struct {
"char\n",
},
{"[[ -t 1234 ]]", "exit status 1"}, // TODO: reliable way to test a positive?
+ {"[[ -o wrong ]]", "exit statu... | interp: implement test's -o
For the options we currently support, at least. | mvdan_sh | train | go,go |
84179da6b6e300bbea2fbad9d9bb3560cfda1292 | diff --git a/cluster/kubernetes/resourcekinds.go b/cluster/kubernetes/resourcekinds.go
index <HASH>..<HASH> 100644
--- a/cluster/kubernetes/resourcekinds.go
+++ b/cluster/kubernetes/resourcekinds.go
@@ -66,6 +66,15 @@ func (pc podController) toClusterController(resourceID flux.ResourceID) cluster.
}
clusterContai... | Include initContainers in containers considered | weaveworks_flux | train | go |
41d81b5c9ee6e97f8544874d03a3fd70447f32b9 | diff --git a/src/Content/CTextFilter.php b/src/Content/CTextFilter.php
index <HASH>..<HASH> 100644
--- a/src/Content/CTextFilter.php
+++ b/src/Content/CTextFilter.php
@@ -158,19 +158,19 @@ class CTextFilter
switch ($matches[1]) {
case 'FIGURE':
- return CTe... | Fixed additional case-insenitive problems | mosbth_Anax-MVC | train | php |
e65648398bc4522454dde7453c662bf2c3a7119a | diff --git a/gns3server/server.py b/gns3server/server.py
index <HASH>..<HASH> 100644
--- a/gns3server/server.py
+++ b/gns3server/server.py
@@ -106,7 +106,7 @@ class Server:
def _signal_handling(self):
- def signal_handler(signame):
+ def signal_handler(signame, *args):
log.warning("S... | Catch extra args in windows signal handler | GNS3_gns3-server | train | py |
38724f8319a15fc5e5259164c2b32b48de347d99 | diff --git a/src/Illuminate/Contracts/Validation/Validator.php b/src/Illuminate/Contracts/Validation/Validator.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Contracts/Validation/Validator.php
+++ b/src/Illuminate/Contracts/Validation/Validator.php
@@ -41,7 +41,7 @@ interface Validator extends MessageProvider
... | [<I>] Fixing the doc comments (#<I>)
Fixing the `@return` type for the `Illuminate\Contracts\Validation@errors()` method. | laravel_framework | train | php |
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.