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 |
|---|---|---|---|---|---|
dd60b9d5b8004397dda54cfb8a3eb46efd2417da | diff --git a/glfw/library.py b/glfw/library.py
index <HASH>..<HASH> 100644
--- a/glfw/library.py
+++ b/glfw/library.py
@@ -133,6 +133,7 @@ def _get_library_search_paths():
'/usr/lib64',
'/usr/local/lib64',
'/usr/lib', '/usr/local/lib',
+ '/opt/homebrew/lib',
'/run/current-syst... | Update library search path for m1 Macs
The apple silicon homebrew installs libraries to `/opt/homebrew/lib` instead of `/usr/local/lib`. | FlorianRhiem_pyGLFW | train | py |
605a5e0a265c95891d9159dae6030ea195b4a3bd | diff --git a/host_source.go b/host_source.go
index <HASH>..<HASH> 100644
--- a/host_source.go
+++ b/host_source.go
@@ -121,15 +121,9 @@ type HostInfo struct {
}
func (h *HostInfo) Equal(host *HostInfo) bool {
- h.mu.RLock()
- defer h.mu.RUnlock()
- //If both hosts pointers are same then lock is required only once b... | hostinfo: fix rlock reentry (#<I>) | gocql_gocql | train | go |
d4cc8706885333c9b020f4bf07f6418d83cbf983 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@ def read(fname):
setup(
name='py3status',
- version='3.0',
+ version='3.1_rc',
author='Ultrabug',
author_email='ultrabug@ultrabug.net',
description='py3status: an extensible i3status... | version <I>_rc from here | ultrabug_py3status | train | py |
467cff8b0024f59a9397c8c8d04108877f0a56cc | diff --git a/includes/template-global.php b/includes/template-global.php
index <HASH>..<HASH> 100644
--- a/includes/template-global.php
+++ b/includes/template-global.php
@@ -124,6 +124,21 @@ function carelib_get_the_widget( $widget, $instance = array(), $args = array() )
}
/**
+ * Check whether or not the user is ... | Added static front page check
Props @ozzyrod | cipherdevgroup_carelib | train | php |
d53a3e1105e923d54bafe22b31257bcf6e039690 | diff --git a/lib/config.js b/lib/config.js
index <HASH>..<HASH> 100644
--- a/lib/config.js
+++ b/lib/config.js
@@ -80,6 +80,7 @@ config.set = function(options) {
function cleanInjects(injects, ext, watch) {
injects = Array.isArray(injects) ? injects : injects ? [injects] : []
+ injects = injects.map(inject => ty... | Allow js and css to take a function directly | porsager_wright | train | js |
7a2305bd71965952664447db704500c10217ddcb | diff --git a/src/core/Core.js b/src/core/Core.js
index <HASH>..<HASH> 100644
--- a/src/core/Core.js
+++ b/src/core/Core.js
@@ -655,7 +655,7 @@ class Uppy {
// connection to the remote server. Therefore, we are throtteling them to
// prevent accessive function calls.
// see also: https://github.com/tus/tu... | _throttledCalculateProgress — trailing: true to try and fix lost progress events in XHRUpload bundle: true
//cc @goto-bus-stop | transloadit_uppy | train | js |
ff9fe3d45078fe367227ec7a1989718e3d6f0877 | diff --git a/src/Bkwld/Decoy/Collections/Elements.php b/src/Bkwld/Decoy/Collections/Elements.php
index <HASH>..<HASH> 100644
--- a/src/Bkwld/Decoy/Collections/Elements.php
+++ b/src/Bkwld/Decoy/Collections/Elements.php
@@ -388,6 +388,7 @@ class Elements extends Collection {
*/
public function setModel($element) {
... | Updating the El collection value on create as well as update | BKWLD_decoy | train | php |
441aedc8eb147ee876e463a148af557ae1879d52 | diff --git a/lib/lolcommits/version.rb b/lib/lolcommits/version.rb
index <HASH>..<HASH> 100644
--- a/lib/lolcommits/version.rb
+++ b/lib/lolcommits/version.rb
@@ -1,4 +1,4 @@
# -*- encoding : utf-8 -*-
module Lolcommits
- VERSION = '0.9.1.pre1'.freeze
+ VERSION = '0.9.1'.freeze
end | bumping version # to <I> | lolcommits_lolcommits | train | rb |
125bd17b048a9564af4f47687eb08e397c31d545 | diff --git a/picuplib/upload.py b/picuplib/upload.py
index <HASH>..<HASH> 100644
--- a/picuplib/upload.py
+++ b/picuplib/upload.py
@@ -22,7 +22,7 @@ This module handels the entire upload and some argument and response checking
from __future__ import unicode_literals, print_function
from requests import post
-from o... | prevents the full file path from being exposed to the api. fixed #5 | Arvedui_picuplib | train | py |
f6aa51393643efe38ed8b35fb45250e207df55c9 | diff --git a/src/test/java/reactor/netty/resources/PooledConnectionProviderTest.java b/src/test/java/reactor/netty/resources/PooledConnectionProviderTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/reactor/netty/resources/PooledConnectionProviderTest.java
+++ b/src/test/java/reactor/netty/resources/PooledConne... | [tests] Disable test
Test cannot be executed reliably on different OS and different transports | reactor_reactor-netty | train | java |
3583b4b2c102a9ff794f2c79f9f2a3f0c07036e0 | diff --git a/django_extensions/db/fields/encrypted.py b/django_extensions/db/fields/encrypted.py
index <HASH>..<HASH> 100644
--- a/django_extensions/db/fields/encrypted.py
+++ b/django_extensions/db/fields/encrypted.py
@@ -85,8 +85,8 @@ class EncryptedTextField(BaseEncryptedField):
class EncryptedCharField(BaseEncrypt... | remove max_length from constructor as it breaks field conventions | django-extensions_django-extensions | train | py |
bfaf95ec62b70e48126c8c94432b5666278fb874 | diff --git a/salt/modules/pacman.py b/salt/modules/pacman.py
index <HASH>..<HASH> 100644
--- a/salt/modules/pacman.py
+++ b/salt/modules/pacman.py
@@ -223,7 +223,7 @@ def refresh_db():
def install(name=None,
- refresh=True,
+ refresh=False,
pkgs=None,
sources=None,
... | [salt] Pacman shouldn't default to refresh
Because refreshing requires you to update the entire system and
installing should by default limited to only the package you are
installing. | saltstack_salt | train | py |
fa19eff2182dd786ce1799536ee8fa3446a187b4 | diff --git a/src/SpamProtector.php b/src/SpamProtector.php
index <HASH>..<HASH> 100644
--- a/src/SpamProtector.php
+++ b/src/SpamProtector.php
@@ -47,10 +47,10 @@ class SpamProtector
$type = trim(strtolower($type));
if (! in_array($type, ['ip', 'email', 'username'])) {
- throw new \Invali... | Apply fixes from StyleCI (#2) | johannebert_laravel-spam-protector | train | php |
792eba3dd30ad61d2ba1ff1f04689c1f8bc84689 | diff --git a/Dinke/CurlHttpClient.php b/Dinke/CurlHttpClient.php
index <HASH>..<HASH> 100644
--- a/Dinke/CurlHttpClient.php
+++ b/Dinke/CurlHttpClient.php
@@ -48,7 +48,8 @@ class CurlHttpClient
CURLOPT_ENCODING => 'gzip, deflate', //The contents of the Accept-Encoding header in curl request
CURLOPT... | Force cURL to use TLSv1 for secure connections
On some distros cURL will use SSLv3 by default (e.g. on Debian7 with
the latest updates currently available). Many servers are blocking
secure connections that use SSLv3 to prevent heartbleed attack, and
you will get curl error #<I>. To prevent it, we have to force cURL t... | dinke_curl_http_client | train | php |
ca163dc21a71ad12b47fd632264d14f634acd6a1 | diff --git a/test/testBase.py b/test/testBase.py
index <HASH>..<HASH> 100644
--- a/test/testBase.py
+++ b/test/testBase.py
@@ -1,7 +1,4 @@
import unittest
-import sys
-import os
-sys.path.insert(0, os.path.abspath('..'))
from observed import event | Removed the sys.path manipulation that allowed running tests against source dist, since it smells funny | DanielSank_observed | train | py |
9c16c210f4950e0c7674e67e8ff145d32b9e4119 | diff --git a/cs.py b/cs.py
index <HASH>..<HASH> 100644
--- a/cs.py
+++ b/cs.py
@@ -96,7 +96,7 @@ class CloudStack(object):
self.secret = secret
self.timeout = int(timeout)
self.method = method.lower()
- self.verify = True if str(verify).lower() in ("yes", "y", "true") else False if str... | Removing the option of setting verify to false | exoscale_cs | train | py |
f57fc526f3c779d530170517dd2f08a50554b22d | diff --git a/lib/chef/provider/user/solaris.rb b/lib/chef/provider/user/solaris.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/provider/user/solaris.rb
+++ b/lib/chef/provider/user/solaris.rb
@@ -73,6 +73,19 @@ class Chef
private
+ # Override the version from {#Useradd} because Solaris doesn't suppor... | Fully override the method because we are planning to phase out the shared base class anyway so the slight code duplication is fine. | chef_chef | train | rb,rb |
c087979f3beb8915331ae430ad635bfb5b61f918 | diff --git a/lib/Orkestra/Transactor/Serializer/AuthorizeNet/Card/TransactionNormalizer.php b/lib/Orkestra/Transactor/Serializer/AuthorizeNet/Card/TransactionNormalizer.php
index <HASH>..<HASH> 100644
--- a/lib/Orkestra/Transactor/Serializer/AuthorizeNet/Card/TransactionNormalizer.php
+++ b/lib/Orkestra/Transactor/Seri... | Updated checks in Normalizer to properly form void requests | orkestra_orkestra-transactor | train | php |
a0ce42ed22cc3aa9d90b343a5dac54cf401c6fb0 | diff --git a/src/__init__.py b/src/__init__.py
index <HASH>..<HASH> 100644
--- a/src/__init__.py
+++ b/src/__init__.py
@@ -275,7 +275,8 @@ class Pool:
Q.put(error)
dead = True
- if not dead: Q.put((i, out))
+ if not dead:
+ Q.put((i, out))
S.task_done()
P = ... | detect if a child died abnormaly and raise exception. | rainwoodman_sharedmem | train | py |
2ac47609cda528a572a0c584649e0185357518ca | diff --git a/src/Support/ArrayHelpers.php b/src/Support/ArrayHelpers.php
index <HASH>..<HASH> 100644
--- a/src/Support/ArrayHelpers.php
+++ b/src/Support/ArrayHelpers.php
@@ -7,6 +7,9 @@ namespace Roave\ApiCompare\Support;
use Assert\Assert;
use function in_array;
+/**
+ * @internal this is a support class of this ... | Documented `ArrayHelpers` as `@internal` | Roave_BackwardCompatibilityCheck | train | php |
40d32ae03cc97204c35466071d980dc271ba0a21 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ setup(
'Django>=1.5',
'easy-thumbnails>=1.0',
'django-mptt>=0.6',
- 'django_polymorphic>=0.7',
+ 'django_polymorphic>=0.7,<0.8',
'Unidecode>=0.04',
),
... | Pin django-polymorphic requirement to be below version <I> | divio_django-filer | train | py |
86b3a5b5e9fff6f9b9493cbc03d85359a8b5295d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-from setuptools import setup
+from setuptools import setup, find_packages
import duniterpy
import os
import re
@@ -47,7 +47,7 @@ setup(
version=duniterpy.__version__,
- packages=['duniterpy'],
+ ... | [fix] #<I> fix build not include all folders in gitlab runner | duniter_duniter-python-api | train | py |
e20051360f9dbf6a879be7acdd9159b8f068a388 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -33,11 +33,13 @@ setup(# Distribution meta-data
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
+ 'Programming Language :: ... | Add additional trove classifiers for supported Pythons | pyparsing_pyparsing | train | py |
5ea212f4b2f585bceebacfa82ca9cd0cb8f64c7f | diff --git a/chef/lib/chef/config.rb b/chef/lib/chef/config.rb
index <HASH>..<HASH> 100644
--- a/chef/lib/chef/config.rb
+++ b/chef/lib/chef/config.rb
@@ -47,7 +47,7 @@ class Chef
# location<IO||String>:: Logging location as either an IO stream or string representing log file path
#
def self.log_location... | CHEF-<I>: allow the log_location override to chef::config | chef_chef | train | rb |
e06313fb0f2e613e17e5e2fd77fca90e0690b5ea | diff --git a/core/reset.go b/core/reset.go
index <HASH>..<HASH> 100644
--- a/core/reset.go
+++ b/core/reset.go
@@ -5,23 +5,30 @@ import (
"time"
"chain/core/generator"
+ "chain/crypto/ed25519"
"chain/database/pg"
"chain/errors"
"chain/protocol"
"chain/protocol/vmutil"
)
+func getBlockKeys(c *protocol.C... | core: fix reset with no blocks
Previously, an error would be returned if a reset was attempted with no
blocks.
Closes chain/chainprv#<I>.
Reviewers: @jbowens | chain_chain | train | go |
78b7a53a52aef225f3629b9d47aa2fa738353c44 | diff --git a/Lib/ufo2ft/filters/flattenComponents.py b/Lib/ufo2ft/filters/flattenComponents.py
index <HASH>..<HASH> 100644
--- a/Lib/ufo2ft/filters/flattenComponents.py
+++ b/Lib/ufo2ft/filters/flattenComponents.py
@@ -36,7 +36,8 @@ def _flattenComponent(glyphSet, component):
"""Returns a list of tuples (baseGlyph... | Don't flatten components in contour glyphs
Any contour will cause components to be decomposed in TTF.
But more importantly, avoid losing contours in mixed contour-component glyphs when using nested components. | googlefonts_ufo2ft | train | py |
245bfa716cbcb9351184f73dd02c52455d03db8d | diff --git a/lib/flame/render.rb b/lib/flame/render.rb
index <HASH>..<HASH> 100644
--- a/lib/flame/render.rb
+++ b/lib/flame/render.rb
@@ -80,7 +80,8 @@ module Flame
## Find layout-files by path
def find_layouts(path)
- find_files(path, layout_dirs).select { |file| Tilt[file] }.sort!.reverse!
+ find_files(p... | Fix sorting of nested layouts | AlexWayfer_flame | train | rb,rb |
832454980871dd19fda2fc8edca27f4ee64cbdd7 | diff --git a/js/jquery.mapael.js b/js/jquery.mapael.js
index <HASH>..<HASH> 100644
--- a/js/jquery.mapael.js
+++ b/js/jquery.mapael.js
@@ -313,6 +313,7 @@
self.areas = undefined;
self.plots = undefined;
self.links = undefined;
+ self.customEventHandlers = undefined;
... | Fix: custom event handler on text element (#<I>)
* Custom event handler on text element
* Ensure emptying customEventHandlers on destroy | neveldo_jQuery-Mapael | train | js |
dd2f856d63fc1c9d0850c3f18e04fb9b7443d143 | diff --git a/raft_server.go b/raft_server.go
index <HASH>..<HASH> 100644
--- a/raft_server.go
+++ b/raft_server.go
@@ -91,7 +91,7 @@ func (r *raftServer) ListenAndServe() {
}
ok := joinCluster(cluster)
if !ok {
- fatal("cannot rejoin to the cluster")
+ warn("the whole cluster dies! restart the cluster")
... | if the whole cluster dies, should not panic | etcd-io_etcd | train | go |
574d46b8281891b449af7d198a8b2298e2a4d66f | diff --git a/src/plugins/statusbar.js b/src/plugins/statusbar.js
index <HASH>..<HASH> 100644
--- a/src/plugins/statusbar.js
+++ b/src/plugins/statusbar.js
@@ -1,5 +1,5 @@
// install : cordova plugin add org.apache.cordova.statusbar
-// link : https://github.com/apache/cordova-plugin-statusbar/blob/mas... | Update statusbar.js
Link to cordova github repo was <I>, so I corrected it. | ionic-team_ng-cordova | train | js |
9d9e3f34698de16a3505869753624b03ea20969c | diff --git a/go/teams/service_helper.go b/go/teams/service_helper.go
index <HASH>..<HASH> 100644
--- a/go/teams/service_helper.go
+++ b/go/teams/service_helper.go
@@ -1555,6 +1555,10 @@ func MapImplicitTeamIDToDisplayName(ctx context.Context, g *libkb.GlobalContext,
return folder, err
}
+ if !team.IsImplicit() {... | only run implicit team machinery on implicit teams (#<I>) | keybase_client | train | go |
aa6602238fd025c201cde2f92a065f2b1ab5991b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -108,8 +108,7 @@ setup(
install_requires=["numpy>=1.14.3", "requests", "ruamel.yaml>=0.15.6",
"monty>=3.0.2", "scipy>=1.0.1", "pydispatcher>=2.0.5",
"tabulate", "spglib>=1.9.9... | undo changes to setup.py | materialsproject_pymatgen | train | py |
64191c1b31346fd9e23c583b4afa556f87077fdd | diff --git a/exchange/bitswap/bitswap_test.go b/exchange/bitswap/bitswap_test.go
index <HASH>..<HASH> 100644
--- a/exchange/bitswap/bitswap_test.go
+++ b/exchange/bitswap/bitswap_test.go
@@ -36,23 +36,6 @@ func TestClose(t *testing.T) {
bitswap.Exchange.GetBlock(context.Background(), block.Key())
}
-func TestGetBl... | bitswap: removed dubious error check test. | ipfs_go-ipfs | train | go |
9e2f7c6431d5ef2baef827b2952388af29cc69ff | diff --git a/files_test.go b/files_test.go
index <HASH>..<HASH> 100644
--- a/files_test.go
+++ b/files_test.go
@@ -141,4 +141,13 @@ func TestUploadFile(t *testing.T) {
if _, err := api.UploadFile(params); err != nil {
t.Errorf("Unexpected error: %s", err)
}
+
+ largeByt := make([]byte, 1073742000*3)
+ reader = b... | add test large file #<I> | nlopes_slack | train | go |
89e08ab7affdda832e71094c8d87764f4da62869 | diff --git a/findbugs/src/java/edu/umd/cs/findbugs/detect/SynchronizationOnSharedBuiltinConstant.java b/findbugs/src/java/edu/umd/cs/findbugs/detect/SynchronizationOnSharedBuiltinConstant.java
index <HASH>..<HASH> 100644
--- a/findbugs/src/java/edu/umd/cs/findbugs/detect/SynchronizationOnSharedBuiltinConstant.java
+++ ... | bug fix; have to check signature as well as constant value
git-svn-id: <URL> | spotbugs_spotbugs | train | java |
1b87a0c8a05dfa1d7c142df048c074b22005f560 | diff --git a/lib/Curler/Certbot.php b/lib/Curler/Certbot.php
index <HASH>..<HASH> 100755
--- a/lib/Curler/Certbot.php
+++ b/lib/Curler/Certbot.php
@@ -35,7 +35,7 @@ class Certbot extends Curler
$response = $this->curl_exec();
if (!\Metaclassing\Utility::isJson($response)) {
- throw new \E... | added url of broken thing to thing | metaclassing_utility | train | php |
fe81c8658215d726ca0b4836c39ef38a29414721 | diff --git a/dataviews/plots.py b/dataviews/plots.py
index <HASH>..<HASH> 100644
--- a/dataviews/plots.py
+++ b/dataviews/plots.py
@@ -720,7 +720,7 @@ class GridLayoutPlot(Plot):
object.
"""
- horizontal_spacing = param.Number(default=0.4, doc="""
+ horizontal_spacing = param.Number(default=0.5, doc="... | Fixed GridLayout spacing to be more conservative | pyviz_holoviews | train | py |
2be5435cf661c45bbd29b095057d82ddb942520e | diff --git a/tests/compute/helper.rb b/tests/compute/helper.rb
index <HASH>..<HASH> 100644
--- a/tests/compute/helper.rb
+++ b/tests/compute/helper.rb
@@ -1,9 +1,7 @@
def compute_providers
{
AWS => {
- :server_attributes => {
- :image_id => 'ami-1a837773' # image ami-1a837773 = Ubuntu
- ... | [compute] Test server reloading.
Also make AWS server tests use default options. | fog_fog | train | rb,rb |
ffa5761e5056a680f8ffbbace4bc034cfd55ac0e | diff --git a/papaparse.js b/papaparse.js
index <HASH>..<HASH> 100644
--- a/papaparse.js
+++ b/papaparse.js
@@ -1432,4 +1432,11 @@
{
return typeof func === 'function';
}
+
+ // if requirejs is available, return Papa
+ if (typeof define === "function" && define.amd) {
+ define('papaparse', [], function() {
+ ... | Making Papa require friendly. Added functionality to return Papa obj is app is using require | mholt_PapaParse | train | js |
ab8829a2dcbdb9ab826d5a7fedae1c397e17ee51 | diff --git a/lib/types/message.js b/lib/types/message.js
index <HASH>..<HASH> 100644
--- a/lib/types/message.js
+++ b/lib/types/message.js
@@ -8,7 +8,8 @@ var Int64 = require('node-int64'),
ForcedType = require('./forced_type'),
AMQPSymbol = require('./amqp_symbol'),
- u = require('../utilities');
+ u... | fix(application-properties): make properties accessible | noodlefrenzy_node-amqp10 | train | js |
51cc1d42f2193fe474c8ade3b66df885cd0266ae | diff --git a/app/Http/Controllers/TimelineChartController.php b/app/Http/Controllers/TimelineChartController.php
index <HASH>..<HASH> 100644
--- a/app/Http/Controllers/TimelineChartController.php
+++ b/app/Http/Controllers/TimelineChartController.php
@@ -71,7 +71,7 @@ class TimelineChartController extends AbstractChart... | Apply fixes from StyleCI (#<I>) | fisharebest_webtrees | train | php |
0253d39c0188357c2956b9ca517c29c02433d223 | diff --git a/packages/math/src/Matrix.js b/packages/math/src/Matrix.js
index <HASH>..<HASH> 100644
--- a/packages/math/src/Matrix.js
+++ b/packages/math/src/Matrix.js
@@ -3,8 +3,8 @@ import Point from './Point';
/**
* The PixiJS Matrix class as an object, which makes it a lot faster,
* here is a representation of ... | Fix comment mistake for Matrix (#<I>) | pixijs_pixi.js | train | js |
b0eef4e427fc87826dd8abd59d09365abdfbedbb | diff --git a/daemon/daemon.go b/daemon/daemon.go
index <HASH>..<HASH> 100644
--- a/daemon/daemon.go
+++ b/daemon/daemon.go
@@ -1189,6 +1189,7 @@ func (daemon *Daemon) networkOptions(dconfig *Config, pg plugingetter.PluginGett
return options, nil
}
+ options = append(options, nwconfig.OptionExperimental(dconfig.E... | Pass daemon experiemental flag to libnetwork
Required to enable ipvlan experimental network driver | moby_moby | train | go |
e82eedcbf3a50013e30a5f3c9ff9aaf9a0ac721c | diff --git a/espncricinfo/match.py b/espncricinfo/match.py
index <HASH>..<HASH> 100644
--- a/espncricinfo/match.py
+++ b/espncricinfo/match.py
@@ -103,7 +103,7 @@ class Match(object):
def get_comms_json(self):
try:
- text = self.html.find_all('script')[13].get_text()
+ text = self.... | better comms_json parser | dwillis_python-espncricinfo | train | py,py |
568e9d6214a63117a7aef4b84a49c042e433d963 | diff --git a/lib/elasticity/job_flow.rb b/lib/elasticity/job_flow.rb
index <HASH>..<HASH> 100644
--- a/lib/elasticity/job_flow.rb
+++ b/lib/elasticity/job_flow.rb
@@ -145,7 +145,7 @@ module Elasticity
if !is_jobflow_running?
raise JobFlowNotStartedError, 'Cannot #shutdown a job flow that has not yet bee... | must be passed as an array to AWS | rslifka_elasticity | train | rb,rb |
426cb1b235603ee3ccdd2d5d6b3178db317fbf27 | diff --git a/core/lib/specUtils.js b/core/lib/specUtils.js
index <HASH>..<HASH> 100644
--- a/core/lib/specUtils.js
+++ b/core/lib/specUtils.js
@@ -99,13 +99,13 @@ module.exports.getSpecFromDir = function(dirPath, specFiles) {
*/
module.exports.getFullPathToSpec = function(urlPath){
var pathToSpec = parseSpecUrl... | fix included dirs rendering in sourcejs as npm module set-up | sourcejs_Source | train | js |
bead4b4e4b919292d7cdbde755ae98d0ccbb8c7a | diff --git a/CLI/polymath-cli.js b/CLI/polymath-cli.js
index <HASH>..<HASH> 100644
--- a/CLI/polymath-cli.js
+++ b/CLI/polymath-cli.js
@@ -8,6 +8,7 @@ var st20generator = require('./commands/ST20Generator');
var transfer = require('./commands/transfer');
var erc20explorer = require('./commands/checkpoint/erc20Explore... | Added strMigrator to CLI | PolymathNetwork_polymath-core | train | js |
e619bae8a44f63defbd773e6a93ec8aa895db35d | diff --git a/src/AbstractMessageDaemon.php b/src/AbstractMessageDaemon.php
index <HASH>..<HASH> 100644
--- a/src/AbstractMessageDaemon.php
+++ b/src/AbstractMessageDaemon.php
@@ -75,7 +75,7 @@ abstract class AbstractMessageDaemon
$shuttingDown = true;
$this->pre... | Fixed refernce to old MessageException | kael-shipman_php-executables | train | php |
94272025090035d930f70844a71f81f1ba18fdae | diff --git a/tests/unit/states/test_win_lgpo.py b/tests/unit/states/test_win_lgpo.py
index <HASH>..<HASH> 100644
--- a/tests/unit/states/test_win_lgpo.py
+++ b/tests/unit/states/test_win_lgpo.py
@@ -4,7 +4,6 @@
import copy
import salt.config
-import salt.ext.six as six
import salt.loader
import salt.states.win_lg... | Drop Py2 and six on tests/unit/states/test_win_lgpo.py | saltstack_salt | train | py |
11ac6c3adf30d092c0badb408b6fcee7b9fd3873 | diff --git a/lib/fastlane/actions/get_github_release.rb b/lib/fastlane/actions/get_github_release.rb
index <HASH>..<HASH> 100644
--- a/lib/fastlane/actions/get_github_release.rb
+++ b/lib/fastlane/actions/get_github_release.rb
@@ -30,13 +30,9 @@ module Fastlane
result.each do |current|
if current['t... | Removed old code from github_release action | fastlane_fastlane | train | rb |
7f1ef72f83bff7802d9c7c7f9c0a9b0b63329132 | diff --git a/salt/modules/dockerng.py b/salt/modules/dockerng.py
index <HASH>..<HASH> 100644
--- a/salt/modules/dockerng.py
+++ b/salt/modules/dockerng.py
@@ -548,7 +548,11 @@ def _get_docker_py_versioninfo():
def _get_client(**kwargs):
client_kwargs = {}
if 'client_timeout' in kwargs:
- client_kwargs... | Fix dockerng _get_client() regression
This fixes a regression I introduced the other day in #<I> when I
backported auth fixes to <I>. I changed how the client was
instantiated and ended up passing an unsupported kwarg to the wrapped
function. This resolves that regression. | saltstack_salt | train | py |
7c6841da697dda2cb90ed06148565c4f1746931d | diff --git a/dataviews/plotting/viewplots.py b/dataviews/plotting/viewplots.py
index <HASH>..<HASH> 100644
--- a/dataviews/plotting/viewplots.py
+++ b/dataviews/plotting/viewplots.py
@@ -339,7 +339,7 @@ class GridPlot(Plot):
def _grid_axis(self):
- fig = self.handles['fig']
+ fig = self.handles['... | Added fix to Grid when figure handle is not accessible | pyviz_holoviews | train | py |
f12047c45ceea3bb223118cc51a739d9bb0b8a88 | diff --git a/src/collectors/postgres/postgres.py b/src/collectors/postgres/postgres.py
index <HASH>..<HASH> 100644
--- a/src/collectors/postgres/postgres.py
+++ b/src/collectors/postgres/postgres.py
@@ -147,7 +147,7 @@ class DatabaseStats(QueryStats):
"""
Database-level summary stats
"""
- path = "%(d... | Fix stat name for database stats to be compatible with previous postgres collector | python-diamond_Diamond | train | py |
050f8e4e5a046f51dbbbb1c07c40b39df812bddc | diff --git a/test/plugins.js b/test/plugins.js
index <HASH>..<HASH> 100644
--- a/test/plugins.js
+++ b/test/plugins.js
@@ -151,8 +151,8 @@ describe('plugins', function() {
assert.propertyVal(entries['executable.sh'], 'externalFileAttributes', 2180972576);
assert.equal((entries['executable.sh'].externalFil... | test: account for windows being crap for permissions testing. | archiverjs_node-archiver | train | js |
690c6ffef9e804c8dcc7126198b8c206b2bfd1d3 | diff --git a/openquake/baselib/zeromq.py b/openquake/baselib/zeromq.py
index <HASH>..<HASH> 100644
--- a/openquake/baselib/zeromq.py
+++ b/openquake/baselib/zeromq.py
@@ -75,7 +75,7 @@ class Socket(object):
:param mode: default 'bind', accepts also 'connect'
:param timeout: default 1000 ms, used when polling ... | Increased timeout [skip CI] | gem_oq-engine | train | py |
60b7d90ad2822d8d38ff2124b1a020ed38d1d46f | diff --git a/src/main/java/io/github/swagger2markup/internal/component/PathOperationComponent.java b/src/main/java/io/github/swagger2markup/internal/component/PathOperationComponent.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/github/swagger2markup/internal/component/PathOperationComponent.java
+++ b/src/mai... | get label for operation.deprecated (#<I>) | Swagger2Markup_swagger2markup | train | java |
7afb55014e09186ec5b8e213c4f710d0e04b94b9 | diff --git a/wandb/sync.py b/wandb/sync.py
index <HASH>..<HASH> 100644
--- a/wandb/sync.py
+++ b/wandb/sync.py
@@ -105,7 +105,7 @@ class FileTailer(object):
def _thread_body(self):
while True:
data = self._file.read(1024)
- if data == '':
+ if not data:
... | Fix high-cpu usage when no new tailed lines. | wandb_client | train | py |
1b30c60f0760a16930e7aca518fdf278ec881da9 | diff --git a/charmhelpers/contrib/openstack/context.py b/charmhelpers/contrib/openstack/context.py
index <HASH>..<HASH> 100644
--- a/charmhelpers/contrib/openstack/context.py
+++ b/charmhelpers/contrib/openstack/context.py
@@ -181,7 +181,9 @@ class AMQPContext(OSContextGenerator):
# Sufficient info... | added ha_queues and check ha-vip-only | juju_charm-helpers | train | py |
99ec634c6be648bdd68633f560b6cda6bd75684a | diff --git a/salt/cloud/clouds/ec2.py b/salt/cloud/clouds/ec2.py
index <HASH>..<HASH> 100644
--- a/salt/cloud/clouds/ec2.py
+++ b/salt/cloud/clouds/ec2.py
@@ -961,10 +961,18 @@ def ssh_interface(vm_):
Return the ssh_interface type to connect to. Either 'public_ips' (default)
or 'private_ips'.
'''
- re... | validate ssh_interface for ec2
and default to public_ips | saltstack_salt | train | py |
ed8bb0aec81bf989f3ce91234dca2104b1936c59 | diff --git a/lib/flipper/gates/group.rb b/lib/flipper/gates/group.rb
index <HASH>..<HASH> 100644
--- a/lib/flipper/gates/group.rb
+++ b/lib/flipper/gates/group.rb
@@ -35,7 +35,7 @@ module Flipper
def description
if enabled?
- "groups (#{toggle.value.to_a.join(', ')})"
+ "groups (#{to... | Sort the toggle values for groups to avoid random ruby <I>.x fails. | jnunemaker_flipper | train | rb |
e4ae11d1eec7999b7ed711fd3c32831dad249ee9 | diff --git a/lib/utils.js b/lib/utils.js
index <HASH>..<HASH> 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -23,13 +23,6 @@ module.exports = {
// config: {template: , style: , script: }
// done(html, css, js)
function getConfig(id, basedir, config, done) {
- if (!config.template) {
- throw new Error("Missing t... | actually code is fine without guard.
zap unused vars which were causing the problem. | Strider-CD_strider-extension-loader | train | js |
a1dfd9936cf31487824d8925c6aa3da50a01eb77 | diff --git a/Classes/ViewHelpers/Format/JoinViewHelper.php b/Classes/ViewHelpers/Format/JoinViewHelper.php
index <HASH>..<HASH> 100644
--- a/Classes/ViewHelpers/Format/JoinViewHelper.php
+++ b/Classes/ViewHelpers/Format/JoinViewHelper.php
@@ -60,6 +60,6 @@ class JoinViewHelper extends AbstractViewHelper
$a... | Apply correct order for implode statement in JoinViewHelper | subugoe_typo3-find | train | php |
007e029ea35e29466bd40cc38de42d3c8eab70d3 | diff --git a/configure.py b/configure.py
index <HASH>..<HASH> 100755
--- a/configure.py
+++ b/configure.py
@@ -351,7 +351,7 @@ else:
except:
pass
if platform.is_mingw():
- cflags += ['-D_WIN32_WINNT=0x0501']
+ cflags += ['-D_WIN32_WINNT=0x0601']
ldflags = ['-L$builddir']
if pl... | Update WIN<I>_WINNT from 0x<I> (Windows XP) to 0x<I> (Windows 7) to support processor-group Windows API | ninja-build_ninja | train | py |
5c89c2d221888edaa5a8d4349023abacebcb7d54 | diff --git a/common/src/test/java/tachyon/security/PlainSaslServerTest.java b/common/src/test/java/tachyon/security/PlainSaslServerTest.java
index <HASH>..<HASH> 100644
--- a/common/src/test/java/tachyon/security/PlainSaslServerTest.java
+++ b/common/src/test/java/tachyon/security/PlainSaslServerTest.java
@@ -31,7 +31,... | [TACHYON-<I>] Add a class PlainSaslServer that implements the SaslServer interface -- fix the method name from setup to before | Alluxio_alluxio | train | java |
4d59dcaa25cccdd68b0fa5163d010a8bac04ce17 | diff --git a/jbpm-designer-client/src/main/java/org/jbpm/designer/client/shared/Assignment.java b/jbpm-designer-client/src/main/java/org/jbpm/designer/client/shared/Assignment.java
index <HASH>..<HASH> 100644
--- a/jbpm-designer-client/src/main/java/org/jbpm/designer/client/shared/Assignment.java
+++ b/jbpm-designer-cl... | BZ<I>: Do not create process variables for Source or Target in DataIOEditor if real variable doesn't exist | kiegroup_jbpm-designer | train | java |
50cd81beca14f1b9385363d5f9ffe826ce837709 | diff --git a/spec/models/thredded/topic_spec.rb b/spec/models/thredded/topic_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/models/thredded/topic_spec.rb
+++ b/spec/models/thredded/topic_spec.rb
@@ -28,13 +28,6 @@ module Thredded
expect { Topic.find_by_slug_with_user_topic_reads!('rubbish') }
.to raise_... | Remove a failing (R5) test that uses AR internals
Not much point in testing already-tested AR functionality | thredded_thredded | train | rb |
3450071619ee20b48cdbc0ec02370e24bf180d5d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ except IOError:
setup(
name='alpha_vantage',
- version='1.8.0',
+ version='1.8.1',
author='Romel J. Torres',
author_email='romel.torres@gmail.com',
license='MIT', | Preparing for release <I> | RomelTorres_alpha_vantage | train | py |
1111e5e7d6d8682ce94115589890b5b0aad17d7a | diff --git a/src/jukeboxcore/__init__.py b/src/jukeboxcore/__init__.py
index <HASH>..<HASH> 100644
--- a/src/jukeboxcore/__init__.py
+++ b/src/jukeboxcore/__init__.py
@@ -1,3 +1,3 @@
__author__ = 'David Zuber'
__email__ = 'zuber.david@gmx.de'
-__version__ = '1.0.4'
+__version__ = '1.0.5' | Bumped version number to <I> | JukeboxPipeline_jukebox-core | train | py |
8e1636067aab02b10480a3ed4373b2e3310156b6 | diff --git a/src/Biblys/Isbn/Isbn.php b/src/Biblys/Isbn/Isbn.php
index <HASH>..<HASH> 100644
--- a/src/Biblys/Isbn/Isbn.php
+++ b/src/Biblys/Isbn/Isbn.php
@@ -204,11 +204,7 @@ class Isbn
*/
public function validate()
{
- $errors = $this->_errors;
- if ($errors) {
- throw new \Ex... | Call Parser::parse in validate method | biblys_isbn | train | php |
1f969272be13a1a4b5b0dd329905b16df6949d13 | diff --git a/query-monitor.php b/query-monitor.php
index <HASH>..<HASH> 100644
--- a/query-monitor.php
+++ b/query-monitor.php
@@ -26,6 +26,9 @@ GNU General Public License for more details.
defined( 'ABSPATH' ) or die();
+if ( defined( 'QM_DISABLED' ) and QM_DISABLED )
+ return;
+
# No autoloaders for us. See htt... | Introduce a brutal iron-fisted ruler in the form of `QM_DISABLE` which has absolute power over the kingdom of Query Monitor | johnbillion_query-monitor | train | php,php |
6a957546073d61b8e1a2022fe5d64d32cb37d993 | diff --git a/angr/project_main.py b/angr/project_main.py
index <HASH>..<HASH> 100644
--- a/angr/project_main.py
+++ b/angr/project_main.py
@@ -83,7 +83,10 @@ class Project(ProjectBase): # pylint: disable=R0904,
if arch is None:
raise Exception("Architecture is None, this should not happen")
-... | allow arch to be specified as a SimArch instead of just a string | angr_angr | train | py |
d5d4baf65083a327dd29f10f26b780a6b9d1c5c9 | diff --git a/core/src/main/java/org/owasp/dependencycheck/analyzer/CocoaPodsAnalyzer.java b/core/src/main/java/org/owasp/dependencycheck/analyzer/CocoaPodsAnalyzer.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/owasp/dependencycheck/analyzer/CocoaPodsAnalyzer.java
+++ b/core/src/main/java/org/owasp/depen... | improve regex per #<I> to account for deps without a patch level | jeremylong_DependencyCheck | train | java |
8aa4c82c2821a54dae6b53a9762784a18169cc5c | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ if sys.version < "2.2.3":
# Workaround for problems caused by this import
# It's either this or hardcoding the version.
#from pyrax.version import version
-with file("pyrax/version.py") as vfile:
+with open("... | fix(setup): file() is deprecated. Use open. | pycontribs_pyrax | train | py |
f1f90735cccc5a06a57d6f3e70e20277b4b99284 | diff --git a/tests/test_methods.py b/tests/test_methods.py
index <HASH>..<HASH> 100644
--- a/tests/test_methods.py
+++ b/tests/test_methods.py
@@ -94,9 +94,15 @@ async def test_call_method_and_unpack_args(rpc_context, caplog):
async def ping():
return 'pong'
+ class ClsBasedViews:
+ @rpc.unpac... | Add test for cls-based-views | pengutronix_aiohttp-json-rpc | train | py |
e3cb9a7d750c130f1f358e928cc2dc6efc69bd3d | diff --git a/src/Illuminate/Filesystem/Filesystem.php b/src/Illuminate/Filesystem/Filesystem.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Filesystem/Filesystem.php
+++ b/src/Illuminate/Filesystem/Filesystem.php
@@ -554,6 +554,27 @@ class Filesystem
}
/**
+ * Remove all of the directories within ... | [<I>] Added deleteDirectories method (#<I>)
* Added deleteDirectories method
Added deleteDirectories() to easily remove all directories located in a specific directory.
* Update Filesystem.php
* Update Filesystem.php | laravel_framework | train | php |
f98cf72657a686960d6919d53e3b110d640f62ff | diff --git a/spec/cucumber/ast/table_spec.rb b/spec/cucumber/ast/table_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/cucumber/ast/table_spec.rb
+++ b/spec/cucumber/ast/table_spec.rb
@@ -359,7 +359,7 @@ module Cucumber
lambda { @t.dup.diff!(t, :missing_row => false) }.should_not raise_error
end
... | Added pending spec for bad behaviour | cucumber_cucumber-ruby | train | rb |
2672383926234e4c5a5b3f70ddf8494b039d153d | diff --git a/dpark/schedule.py b/dpark/schedule.py
index <HASH>..<HASH> 100644
--- a/dpark/schedule.py
+++ b/dpark/schedule.py
@@ -255,6 +255,20 @@ class Stage(object):
}
return res
+ def get_tree_stages(self):
+ stages = []
+ to_visit = [self]
+ seen = set()
+ while t... | Fix UI: get_stats only include stages for curr runJob. | douban_dpark | train | py |
1b0501cc2ceb11a2776a98f0b5b77bca81e22f52 | diff --git a/src/Bundle/Controller/Parameters.php b/src/Bundle/Controller/Parameters.php
index <HASH>..<HASH> 100644
--- a/src/Bundle/Controller/Parameters.php
+++ b/src/Bundle/Controller/Parameters.php
@@ -33,35 +33,15 @@ if (Kernel::MAJOR_VERSION === 6) {
return $result;
}
}
-} elseif (Kern... | [Maintenance] Drop Sf4 ACL on parameters class due to lack of its support | Sylius_SyliusResourceBundle | train | php |
57af7b230f3662ab45a71de2fc844b4a029807f8 | diff --git a/scripts/dccsend.py b/scripts/dccsend.py
index <HASH>..<HASH> 100644
--- a/scripts/dccsend.py
+++ b/scripts/dccsend.py
@@ -21,7 +21,7 @@ class DCCSend(irc.client.SimpleIRCClient):
self.receiver = receiver
self.filename = filename
self.filesize = os.path.getsize(self.filename)
- ... | DCC Send should open files in binary mode | jaraco_irc | train | py |
fc178e6d73240e887cd1bd9e16a29354e7f5d619 | diff --git a/lib/wifi.js b/lib/wifi.js
index <HASH>..<HASH> 100644
--- a/lib/wifi.js
+++ b/lib/wifi.js
@@ -21,6 +21,7 @@ const moduleOptions = {
socketServer: null,
workspace: null,
httpServer: null,
+ remoteIps: [],
connectionCount: 0,
logEmitter: new EventEmitter()
}; | Acquire the remote ip addresses of the clients. | dehuinet_minxing-devtools-core | train | js |
62d1786b1ef1c88a32f520ddbec5c5c0757cc9d7 | diff --git a/ezp/Content/Tests/FieldType/TextLineTest.php b/ezp/Content/Tests/FieldType/TextLineTest.php
index <HASH>..<HASH> 100644
--- a/ezp/Content/Tests/FieldType/TextLineTest.php
+++ b/ezp/Content/Tests/FieldType/TextLineTest.php
@@ -38,7 +38,7 @@ class TextLineTest extends PHPUnit_Framework_TestCase
public f... | Fixed: tests not adapted with the structure change | ezsystems_ezpublish-kernel | train | php |
2f84ee58865d42256b28a4bd674dd29535635bee | diff --git a/readers.py b/readers.py
index <HASH>..<HASH> 100644
--- a/readers.py
+++ b/readers.py
@@ -6,23 +6,36 @@
class AbstractReader(object):
"""
+ Reader, allows to read a file in two different ways:
+ - Read the whole file at once and return it as a string.
+ - Iterate over the file, one... | add open_file(), close_file() and docs | apastors_readers | train | py |
34fd190e008b423d0a9f74795d0dee3a704647ff | diff --git a/imagen/ndmapping.py b/imagen/ndmapping.py
index <HASH>..<HASH> 100644
--- a/imagen/ndmapping.py
+++ b/imagen/ndmapping.py
@@ -311,6 +311,7 @@ class NdIndexableMapping(param.Parameterized):
return len(self._data)
+
class NdMapping(NdIndexableMapping):
"""
NdMapping supports the same ... | Fixes and cleanup in ndmapping | pyviz_imagen | train | py |
60283ee666c4f25b94eb161b7b6613cb1eebaa14 | diff --git a/src/Graviton/DocumentBundle/Form/Type/DocumentType.php b/src/Graviton/DocumentBundle/Form/Type/DocumentType.php
index <HASH>..<HASH> 100644
--- a/src/Graviton/DocumentBundle/Form/Type/DocumentType.php
+++ b/src/Graviton/DocumentBundle/Form/Type/DocumentType.php
@@ -74,6 +74,8 @@ class DocumentType extends ... | Allow adding and removing stuff from collections | libgraviton_graviton | train | php |
d53b4ddfb08cd2751b2ef5ad576456b54124f8c0 | diff --git a/build/debian.rb b/build/debian.rb
index <HASH>..<HASH> 100644
--- a/build/debian.rb
+++ b/build/debian.rb
@@ -25,10 +25,10 @@
require 'phusion_passenger/constants'
require 'build/preprocessor'
-ALL_DISTRIBUTIONS = string_option("DEBIAN_DISTROS", "raring,quantal,precise,lucid").split(",")
+ALL_DISTRIBU... | Allow splitting DEBIAN_DISTROS and DEBIAN_ARCHS by whitespace and commas | phusion_passenger | train | rb |
95751e99f040e3f1bdbe671f74aef7a88e47660e | diff --git a/simpleclient/src/main/java/io/prometheus/client/CollectorRegistry.java b/simpleclient/src/main/java/io/prometheus/client/CollectorRegistry.java
index <HASH>..<HASH> 100644
--- a/simpleclient/src/main/java/io/prometheus/client/CollectorRegistry.java
+++ b/simpleclient/src/main/java/io/prometheus/client/Coll... | Added comment to filteredMetricFamilySamples to clarify behavior (#<I>) | prometheus_client_java | train | java |
9180de4f12610ff38932ec095a8fcc823828ea91 | diff --git a/pyuntl/untldoc.py b/pyuntl/untldoc.py
index <HASH>..<HASH> 100644
--- a/pyuntl/untldoc.py
+++ b/pyuntl/untldoc.py
@@ -211,16 +211,15 @@ def post2pydict(post, ignore_list):
)
)
# Create the UNTL element.
- if content != ''... | Simplify conditionals in creating untl element in post2pydict. | unt-libraries_pyuntl | train | py |
b8ce08c35ced8c83b358ddf0a8cdadf75dce6184 | diff --git a/ceph_deploy/install.py b/ceph_deploy/install.py
index <HASH>..<HASH> 100644
--- a/ceph_deploy/install.py
+++ b/ceph_deploy/install.py
@@ -423,6 +423,41 @@ def make(parser):
)
version.add_argument(
+ '--mon',
+ dest='install_mon',
+ action='store_true',
+ help='instal... | add all the flags to signal specific/combined component installation | ceph_ceph-deploy | train | py |
cca2d19a6a423c6439b12b170c7104befbb8c2ea | diff --git a/src/DataSource/DibiFluentDataSource.php b/src/DataSource/DibiFluentDataSource.php
index <HASH>..<HASH> 100644
--- a/src/DataSource/DibiFluentDataSource.php
+++ b/src/DataSource/DibiFluentDataSource.php
@@ -285,7 +285,12 @@ class DibiFluentDataSource extends FilterableDataSource implements IDataSource,
... | Fix for DibiFluent vs Dibi\Fluent sort | contributte_datagrid | train | php |
59e025b7af322eb55ea2eb62d65ed98d07a69b10 | diff --git a/lib/weixin_rails_middleware/engine.rb b/lib/weixin_rails_middleware/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/weixin_rails_middleware/engine.rb
+++ b/lib/weixin_rails_middleware/engine.rb
@@ -1,7 +1,25 @@
module WeixinRailsMiddleware
class Engine < ::Rails::Engine
+ include ConfigurationHelper... | added token_model_callback after initialize | lanrion_weixin_rails_middleware | train | rb |
be9b6778a0483f22440a32d7083f24f85ca7cb1c | diff --git a/kubespawner/spawner.py b/kubespawner/spawner.py
index <HASH>..<HASH> 100644
--- a/kubespawner/spawner.py
+++ b/kubespawner/spawner.py
@@ -358,7 +358,8 @@ class KubeSpawner(Spawner):
pod_connect_ip = Unicode(
config=True,
help="""
- Template to use to form The IP address (or ho... | Update pod_connect_ip comment | jupyterhub_kubespawner | train | py |
1b09d251d4e6b6426a1804b18fa33d585ca45886 | diff --git a/lib/active_record/author_stamp.rb b/lib/active_record/author_stamp.rb
index <HASH>..<HASH> 100644
--- a/lib/active_record/author_stamp.rb
+++ b/lib/active_record/author_stamp.rb
@@ -27,7 +27,7 @@ module ActiveRecord
private
- def create_record
+ def _create_record
if self.record_authors... | Fix activerecord integration to work in rails >= <I>
The method names have changed in activerecord.
Also see <URL> | verticonaut_ar-audit-tracer | train | rb |
558789a430b20e209e42295ddab56d8a43424d6b | diff --git a/js/lib/k6/html.js b/js/lib/k6/html.js
index <HASH>..<HASH> 100644
--- a/js/lib/k6/html.js
+++ b/js/lib/k6/html.js
@@ -62,6 +62,12 @@ export class Selection {
* @return {string}
*/
text() { return this.impl.Text(); }
+
+ /**
+ * Returns the value of the current selection
+ * @return
+ */
+ attr(... | Added attr() implementation
Implement attr() <URL> implementation is needed to implement the sample scripts. | loadimpact_k6 | train | js |
be65fec5607c059ec75415ee46b962300d2e0915 | diff --git a/salt/utils/path.py b/salt/utils/path.py
index <HASH>..<HASH> 100644
--- a/salt/utils/path.py
+++ b/salt/utils/path.py
@@ -6,7 +6,10 @@ lack of support for reading NTFS links.
# Import python libs
from __future__ import absolute_import, print_function, unicode_literals
-import collections
+try:
+ fro... | Porting PR #<I> to <I> | saltstack_salt | train | py |
56a4f13fb68de764b15f310742c2a640fe96475a | diff --git a/jumi-core/src/main/java/fi/jumi/core/StackTrace.java b/jumi-core/src/main/java/fi/jumi/core/StackTrace.java
index <HASH>..<HASH> 100644
--- a/jumi-core/src/main/java/fi/jumi/core/StackTrace.java
+++ b/jumi-core/src/main/java/fi/jumi/core/StackTrace.java
@@ -6,6 +6,10 @@ package fi.jumi.core;
import java... | Why the StackTrace class is necessary | luontola_jumi | train | java |
5173afbf04ee49997dc908694d54014d983f83fe | diff --git a/spec/github/repos/watching_spec.rb b/spec/github/repos/watching_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/github/repos/watching_spec.rb
+++ b/spec/github/repos/watching_spec.rb
@@ -10,6 +10,7 @@ describe Github::Repos::Watching do
describe "watchers" do
before do
+ github.oauth_token = ... | Ensure authentication is reset in watching api specs. | piotrmurach_github | train | rb |
7892aac4deb927145252b5dcc401e9c2b1d8f71b | diff --git a/pyModeS/extra/tcpclient.py b/pyModeS/extra/tcpclient.py
index <HASH>..<HASH> 100644
--- a/pyModeS/extra/tcpclient.py
+++ b/pyModeS/extra/tcpclient.py
@@ -282,6 +282,8 @@ class TcpClient(object):
# raise RuntimeError("test exception")
+ except zmq.error.Again:
+ ... | Continue reading from socket if no data received (#<I>)
Without this change, `modeslive` crashes if no data is available on the socket, which can happen during normal operation of a receiver if no aircraft are in range.
Tested on Python <I> | junzis_pyModeS | train | py |
2e760f93ece3b0dfd83c3ec90ac5760b6c08c766 | diff --git a/lib/virtualbox/vm.rb b/lib/virtualbox/vm.rb
index <HASH>..<HASH> 100644
--- a/lib/virtualbox/vm.rb
+++ b/lib/virtualbox/vm.rb
@@ -472,6 +472,7 @@ module VirtualBox
# as well
session = Lib.lib.session
interface.launch_vm_process(session, mode.to_s, "").wait
+ session.unlock_machine... | Properly unlock machine after launching VM | mitchellh_virtualbox | train | rb |
1dd82325897c10ee4be82e7a834f99f64e098ee6 | diff --git a/state/linklayerdevices_test.go b/state/linklayerdevices_test.go
index <HASH>..<HASH> 100644
--- a/state/linklayerdevices_test.go
+++ b/state/linklayerdevices_test.go
@@ -523,8 +523,12 @@ func (s *linkLayerDevicesStateSuite) TestMachineAllLinkLayerDevicesOnlyReturnsSa
results, err := s.machine.AllLinkLaye... | Fixes transient error in testing link-layer devices by doing an order
agnostic comparison. | juju_juju | train | go |
cb60b80242c041b409bf00227625e571751900e0 | diff --git a/cmd/cmd.go b/cmd/cmd.go
index <HASH>..<HASH> 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -330,7 +330,7 @@ func setup(app *ccli.App) {
}
}
-// Setup sets up a cli.App
+// Run executes the command line
func Run(options ...micro.Option) {
// get the app
app := cmd.App() | Update comment for cmd.Run | micro_micro | train | go |
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.