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 |
|---|---|---|---|---|---|
561542f0682ce88ec518f1a7ceca24395b6c7066 | diff --git a/flight/Flight.php b/flight/Flight.php
index <HASH>..<HASH> 100644
--- a/flight/Flight.php
+++ b/flight/Flight.php
@@ -38,12 +38,10 @@
* @method static void render($file, array $data = null, $key = null) Renders a template file.
* @method static flight\template\View view() Returns View instance.
*
-... | Redirects > Request & Response | mikecao_flight | train | php |
eeccf0911a0ae696971069fd75b5e6a18077162c | diff --git a/state/apiserver/common/addresses.go b/state/apiserver/common/addresses.go
index <HASH>..<HASH> 100644
--- a/state/apiserver/common/addresses.go
+++ b/state/apiserver/common/addresses.go
@@ -6,8 +6,6 @@ package common
import (
"launchpad.net/loggo"
- "launchpad.net/juju-core/state"
- "launchpad.net/juj... | we don't need the imports, either | juju_juju | train | go |
cb3f9e039bd45e060c43e56e9deccee9a58edfce | diff --git a/src/Intahwebz/Jig/JigBase.php b/src/Intahwebz/Jig/JigBase.php
index <HASH>..<HASH> 100644
--- a/src/Intahwebz/Jig/JigBase.php
+++ b/src/Intahwebz/Jig/JigBase.php
@@ -24,10 +24,16 @@ abstract class JigBase {
function __construct(ViewModel $viewModel, $jigRender){
$this->viewModel = $viewModel;... | Added init function to allow overriding. | Danack_Jig | train | php,php |
873481999a1da3dcea02f9f5c485da6688074c2d | diff --git a/WordPress/Sniffs/VIP/ValidatedSanitizedInputSniff.php b/WordPress/Sniffs/VIP/ValidatedSanitizedInputSniff.php
index <HASH>..<HASH> 100644
--- a/WordPress/Sniffs/VIP/ValidatedSanitizedInputSniff.php
+++ b/WordPress/Sniffs/VIP/ValidatedSanitizedInputSniff.php
@@ -91,9 +91,7 @@ class WordPress_Sniffs_VIP_Vali... | Replace closure with create_function() for <I> support | WordPress-Coding-Standards_WordPress-Coding-Standards | train | php |
f5a63a0a8853e76b4ef270bcdddec873d6953ece | diff --git a/mappings/document.js b/mappings/document.js
index <HASH>..<HASH> 100644
--- a/mappings/document.js
+++ b/mappings/document.js
@@ -186,9 +186,6 @@ var schema = {
_source: {
excludes : ['shape','phrase']
},
- _all: {
- enabled: false
- },
dynamic: 'strict'
};
diff --git a/test/document.... | feat(es7): remove _all mapping
The `_all` field was deprecated in Elasticsearch 6 and completely
removed in [Elasticsearch
7](<URL> | pelias_schema | train | js,js,json |
a0d3f9452a246f4826157991647b6df30a03a806 | diff --git a/workflows/frontend/__init__.py b/workflows/frontend/__init__.py
index <HASH>..<HASH> 100644
--- a/workflows/frontend/__init__.py
+++ b/workflows/frontend/__init__.py
@@ -231,7 +231,11 @@ class Frontend():
if self._pipe_commands:
self._pipe_commands.send(command)
else:
- self.log.error... | Ignore errors occurring during message forward due to closed connection when service is in shutdown | DiamondLightSource_python-workflows | train | py |
2e0391ea84ba02b6a8462209f55019f07d01bdd4 | diff --git a/cmd/swarm/config.go b/cmd/swarm/config.go
index <HASH>..<HASH> 100644
--- a/cmd/swarm/config.go
+++ b/cmd/swarm/config.go
@@ -38,7 +38,7 @@ import (
bzzapi "github.com/ethereum/go-ethereum/swarm/api"
)
-const SWARM_VERSION = "0.3"
+const SWARM_VERSION = "0.3.1-unstable"
var (
//flag definition fo... | cmd/swarm: change version of swarm binary (#<I>) | ethereum_go-ethereum | train | go |
696432d53b373e80ead783a3bf4c4f3fdfdb7d26 | diff --git a/lib/core/staticFile.js b/lib/core/staticFile.js
index <HASH>..<HASH> 100644
--- a/lib/core/staticFile.js
+++ b/lib/core/staticFile.js
@@ -1,8 +1,5 @@
-var mime = require('mime');
-
// TODO: support Range requests
-
module.exports = function handle_staticFile() {
if (this.allowMethod(['GET', 'HEAD'])... | [cleanup] mime require in staticFile | AndreasMadsen_piccolo | train | js |
3099b814969f0abf23f93008fb7260e134d9f7d2 | diff --git a/includes/os/class.WINNT.inc.php b/includes/os/class.WINNT.inc.php
index <HASH>..<HASH> 100644
--- a/includes/os/class.WINNT.inc.php
+++ b/includes/os/class.WINNT.inc.php
@@ -1345,15 +1345,15 @@ class WINNT extends OS
$this->_loadavg();
$this->_processes();
}
- if (... | Update class.WINNT.inc.php | phpsysinfo_phpsysinfo | train | php |
020e23e8053313cdc1c565c433d7dff9827772f7 | diff --git a/capidup/tests/test_round_up.py b/capidup/tests/test_round_up.py
index <HASH>..<HASH> 100644
--- a/capidup/tests/test_round_up.py
+++ b/capidup/tests/test_round_up.py
@@ -42,21 +42,16 @@ known_values = [
# list of (n, n, n) tuples, with length RANDOM_REPEATS
_random_same = [
- (_n, _n, _n)
- for _... | Simplify test data generation in test_round_up. | israel-lugo_capidup | train | py |
3f2a95f5dc37e311ead2c538237106c9391d6a27 | diff --git a/hazelcast-client/src/test/java/com/hazelcast/client/ClientMemberAttributeTest.java b/hazelcast-client/src/test/java/com/hazelcast/client/ClientMemberAttributeTest.java
index <HASH>..<HASH> 100644
--- a/hazelcast-client/src/test/java/com/hazelcast/client/ClientMemberAttributeTest.java
+++ b/hazelcast-client... | Lowered count to make it finish in time | hazelcast_hazelcast | train | java |
11d0cef36c05f77b4debdfe1e0d69745c2aa428a | diff --git a/klein.php b/klein.php
index <HASH>..<HASH> 100644
--- a/klein.php
+++ b/klein.php
@@ -108,7 +108,7 @@ function dispatch($uri = null, $req_method = null, array $params = null, $captur
}
$matched = 0;
- $methods_matched = null;
+ $methods_matched = array();
$apc = function_exists('apc_... | Now using more efficient array operations for "methods_matched" | klein_klein.php | train | php |
031f728beecb837aebe6255d0815fc526268e7b6 | diff --git a/spec/grape/api_spec.rb b/spec/grape/api_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/grape/api_spec.rb
+++ b/spec/grape/api_spec.rb
@@ -579,6 +579,31 @@ describe Grape::API do
last_response.body.should eql 'first second'
end
+ it 'adds a before filter to current and child namespaces only... | Test to confirm behaviour of before in namespace | ruby-grape_grape | train | rb |
364214229dc459f059974e2f3355bb8c55af9e54 | diff --git a/internal/protocol/packet_number_test.go b/internal/protocol/packet_number_test.go
index <HASH>..<HASH> 100644
--- a/internal/protocol/packet_number_test.go
+++ b/internal/protocol/packet_number_test.go
@@ -10,8 +10,8 @@ import (
// Tests taken and extended from chrome
var _ = Describe("packet number ca... | enable packet number encoding test case taken from the draft | lucas-clemente_quic-go | train | go |
e9e7f6b2341f677fbf967602bdd6810e8e556d25 | diff --git a/rapidoid-commons/src/main/java/org/rapidoid/scan/ClasspathUtil.java b/rapidoid-commons/src/main/java/org/rapidoid/scan/ClasspathUtil.java
index <HASH>..<HASH> 100644
--- a/rapidoid-commons/src/main/java/org/rapidoid/scan/ClasspathUtil.java
+++ b/rapidoid-commons/src/main/java/org/rapidoid/scan/ClasspathUti... | Preventing duplicates on classpath scan. | rapidoid_rapidoid | train | java |
b2e84d9bf6c6cbb53cece9c24e67615c802574e8 | diff --git a/niworkflows/tests/test_confounds.py b/niworkflows/tests/test_confounds.py
index <HASH>..<HASH> 100644
--- a/niworkflows/tests/test_confounds.py
+++ b/niworkflows/tests/test_confounds.py
@@ -160,6 +160,15 @@ def test_ConfoundsCorrelationPlot():
"""confounds correlation report test"""
confounds_fil... | enh(tests): improve coverage | poldracklab_niworkflows | train | py |
3378651548d4bda6a856c69719d593d902ec8b21 | diff --git a/curse.go b/curse.go
index <HASH>..<HASH> 100644
--- a/curse.go
+++ b/curse.go
@@ -19,6 +19,8 @@ type Cursor struct {
Position
StartingPosition Position
Style
+
+ terminal *term.Terminal
}
type Position struct {
@@ -38,7 +40,8 @@ func New() (*Cursor, error) {
c := &Cursor{}
c.Position.X, c.Sta... | patch to fix raw mode issues by borrowing code from kless terminal | sethgrid_curse | train | go |
7668aa556561988ff87527cc4217d92565de9cce | diff --git a/src/pythonfinder/__init__.py b/src/pythonfinder/__init__.py
index <HASH>..<HASH> 100644
--- a/src/pythonfinder/__init__.py
+++ b/src/pythonfinder/__init__.py
@@ -1,6 +1,6 @@
from __future__ import print_function, absolute_import
-__version__ = '1.1.9'
+__version__ = '1.1.10.dev0'
# Add NullHandler to... | Prebump to <I>.dev0 | sarugaku_pythonfinder | train | py |
247f7f4e2785e69e6512e9785dc8c62e43a2d5b0 | diff --git a/src/httpAdapters/SagCURLHTTPAdapter.php b/src/httpAdapters/SagCURLHTTPAdapter.php
index <HASH>..<HASH> 100644
--- a/src/httpAdapters/SagCURLHTTPAdapter.php
+++ b/src/httpAdapters/SagCURLHTTPAdapter.php
@@ -93,18 +93,7 @@ class SagCURLHTTPAdapter extends SagHTTPAdapter {
$response->body = '';
... | Removing old and broken Continue header handling code now that we prevent them. | sbisbee_sag | train | php |
b0c87d0a8b1792f0761f54ddb3967f5f06fa9bdf | diff --git a/plugin.js b/plugin.js
index <HASH>..<HASH> 100644
--- a/plugin.js
+++ b/plugin.js
@@ -40,6 +40,7 @@ const globals = new Set([
'requestAnimationFrame',
'_WORKLET',
'arguments',
+ 'Boolean',
'Map',
'Set',
'_log', | Update plugin.js (#<I>) | kmagiera_react-native-reanimated | train | js |
8103bcd7b0f29a3badedc47553800ae02318cf2c | diff --git a/sslyze/plugins/session_renegotiation_plugin.py b/sslyze/plugins/session_renegotiation_plugin.py
index <HASH>..<HASH> 100755
--- a/sslyze/plugins/session_renegotiation_plugin.py
+++ b/sslyze/plugins/session_renegotiation_plugin.py
@@ -152,12 +152,12 @@ def _test_client_renegotiation(
except socket.... | [#<I>] Make error handling language agnostic for reneg | nabla-c0d3_sslyze | train | py |
e1ce78443497b7b8795a0070621e9ba95cf7c954 | diff --git a/src/store/modules/navigation.js b/src/store/modules/navigation.js
index <HASH>..<HASH> 100644
--- a/src/store/modules/navigation.js
+++ b/src/store/modules/navigation.js
@@ -19,9 +19,14 @@ function transformViewName (view) {
}
function newIDGen (view, viewPosition) {
let ID = ''
- if (viewPosition ==... | Simplify code for TransformViewName | zircleUI_zircleUI | train | js |
60ea9ba9c174b5cd1e85042b64414b025000f8ac | diff --git a/aws/awserr/types.go b/aws/awserr/types.go
index <HASH>..<HASH> 100644
--- a/aws/awserr/types.go
+++ b/aws/awserr/types.go
@@ -94,7 +94,9 @@ func (b baseError) OrigErr() error {
// Pushes a new error to the stack
func (b *baseError) Append(err error) {
- b.errs = append(b.errs, err)
+ if err != nil {
+ ... | Append shouldn't push to the stack for errors | aws_aws-sdk-go | train | go |
15c982985575ec61252d0f94f4b8caad64755a65 | diff --git a/bbc_tracklist.py b/bbc_tracklist.py
index <HASH>..<HASH> 100755
--- a/bbc_tracklist.py
+++ b/bbc_tracklist.py
@@ -159,13 +159,13 @@ def get_output_filename(args):
Returns a filename without an extension.
"""
# if filename and path provided, use these for output text file
- if args.directo... | Change 'filename' to 'fileprefix' to be clearer about what is required; updated main script accordingly. | StevenMaude_bbc-radio-tracklisting-downloader | train | py |
359dd29e69d7efdc08bedfff887c5af72542093e | diff --git a/lib/generators/my_zipcode_gem/templates/zipcode_model.rb b/lib/generators/my_zipcode_gem/templates/zipcode_model.rb
index <HASH>..<HASH> 100644
--- a/lib/generators/my_zipcode_gem/templates/zipcode_model.rb
+++ b/lib/generators/my_zipcode_gem/templates/zipcode_model.rb
@@ -13,6 +13,7 @@ class Zipcode < Act... | fix(zipcode): Fix zipcode in Rails 4+
Close #<I> | midwire_my_zipcode_gem | train | rb |
d5c05842d6ca79b024bd1291e3952b9606be1bba | diff --git a/shamir/shamir.go b/shamir/shamir.go
index <HASH>..<HASH> 100644
--- a/shamir/shamir.go
+++ b/shamir/shamir.go
@@ -29,13 +29,11 @@ func makePolynomial(intercept, degree uint8) (polynomial, error) {
// Ensure the intercept is set
p.coefficients[0] = intercept
- // Assign random co-efficients to the pol... | Don't exclude 0 from the set of valid polynomials in Shamir. This leads to a potential (although extremely trivial) amount of information leakage. | hashicorp_vault | train | go |
3c9aed910208d3d7e2589216f9bd52054d8750f2 | diff --git a/discord/http.py b/discord/http.py
index <HASH>..<HASH> 100644
--- a/discord/http.py
+++ b/discord/http.py
@@ -409,7 +409,7 @@ class HTTPClient:
return self.request(route, form=form, files=files)
- def send_file(
+ def send_files(
self,
channel_id,
*, | Fix AttributeError on HTTPClient.send_file to be send_files | Rapptz_discord.py | train | py |
72055a0783d0df302d590b23e3b4d79b9416cf82 | diff --git a/structr-ui/src/test/java/org/structr/web/frontend/selenium/ParallelLoginTest.java b/structr-ui/src/test/java/org/structr/web/frontend/selenium/ParallelLoginTest.java
index <HASH>..<HASH> 100644
--- a/structr-ui/src/test/java/org/structr/web/frontend/selenium/ParallelLoginTest.java
+++ b/structr-ui/src/test... | Increased timeout to wait for successful login to rule out the possibility of a resource bottleneck in parallel test. | structr_structr | train | java |
d7e9afc801a8160b50d5642685c663ddd47e7822 | diff --git a/commands/command.go b/commands/command.go
index <HASH>..<HASH> 100644
--- a/commands/command.go
+++ b/commands/command.go
@@ -21,6 +21,7 @@ func (c *Command) Register(id string, sub *Command) error {
// check for duplicate option names (only checks downwards)
names := make(map[string]bool)
+ globa... | commands: Use global options when registering and calling commands | ipfs_go-ipfs | train | go |
1caddc7d414c1d7aa97ccfd4b0743532f0a4d291 | diff --git a/classes/PodsAPI.php b/classes/PodsAPI.php
index <HASH>..<HASH> 100644
--- a/classes/PodsAPI.php
+++ b/classes/PodsAPI.php
@@ -3412,7 +3412,7 @@ class PodsAPI {
foreach ( $values as $v ) {
if ( !empty( $v ) ) {
if ( !is_array( $v ) ) {
- if ( !pre... | Quick hotfix for search data lookup | pods-framework_pods | train | php |
c290bc117e069bf6f018091823fadb69bec01b43 | diff --git a/gocron.go b/gocron.go
index <HASH>..<HASH> 100644
--- a/gocron.go
+++ b/gocron.go
@@ -320,7 +320,7 @@ func (s *Scheduler) Swap(i, j int) {
}
func (s *Scheduler) Less(i, j int) bool {
- return s.jobs[j].nextRun.After(s.jobs[i].nextRun)
+ return s.jobs[j].nextRun.Second() >= s.jobs[i].nextRun.Second()
}... | This alone fixes #<I>. Now we compare only seconds instead of relying on the default time comparison method, which compares up to nanoseconds | jasonlvhit_gocron | train | go |
47cd3ee999b830cfa3993b8a4f450ccef4c16821 | diff --git a/mapping/mapping_test.go b/mapping/mapping_test.go
index <HASH>..<HASH> 100644
--- a/mapping/mapping_test.go
+++ b/mapping/mapping_test.go
@@ -1192,6 +1192,7 @@ func TestMappingArrayOfStringGeoPoints(t *testing.T) {
"points": []string {
"1.0, 2.0",
"3.0, 4.0",
+ "5.0, 6.0",
},
}
@@ -1205... | add third point to test
removes any possible confusion around slice len 2
checks in the geo parsing code | blevesearch_bleve | train | go |
439317e8da2dd3f19d596fbdf7a3509e5d66182c | diff --git a/src/main/java/org/jboss/wsf/spi/deployment/Deployment.java b/src/main/java/org/jboss/wsf/spi/deployment/Deployment.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jboss/wsf/spi/deployment/Deployment.java
+++ b/src/main/java/org/jboss/wsf/spi/deployment/Deployment.java
@@ -41,18 +41,6 @@ public int... | [JBWS-<I>] removed unintended methods | jbossws_jbossws-spi | train | java |
22ae381f188167d45157b574993bdaaf80778658 | diff --git a/dronekit/__init__.py b/dronekit/__init__.py
index <HASH>..<HASH> 100644
--- a/dronekit/__init__.py
+++ b/dronekit/__init__.py
@@ -3009,7 +3009,7 @@ class CommandSequence(object):
self._vehicle._wploader.add(cmd, comment='Added by DroneKit')
self._vehicle._wpts_dirty = True
- def uplo... | Set a timeout for uploading missions | dronekit_dronekit-python | train | py |
e917b48f332f636029cedaec6fdc01b371482150 | diff --git a/bin/index.js b/bin/index.js
index <HASH>..<HASH> 100644
--- a/bin/index.js
+++ b/bin/index.js
@@ -8,7 +8,7 @@ function printErrors(errorObj) {
for(let m of errorObj.message) {
content += m;
}
- console.log(content);
+ console.error(content);
fs.writeFileSync(cli.errorLogFile, content);
}
... | - correct exit status and error logging for cli | VolumeGraphics_license-info-printer | train | js |
f37e433546ba0ec892d34ba4287645488505a1d2 | diff --git a/openquake/commonlib/rlzs_assoc.py b/openquake/commonlib/rlzs_assoc.py
index <HASH>..<HASH> 100644
--- a/openquake/commonlib/rlzs_assoc.py
+++ b/openquake/commonlib/rlzs_assoc.py
@@ -115,9 +115,9 @@ class RlzsAssoc(object):
else: # dictionary for the selected source model
for rlz in s... | Retried simplifying get_rlzs_by_gsim | gem_oq-engine | train | py |
facbba915ed8f56310b8ee0375f7647877ab32e0 | diff --git a/src/ox_modules/module-web/commands/makeVisible.js b/src/ox_modules/module-web/commands/makeVisible.js
index <HASH>..<HASH> 100644
--- a/src/ox_modules/module-web/commands/makeVisible.js
+++ b/src/ox_modules/module-web/commands/makeVisible.js
@@ -50,10 +50,10 @@ module.exports = async function (locator) {
... | Fix setting width and height in web.makeVIsible | oxygenhq_oxygen | train | js |
025af1393d3e0bb2c9af0e94576e990cd2c3de86 | diff --git a/src/templates/valuelists/form.php b/src/templates/valuelists/form.php
index <HASH>..<HASH> 100644
--- a/src/templates/valuelists/form.php
+++ b/src/templates/valuelists/form.php
@@ -20,8 +20,8 @@
<? if (isset($valuelist)) : ?>
<? foreach ($valuelist->pairs as $key => $value) : ?>
... | Added escaping for valulist entries | jenskooij_cloudcontrol | train | php |
b7267fc7abde043f8976023b18aafe1a0f36761f | diff --git a/slumber/__init__.py b/slumber/__init__.py
index <HASH>..<HASH> 100644
--- a/slumber/__init__.py
+++ b/slumber/__init__.py
@@ -109,10 +109,12 @@ class Resource(ResourceAttributesMixin, object):
resp = self._request("GET", params=kwargs)
if 200 <= resp.status_code <= 299:
- if ... | Don't assume on the format of the serialized, use content_type | samgiles_slumber | train | py |
10e34c44d778618c8b654562b6c62eeaa69dcae8 | diff --git a/lems/model/model.py b/lems/model/model.py
index <HASH>..<HASH> 100644
--- a/lems/model/model.py
+++ b/lems/model/model.py
@@ -247,7 +247,8 @@ class Model(LEMSBase):
else:
if self.debug: print("Already included: %s"%path)
ret... | Turn Exception into debug message to give user option to ignore irrelevant includes | LEMS_pylems | train | py |
463a0e8c585579c764705df9744e62ade414e79b | diff --git a/lib/hash/tree_hash.rb b/lib/hash/tree_hash.rb
index <HASH>..<HASH> 100644
--- a/lib/hash/tree_hash.rb
+++ b/lib/hash/tree_hash.rb
@@ -157,7 +157,9 @@ class TreeHash
def move(paths)
paths.each do |from, to|
- value = find(from).first
+ values = find(from)
+ next if values.empty?
+ ... | Modified move to only create the to path if the from actually existed. | bblack16_bblib-ruby | train | rb |
6353fd0b9ec04b9303dc3980a28a49788b8be54c | diff --git a/QuickPay/api/Request.php b/QuickPay/api/Request.php
index <HASH>..<HASH> 100644
--- a/QuickPay/api/Request.php
+++ b/QuickPay/api/Request.php
@@ -157,7 +157,7 @@ class Request
// If additional data is delivered, we will send it along with the API request
if( is_array( $form ) && ! empty( $form ) )
... | Support for parameters of type object - eg POST /payments with variables.
Example:
$form = [
'currency' => 'DKK',
'order_id' => '<I>-1',
'variables' => [
'foo' => 'bar',
'more' => 'less'
]
];
$response = $client->request->post('/payments', $form); | QuickPay_quickpay-php-client | train | php |
d8f8fe29a1ae44db2df577b0de708627711d5123 | diff --git a/CodeIgniter4/Sniffs/Files/FilenameMatchesClassSniff.php b/CodeIgniter4/Sniffs/Files/FilenameMatchesClassSniff.php
index <HASH>..<HASH> 100644
--- a/CodeIgniter4/Sniffs/Files/FilenameMatchesClassSniff.php
+++ b/CodeIgniter4/Sniffs/Files/FilenameMatchesClassSniff.php
@@ -69,12 +69,11 @@ class FilenameMatches... | Fixed issue with unreachable $type variable. | codeigniter4_coding-standard | train | php |
ce01adf6c929c60ace5d4df04adc0ec6d64fb01f | diff --git a/lib/cool.io/listener.rb b/lib/cool.io/listener.rb
index <HASH>..<HASH> 100644
--- a/lib/cool.io/listener.rb
+++ b/lib/cool.io/listener.rb
@@ -59,6 +59,9 @@ module Coolio
else
def on_readable
begin
+ # In Windows, accept_nonblock() with multiple processes
+ # causes th... | Add comment for why to use accept in Windows | tarcieri_cool.io | train | rb |
ffb641e0d5b4f661014706833c9b0211f115513c | diff --git a/lib/sup/crypto.rb b/lib/sup/crypto.rb
index <HASH>..<HASH> 100644
--- a/lib/sup/crypto.rb
+++ b/lib/sup/crypto.rb
@@ -108,6 +108,9 @@ EOS
else
Chunk::CryptoNotice.new :invalid, $1, output_lines
end
+ elsif output_lines.length == 0 && rc == 0
+ # the message wasn't signed
+ ... | Stop worrying notice when no signature present
When no signature is present, there was a message saying
"Unable to determine validity of cryptographic signature".
This fix means that if there are no error messages and no
messages about signature verification then the message is
assumed to not be signed at all. This fi... | sup-heliotrope_sup | train | rb |
467e017cdb447ba0485aa063d845b9e9a86971ff | diff --git a/salt/cloud/clouds/azurearm.py b/salt/cloud/clouds/azurearm.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/azurearm.py
+++ b/salt/cloud/clouds/azurearm.py
@@ -68,7 +68,6 @@ import salt.utils.data
import salt.utils.files
import salt.utils.stringutils
import salt.utils.yaml
-from salt.utils.version... | remove unused import from azurearm driver | saltstack_salt | train | py |
c426517ac07047336167dbedfb9f0bb252a1dce7 | diff --git a/cmd/kubeadm/app/features/features.go b/cmd/kubeadm/app/features/features.go
index <HASH>..<HASH> 100644
--- a/cmd/kubeadm/app/features/features.go
+++ b/cmd/kubeadm/app/features/features.go
@@ -32,12 +32,15 @@ const (
IPv6DualStack = "IPv6DualStack"
// PublicKeysECDSA is expected to be alpha in v1.19
... | Add a feature-gate to kubeadm to enable/disable Rootless control-plane. | kubernetes_kubernetes | train | go |
8580bd151e6e9eb1592827ea0cc1ca3ba1d16068 | diff --git a/honeybadger.go b/honeybadger.go
index <HASH>..<HASH> 100644
--- a/honeybadger.go
+++ b/honeybadger.go
@@ -163,7 +163,7 @@ func NewReportWithSkipCallers(msg interface{}, skipCallers int) (r *Report, err
r = &Report{
Notifier: &Notifier{
Name: "Honeybadger (Go)",
- Url: "https://github.c... | Change notifier Url to point to Librato's fork | jcoene_honeybadger | train | go |
9a197aec4bfa23b5ca6f8617d477bc8dba502a69 | diff --git a/buckets.go b/buckets.go
index <HASH>..<HASH> 100644
--- a/buckets.go
+++ b/buckets.go
@@ -8,7 +8,7 @@ import (
"github.com/boltdb/bolt"
)
-// A buckets DB is a set of buckets.
+// A DB is a bolt database with convenience methods for working with buckets.
//
// A DB embeds the exposed bolt.DB methods... | Edit code comments to make linter happy | joyrexus_buckets | train | go,go |
91ee35d1dd0cfe4b8a2444fd31d21e527f8030ee | diff --git a/src/Writer.php b/src/Writer.php
index <HASH>..<HASH> 100644
--- a/src/Writer.php
+++ b/src/Writer.php
@@ -158,6 +158,7 @@ class Writer
$writer->setDelimiter($this->delimiter);
$writer->setEnclosure($this->enclosure);
$writer->setLineEnding($this->lineEnding);
+ ... | Fix csv.use_bom option doesn't take effect (#<I>) | Maatwebsite_Laravel-Excel | train | php |
9cb3644f1888771795b29bf1fb76bea2f80d763a | diff --git a/lime/tests/test_scikit_image.py b/lime/tests/test_scikit_image.py
index <HASH>..<HASH> 100755
--- a/lime/tests/test_scikit_image.py
+++ b/lime/tests/test_scikit_image.py
@@ -2,7 +2,7 @@ import unittest
from lime.wrappers.scikit_image import BaseWrapper
from lime.wrappers.scikit_image import SegmentationA... | changing image in test, trying to fix travis | marcotcr_lime | train | py |
dd9c0762b2683d438ab16a98d6839211babfed50 | diff --git a/lib/checkSystem.js b/lib/checkSystem.js
index <HASH>..<HASH> 100644
--- a/lib/checkSystem.js
+++ b/lib/checkSystem.js
@@ -6,9 +6,11 @@ let check = function(pathToPackage) {
const exec = require('child_process').exec;
const Promise = require('bluebird');
const _ = require('lodash');
+ cons... | started using jsonfile (fs) to get the package instead | mohlsen_check-engine | train | js |
b5e042d9d1392aec523b82585526e16ab4800fff | diff --git a/python-package/lightgbm/libpath.py b/python-package/lightgbm/libpath.py
index <HASH>..<HASH> 100644
--- a/python-package/lightgbm/libpath.py
+++ b/python-package/lightgbm/libpath.py
@@ -21,9 +21,8 @@ def find_lib_path():
os.path.join(curr_path, './lib/'),
os.path.join(sys.... | change the dll search order in windows (cmake-build first) | Microsoft_LightGBM | train | py |
a43553f3ab96237275096bc295cb113ef46c3dbc | diff --git a/go/engine/pgp_pull.go b/go/engine/pgp_pull.go
index <HASH>..<HASH> 100644
--- a/go/engine/pgp_pull.go
+++ b/go/engine/pgp_pull.go
@@ -5,9 +5,10 @@ package engine
import (
"fmt"
+ "time"
+
"github.com/keybase/client/go/libkb"
keybase1 "github.com/keybase/client/go/protocol/keybase1"
- "time"
)
... | reduce severity of gpg2 import fails during keybase pgp pull (#<I>) | keybase_client | train | go |
277f0f7f5e35ddb18aee7d939b59cd504e6db280 | diff --git a/src/misc/Animation.js b/src/misc/Animation.js
index <HASH>..<HASH> 100644
--- a/src/misc/Animation.js
+++ b/src/misc/Animation.js
@@ -191,24 +191,15 @@ Z.Util.extend(Z.animation.Player.prototype, {
this.duration = duration;
},
cancel:function() {
- if (this._animeFrameId) {
- ... | remove cancelAnimation in Animation.js | maptalks_maptalks.js | train | js |
b60348b2532ebef54815956fa243068bc72e7348 | diff --git a/transport/ws/src/main/java/org/kaazing/gateway/transport/ws/bridge/filter/WsFrameDecoder.java b/transport/ws/src/main/java/org/kaazing/gateway/transport/ws/bridge/filter/WsFrameDecoder.java
index <HASH>..<HASH> 100644
--- a/transport/ws/src/main/java/org/kaazing/gateway/transport/ws/bridge/filter/WsFrameDe... | update masking validation check according to feedback | kaazing_gateway | train | java |
950cb6a490aeeaf03243fe50de8979a79c1e4091 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -269,7 +269,7 @@ const VirtualList = Vue.component('virtual-list', {
if (dataSource) {
if (Object.prototype.hasOwnProperty.call(dataSource, dataKey)) {
slots.push(h(Item, {
- ... | Fix nextTick tigger before really render | tangbc_vue-virtual-scroll-list | train | js |
9a5f054ebb3ad84e570042727ff8343a6cdae4aa | diff --git a/src/main/java/net/bootsfaces/component/progressBar/ProgressBarRenderer.java b/src/main/java/net/bootsfaces/component/progressBar/ProgressBarRenderer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/net/bootsfaces/component/progressBar/ProgressBarRenderer.java
+++ b/src/main/java/net/bootsfaces/componen... | dont append 'null' if no style was provided | TheCoder4eu_BootsFaces-OSP | train | java |
6d8dedb6ee30583f805c0ed2342445d0bf36b544 | diff --git a/src/Valkyrja/Http/Factories/ResponseFactory.php b/src/Valkyrja/Http/Factories/ResponseFactory.php
index <HASH>..<HASH> 100644
--- a/src/Valkyrja/Http/Factories/ResponseFactory.php
+++ b/src/Valkyrja/Http/Factories/ResponseFactory.php
@@ -201,7 +201,7 @@ class ResponseFactory implements ResponseFactoryContr... | Fixing ResponseFactory::view. | valkyrjaio_valkyrja | train | php |
1c1abfcf656697444624e9b2c893c6b07c5ee067 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -220,6 +220,7 @@ sources_phono3py = ['c/_phono3py.c',
'c/real_self_energy.c',
'c/real_to_reciprocal.c',
'c/reciprocal_to_normal.c',
+ 'c/rgrid.c... | Include forgotten file of rgrid.c in setup.py | atztogo_phono3py | train | py |
f25ed630f1f8a7cfd3c5bb6b12c82d978c848aa6 | diff --git a/src/ChrisKonnertz/DeepLy/DeepLy.php b/src/ChrisKonnertz/DeepLy/DeepLy.php
index <HASH>..<HASH> 100644
--- a/src/ChrisKonnertz/DeepLy/DeepLy.php
+++ b/src/ChrisKonnertz/DeepLy/DeepLy.php
@@ -54,7 +54,7 @@ class DeepLy
/**
* Current version number
*/
- const VERSION = '1.0.0';
+ const ... | --- VERSION <I> --- | chriskonnertz_DeepLy | train | php |
5b9eb937fffea55f5fc1416560c1208c4a10cb50 | diff --git a/wakatime/projects/base.py b/wakatime/projects/base.py
index <HASH>..<HASH> 100644
--- a/wakatime/projects/base.py
+++ b/wakatime/projects/base.py
@@ -22,9 +22,9 @@ class BaseProject(object):
be found for the current path.
"""
- def __init__(self, path, config):
+ def __init__(self, path, ... | Rename config to settings in BaseProject | wakatime_wakatime | train | py,py |
e1ab432c40ab0114a9acb26ef4d9aaba92619580 | diff --git a/tests/models/test_seq2seq_model.py b/tests/models/test_seq2seq_model.py
index <HASH>..<HASH> 100644
--- a/tests/models/test_seq2seq_model.py
+++ b/tests/models/test_seq2seq_model.py
@@ -90,7 +90,7 @@ class Model_SEQ2SEQ_Test(CustomTestCase):
top_n = 1
for i in range(top_n):
... | Print list instead of tensor | tensorlayer_tensorlayer | train | py |
04182623f6075b5133e020adffae077dd8c24191 | diff --git a/bin/grails-plugin-package.js b/bin/grails-plugin-package.js
index <HASH>..<HASH> 100755
--- a/bin/grails-plugin-package.js
+++ b/bin/grails-plugin-package.js
@@ -133,7 +133,13 @@ archive.append(
//adding standalone files
for (var standaloneId in project.grails.standaloneFiles) {
var stanalone = projec... | Added supporting direcroties as standaloneFiles. | OpusCapita_npm-scripts | train | js |
70e7f6d58baaa35d1cabb943eaf55ab4e46e8ce1 | diff --git a/salt/fileclient.py b/salt/fileclient.py
index <HASH>..<HASH> 100644
--- a/salt/fileclient.py
+++ b/salt/fileclient.py
@@ -803,12 +803,17 @@ class Client(object):
elif not os.path.isabs(cachedir):
cachedir = os.path.join(self.opts['cachedir'], cachedir)
+ if url_data.query is ... | cache query args with url as well
Without this, we can't use query args to get the hash of a file or add
query args to change what a file returns | saltstack_salt | train | py |
1a88459c769f234190f3907ed696dc62be1958d1 | diff --git a/bitshares/transactionbuilder.py b/bitshares/transactionbuilder.py
index <HASH>..<HASH> 100644
--- a/bitshares/transactionbuilder.py
+++ b/bitshares/transactionbuilder.py
@@ -345,6 +345,7 @@ class TransactionBuilder(dict):
signedtx.sign(self.wifs, chain=self.blockchain.rpc.chain_params)
... | Return newly created SignedTransaction when `sign` is invoked.
This is useful for tearing down/rebuilding and passing transactions
around. | bitshares_python-bitshares | train | py |
480ccc1e2c640c29874bc6291155c7b3ad50587d | diff --git a/src/views/ui_graph.py b/src/views/ui_graph.py
index <HASH>..<HASH> 100644
--- a/src/views/ui_graph.py
+++ b/src/views/ui_graph.py
@@ -63,5 +63,5 @@ class Ui_Graph(object):
def retranslateUi(self, Graph):
pass
-from matplotlibwidget import MatplotlibWidget
+from widgets.matplotlibwidget ... | problem with matplotlibwidget to fix | openfisca_openfisca-core | train | py |
1de558c5d47e956ceed13c494d42a5bb125583a9 | diff --git a/js/render/console.js b/js/render/console.js
index <HASH>..<HASH> 100644
--- a/js/render/console.js
+++ b/js/render/console.js
@@ -506,7 +506,8 @@ jsconsole.init = function () {
editors.console.settings.render = function () {
// TODO decide whether we should also grab all the JS in the HTML panel
... | Only run console if we have some code in the js panel | jsbin_jsbin | train | js |
0cdb91928eebf3a653ca6c1cda4dba9707d36eb1 | diff --git a/includes/general.php b/includes/general.php
index <HASH>..<HASH> 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -560,7 +560,7 @@ function pods_access ( $privs, $method = 'OR' ) {
if ( 0 === strpos( $priv, 'manage_' ) )
$priv = pods_str_replace( 'manage_', 'pod... | pods_access used with AND always returns FALSE
Fixes #<I> | pods-framework_pods | train | php |
b538d58c2ed6152bd489c1911f6d3bea2152eec3 | diff --git a/src/dolo/misc/calculus.py b/src/dolo/misc/calculus.py
index <HASH>..<HASH> 100644
--- a/src/dolo/misc/calculus.py
+++ b/src/dolo/misc/calculus.py
@@ -51,7 +51,14 @@ def solve_triangular_system(sdict,return_order=False,unknown_type=sympy.Symbol):
else:
res = copy.copy(sdict)
for s in ... | (Slightly) better error messages for non triangular systems. | EconForge_dolo | train | py |
e79d76191f836365421b6c348f22854357536da7 | diff --git a/asyncblock.js b/asyncblock.js
index <HASH>..<HASH> 100644
--- a/asyncblock.js
+++ b/asyncblock.js
@@ -39,7 +39,9 @@ var getNextTaskId = (function(){
var taskId = 1;
return function(){
- return taskId++;
+ ++taskId;
+
+ return '_ab_' + taskId;
};
})(); | Reducing likelihood of collision with generated task ids | scriby_asyncblock-generators | train | js |
34091d049455c5f3a9c015b49be89c6bc18439d1 | diff --git a/lib/countries/select_helper.rb b/lib/countries/select_helper.rb
index <HASH>..<HASH> 100644
--- a/lib/countries/select_helper.rb
+++ b/lib/countries/select_helper.rb
@@ -24,7 +24,7 @@ module ActionView
def to_country_select_tag(priority_countries, options, html_options)
html_options = html_... | allow overriding selected option in country_select helper. | hexorx_countries | train | rb |
7ef6d9a08b8ccfc410f310e4487bf17464ed7335 | diff --git a/core/src/main/java/hudson/model/AbstractItem.java b/core/src/main/java/hudson/model/AbstractItem.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/model/AbstractItem.java
+++ b/core/src/main/java/hudson/model/AbstractItem.java
@@ -265,7 +265,7 @@ public abstract class AbstractItem extends Ac... | Wrong source root
... as pointed out by <URL> | jenkinsci_jenkins | train | java |
0a7e33f6200f6a60b3426d20dbdc7c3e9295e511 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,8 @@ def get_version(module='spyder_kernels'):
REQUIREMENTS = ['ipykernel>=4.8.2',
- 'pyzmq>=17'
+ 'pyzmq>=17',
+ 'jupyter-client>=5.2.3',
'cloudpick... | Setup.py: Add specific requirement on jupyter-client | spyder-ide_spyder-kernels | train | py |
0721ab610d92e1f02ed4fc314e8e5b8de7211fd8 | diff --git a/etk/core.py b/etk/core.py
index <HASH>..<HASH> 100644
--- a/etk/core.py
+++ b/etk/core.py
@@ -471,8 +471,7 @@ class Core(object):
doc = Core.rearrange_description(doc)
doc = Core.rearrange_title(doc)
except Exception as e:
- # print e
- ... | fix bug when there is no state or country for populated places | usc-isi-i2_etk | train | py |
84c083760d084a7c9bbabc1c85de11416ccb7bae | diff --git a/packages/mui-material/src/IconButton/IconButton.js b/packages/mui-material/src/IconButton/IconButton.js
index <HASH>..<HASH> 100644
--- a/packages/mui-material/src/IconButton/IconButton.js
+++ b/packages/mui-material/src/IconButton/IconButton.js
@@ -54,7 +54,7 @@ const IconButtonRoot = styled(ButtonBase, {... | [IconButton] Fix hover effect when CSS Variables are enabled (#<I>) | mui-org_material-ui | train | js |
cc575b6352efaad7e9ed5077f28018706f8c43e2 | diff --git a/src/Zicht/Util/Str.php b/src/Zicht/Util/Str.php
index <HASH>..<HASH> 100644
--- a/src/Zicht/Util/Str.php
+++ b/src/Zicht/Util/Str.php
@@ -263,28 +263,12 @@ class Str
/**
* Slugify a text.
*
+ * @deprecated Please use Str::systemize()
* @param string $text
* @return string
... | deprecated slugify, which serves more as documentation than anything else | zicht_util | train | php |
2d0ab9e9bf6a63b3cbd251d1e41c8139eaec5ccd | diff --git a/internal/client/github.go b/internal/client/github.go
index <HASH>..<HASH> 100644
--- a/internal/client/github.go
+++ b/internal/client/github.go
@@ -225,7 +225,7 @@ func (c *githubClient) CreateRelease(ctx *context.Context, body string) (string,
ctx,
ctx.Config.Release.GitHub.Owner,
ctx.Config.Re... | fix: ensure same tag on edit
this change is just to prevent merge conflicts in goreleaser pro
refs #<I> | goreleaser_goreleaser | train | go |
1e7b1ddb334122cd45198bbda4a3c162dd8dc1e4 | diff --git a/Resources/public/js/sequence/Correction/Controllers/CorrectionClozeCtrl.js b/Resources/public/js/sequence/Correction/Controllers/CorrectionClozeCtrl.js
index <HASH>..<HASH> 100644
--- a/Resources/public/js/sequence/Correction/Controllers/CorrectionClozeCtrl.js
+++ b/Resources/public/js/sequence/Correction/... | [ExoBundle] Fix error on cloze correction | claroline_Distribution | train | js |
ce84460b7d573a899f567337b668001d01bd8088 | diff --git a/lib/lock_jar/domain/gem_dsl.rb b/lib/lock_jar/domain/gem_dsl.rb
index <HASH>..<HASH> 100644
--- a/lib/lock_jar/domain/gem_dsl.rb
+++ b/lib/lock_jar/domain/gem_dsl.rb
@@ -30,7 +30,7 @@ module LockJar
builder.gem_dir = spec.gem_dir
jarfile = File.join( spec.gem_dir, jarfile ... | track Jarfile.lock in lockfile merged | mguymon_lock_jar | train | rb |
4916d4df546428b7b43d728f6b3d3ca75f42632a | diff --git a/components/switch/index.js b/components/switch/index.js
index <HASH>..<HASH> 100644
--- a/components/switch/index.js
+++ b/components/switch/index.js
@@ -59,10 +59,12 @@ export default class Switch extends Intact {
_dragEnd(e) {
this.set('_dragging', false);
+ this.element.blur();
... | upd: blur on mouseup, #7 | ksc-fe_kpc | train | js |
605d5953b63c7e62c653930ff0d9de6008827f42 | diff --git a/src/js/form-builder.js b/src/js/form-builder.js
index <HASH>..<HASH> 100644
--- a/src/js/form-builder.js
+++ b/src/js/form-builder.js
@@ -6,6 +6,7 @@
var defaults = {
typeUserAttrs: {}, //+gimigliano
+ typeUserEvents: {}, //+gimigliano
controlPosition: 'right',
control... | Added typeUserEvents option (#<I>) | kevinchappell_formBuilder | train | js |
879e830656386a2293a6a9d319c625d8ea899789 | diff --git a/bencode.js b/bencode.js
index <HASH>..<HASH> 100644
--- a/bencode.js
+++ b/bencode.js
@@ -280,7 +280,7 @@ var Bdecode = function () {
if (LIST_START === obj) {
var obj2 = null
var list = []
- while( obj2 = tmp_stack.pop() ) {
+ while( undefined !== (obj2 = t... | properly decode lists with the integer 0 | a2800276_bncode | train | js,js |
a78bf30a3b3cb934b9cf96426e406c5133624c78 | diff --git a/_builder_lib/docsitebuilder/helpers.rb b/_builder_lib/docsitebuilder/helpers.rb
index <HASH>..<HASH> 100644
--- a/_builder_lib/docsitebuilder/helpers.rb
+++ b/_builder_lib/docsitebuilder/helpers.rb
@@ -209,6 +209,23 @@ EOF
end
end
+ def git_stash_all
+ # See if there are any changes i... | Detect and stash un-added working branch files during packaging | redhataccess_ascii_binder | train | rb |
0ac545000d1fab976026812384d3d1434d3742c7 | diff --git a/commander/types/sensor_event.py b/commander/types/sensor_event.py
index <HASH>..<HASH> 100644
--- a/commander/types/sensor_event.py
+++ b/commander/types/sensor_event.py
@@ -20,5 +20,5 @@ class SensorEvent:
self.stream = stream
self.metadata = metadata
- self.timestamp = datetime(timestamp_year, t... | Finalize buffer overrun fix, implement an exhaustive test. | iotile_coretools | train | py |
7ab9e696ff01b3ebfcb83d9ce609ef3dd8e53ad6 | diff --git a/lib/rspectacles/formatter/legacy/redis.rb b/lib/rspectacles/formatter/legacy/redis.rb
index <HASH>..<HASH> 100644
--- a/lib/rspectacles/formatter/legacy/redis.rb
+++ b/lib/rspectacles/formatter/legacy/redis.rb
@@ -5,6 +5,8 @@ module RSpectacles
module Formatter
module Legacy
class Redis < RS... | Adding an output method to the formatters to match API | g2crowd_rspectacles | train | rb,rb |
3ab7b739bc2e0140139d97a0b99611d7f278e075 | diff --git a/bct/bct/algorithms/distance.py b/bct/bct/algorithms/distance.py
index <HASH>..<HASH> 100644
--- a/bct/bct/algorithms/distance.py
+++ b/bct/bct/algorithms/distance.py
@@ -374,7 +374,7 @@ def efficiency_bin(G,local=False):
#symmetrized adjacency vector
sa=G[u,V]+G[V,u].T
- ... | propagate correct local efficiency calculation to efficiency_bin | aestrivex_bctpy | train | py |
9f674fad489f4c86b07cbfa596b34986528352c1 | diff --git a/lib/server.js b/lib/server.js
index <HASH>..<HASH> 100644
--- a/lib/server.js
+++ b/lib/server.js
@@ -56,6 +56,17 @@ Server.prototype = {
next()
})
exp.use(Express.static(__dirname + '/../public'))
+
+ // Load other static dirs that you want pathed rela... | added configurable static_dirs for pathing for platforms like yeoman | testem_testem | train | js |
2e4501cb53b940f8bb8aadac7c4f77f39d67e6dd | diff --git a/jsonrpc/tests/test_backend_flask/tests.py b/jsonrpc/tests/test_backend_flask/tests.py
index <HASH>..<HASH> 100644
--- a/jsonrpc/tests/test_backend_flask/tests.py
+++ b/jsonrpc/tests/test_backend_flask/tests.py
@@ -1,5 +1,6 @@
import json
import sys
+from mock import patch
if sys.version_info < (2, 7):... | cover code up to <I>% | pavlov99_json-rpc | train | py |
16e548397e7800053de025bf9c05a9f8b079a182 | diff --git a/backbone.js b/backbone.js
index <HASH>..<HASH> 100644
--- a/backbone.js
+++ b/backbone.js
@@ -914,7 +914,10 @@
// Create a new collection with an identical list of models as this one.
clone: function() {
- return new this.constructor(this.models);
+ return new this.constructor(this.mo... | pass along model and comparator to cloned collection. Fixes #<I> | jashkenas_backbone | train | js,js |
6c9946aca876697cb5ddaea59cbb6a34d15f98b0 | diff --git a/src/Monolog/Handler/GroupHandler.php b/src/Monolog/Handler/GroupHandler.php
index <HASH>..<HASH> 100644
--- a/src/Monolog/Handler/GroupHandler.php
+++ b/src/Monolog/Handler/GroupHandler.php
@@ -11,8 +11,6 @@
namespace Monolog\Handler;
-use Monolog\Logger;
-
/**
* Forwards records to multiple handle... | Tweaked the GroupHandler to make it handle a record only when needed | Seldaek_monolog | train | php |
ddcda4b1a9dc7e84c80e9bbf6aa6b8dbfffeed66 | diff --git a/bl/integration/drivers/azure.js b/bl/integration/drivers/azure.js
index <HASH>..<HASH> 100644
--- a/bl/integration/drivers/azure.js
+++ b/bl/integration/drivers/azure.js
@@ -66,7 +66,7 @@ let lib = {
let profile = {
firstName: soajsResponse.profile.given_name,
lastName: soajsResponse.profile.fam... | assure email is set when azure login happens | soajs_soajs.oauth | train | js |
93024e53c1445cb4630ee5c07926abff8943715f | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -101,7 +101,7 @@ setup(
license="Apache",
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
install_requires=[
- "torch>=1.2.0",
+ "torch>=1.2.0,<1.3",
"jsonnet... | Pin to pytorch <I> in setup.py (#<I>) | allenai_allennlp | train | py |
a2789b3abb196e3183f08c5a8411b7f038316f89 | diff --git a/src/Model.php b/src/Model.php
index <HASH>..<HASH> 100644
--- a/src/Model.php
+++ b/src/Model.php
@@ -47,7 +47,7 @@ class Model extends Datachore
{
if ($this->updates[$key] instanceof \google\appengine\datastore\v4\Key)
{
- $fkey = $this->values[$key];
+ $fkey = $this->updates[$key];
... | FIX: use updates when checking for them (in __get) with keys. | pwhelan_datachore | train | php |
d94248be8d892aeeef8a0a72f1e79d148f597f3d | diff --git a/pykechain/client.py b/pykechain/client.py
index <HASH>..<HASH> 100644
--- a/pykechain/client.py
+++ b/pykechain/client.py
@@ -412,7 +412,7 @@ class Client(object):
r = self._request('POST', self._build_url('activities'), data=data)
- if r.status_code != 201:
+ if r.status_code !=... | - removed APIError(s) from coverage inside client.py | KE-works_pykechain | train | py |
67ed2ac35a303caddf09fb47e9563a289ddfb8a0 | diff --git a/lib/cocoaseeds/core.rb b/lib/cocoaseeds/core.rb
index <HASH>..<HASH> 100644
--- a/lib/cocoaseeds/core.rb
+++ b/lib/cocoaseeds/core.rb
@@ -507,8 +507,12 @@ module Seeds
#
def configure_phase
self.project.targets.each do |target|
- phase = target.sources_build_phase
- next if n... | Catch an exception when trying to access target's undefined `sources_build_phase` | devxoul_CocoaSeeds | train | rb |
3ee8d2728199ef5ecb6dfbc0b4be98b132c61067 | diff --git a/framework/bootstrap.js b/framework/bootstrap.js
index <HASH>..<HASH> 100644
--- a/framework/bootstrap.js
+++ b/framework/bootstrap.js
@@ -84,6 +84,9 @@ Bootstrap = Type.create({
if (Type.isNumber(env.port)) {
this.setListenPort(env.port);
}
+ if (Type.isString(env.host... | Add possibility to set listen host in env.son | AdminJuwel191_node-mvc | train | js |
1bdf0290abbcf1cd218d3c0f9a8fefa64e7fb7c0 | diff --git a/gnupg/gnupg.py b/gnupg/gnupg.py
index <HASH>..<HASH> 100644
--- a/gnupg/gnupg.py
+++ b/gnupg/gnupg.py
@@ -180,7 +180,7 @@ class GPG(GPGBase):
else:
log.warn("No 'default_key' given! Using first key on secring.")
- if isinstance(data, file):
+ if hasattr(data, 'read'):
... | File and IO handling in Py3 is different than Py2
Instead of checking whether data isinstance of 'file', then we check that
it is file-like _enough_ to be treated as a file (i.e. it hasattr 'read'). | isislovecruft_python-gnupg | train | py |
7f54360df37734241f8d555143ec1c17b9aad829 | diff --git a/audiolazy/tests/test_poly.py b/audiolazy/tests/test_poly.py
index <HASH>..<HASH> 100644
--- a/audiolazy/tests/test_poly.py
+++ b/audiolazy/tests/test_poly.py
@@ -28,6 +28,7 @@ p = pytest.mark.parametrize
import operator
import types
from itertools import combinations_with_replacement, combinations
+from... | Tests for the Poly.roots property | danilobellini_audiolazy | train | py |
78ae85beec91382b981930225ae23a4acbcae5dd | diff --git a/git_repo/services/bitbucket.py b/git_repo/services/bitbucket.py
index <HASH>..<HASH> 100644
--- a/git_repo/services/bitbucket.py
+++ b/git_repo/services/bitbucket.py
@@ -92,6 +92,10 @@ class BitbucketService(RepositoryService):
fqdn = 'bitbucket.org'
def connect(self):
+ if not self._pri... | Fixed error handling of lack of privatekey for bitbucket | guyzmo_git-repo | train | py |
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.