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 |
|---|---|---|---|---|---|
d8ed81fc69d17f1ff27d660965ec438e4e424e60 | diff --git a/Slim/Router.php b/Slim/Router.php
index <HASH>..<HASH> 100644
--- a/Slim/Router.php
+++ b/Slim/Router.php
@@ -355,7 +355,7 @@ class Router implements RouterInterface
public function pushGroup($pattern, $callable)
{
$group = new RouteGroup($pattern, $callable);
- array_push($this->... | Avoid function call overhead when adding a single group to an array | slimphp_Slim | train | php |
4d43fc94fb4fdfff67edf4cf9f9206ed7e97ed64 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -65,6 +65,7 @@ setuptools.setup(
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
+ "Programming Language ... | setup.py: Explicitly support Python 3 | niklasf_python-chess | train | py |
dc103007908d0cdfdf62bcc07dd01411436dc146 | diff --git a/src/main/java/mobi/boilr/libdynticker/core/Exchange.java b/src/main/java/mobi/boilr/libdynticker/core/Exchange.java
index <HASH>..<HASH> 100644
--- a/src/main/java/mobi/boilr/libdynticker/core/Exchange.java
+++ b/src/main/java/mobi/boilr/libdynticker/core/Exchange.java
@@ -19,7 +19,7 @@ public abstract cla... | Doubled connection timeout due to the lag of Chinese exchanges. | drpout_libdynticker | train | java |
90f8f7cc731362a957005bafc8687a197a64922c | diff --git a/src/Models/Unsorted.php b/src/Models/Unsorted.php
index <HASH>..<HASH> 100644
--- a/src/Models/Unsorted.php
+++ b/src/Models/Unsorted.php
@@ -120,7 +120,7 @@ class Unsorted extends Base
],
];
- if ($status_id) {
+ if ($status_id !== null) {
$parameters['un... | Hotfix status_id check in Unsorted | dotzero_amocrm-php | train | php |
f18c563cfab4baf88345d4a8b2f409093025cd05 | diff --git a/lib/adhearsion/call_controller.rb b/lib/adhearsion/call_controller.rb
index <HASH>..<HASH> 100644
--- a/lib/adhearsion/call_controller.rb
+++ b/lib/adhearsion/call_controller.rb
@@ -86,7 +86,7 @@ module Adhearsion
end
def bg_exec(completion_callback = nil)
- Thread.new do
+ Celluloid.... | [CS] Use Celluloid's thread pool for CallControllers | adhearsion_adhearsion | train | rb |
bfa8306633da9c2500e4f3e190c81a9827a8f95a | diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js
index <HASH>..<HASH> 100644
--- a/src/ajax/ajax.js
+++ b/src/ajax/ajax.js
@@ -669,6 +669,8 @@ jQuery.extend({
ajax: function( type, url, data, ret, ifModified ) {
// If only a single argument was passed in,
// assume that it is a object of key/value pairs
+ var ... | Fix for #<I>: Initialize defaults for global and timeout properly when $.ajax is called internally (argument list instead of hash) | jquery_jquery | train | js |
7601e26360226e77c4c8d631227a248e7a81afc2 | diff --git a/scripts/serverless.js b/scripts/serverless.js
index <HASH>..<HASH> 100755
--- a/scripts/serverless.js
+++ b/scripts/serverless.js
@@ -516,7 +516,10 @@ const processSpanPromise = (async () => {
}
await resolveVariables(resolverConfiguration);
- if (!variablesMeta.size) return;
+ ... | refactor(Variables): Do not run old resolver when not needed | serverless_serverless | train | js |
ebf280b53155de7f3167fdfff01478d723fa86c0 | diff --git a/tests/tests.js b/tests/tests.js
index <HASH>..<HASH> 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -53,6 +53,7 @@ exports.defineAutoTests = function () {
// flags
var isWindows = cordova.platformId === "windows8" || cordova.platformId === "windows";
+ var isWindowsPhone81 = isWindows &... | CB-<I> Increased the array length for ios and winstore even more | apache_cordova-plugin-file-transfer | train | js |
b7d632c6ebbf95cdfd141385b7152f365ca51e9b | diff --git a/services/amo/amo-downloads.tester.js b/services/amo/amo-downloads.tester.js
index <HASH>..<HASH> 100644
--- a/services/amo/amo-downloads.tester.js
+++ b/services/amo/amo-downloads.tester.js
@@ -9,7 +9,7 @@ const t = (module.exports = new ServiceTester({
}))
t.create('Weekly Downloads')
- .get('/dw/Ind... | Make [AmoDownloads] test more reliable (#<I>)
Close #<I> | badges_shields | train | js |
ab1d8b8c2af72967c8155aadeb3dea3274c1b15b | diff --git a/py/nupic/swarming/permutations_runner.py b/py/nupic/swarming/permutations_runner.py
index <HASH>..<HASH> 100644
--- a/py/nupic/swarming/permutations_runner.py
+++ b/py/nupic/swarming/permutations_runner.py
@@ -198,6 +198,11 @@ def _generateExpFilesFromSwarmDescription(swarmDescriptionJson, outDir):
de... | Handle the case where permWorkDir doesn't exist | numenta_nupic | train | py |
6dae520a7959e1fb0bd3bf0cb21186a28d0948a6 | diff --git a/openquake/calculators/ucerf_base.py b/openquake/calculators/ucerf_base.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/ucerf_base.py
+++ b/openquake/calculators/ucerf_base.py
@@ -193,7 +193,7 @@ class UCERFSource(BaseSeismicSource):
self.mesh_spacing = mesh_spacing
self.tectoni... | Fixed filtered out sources [demos]
Former-commit-id: <I>dd<I>ff6a<I>aab<I>f2cf<I>bbed<I>f<I>fc6c | gem_oq-engine | train | py,py |
5d3200bbb2946d5933a010f4d5a8debdc0abc845 | diff --git a/src/test/java/com/mailosaur/ServersTest.java b/src/test/java/com/mailosaur/ServersTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/mailosaur/ServersTest.java
+++ b/src/test/java/com/mailosaur/ServersTest.java
@@ -69,7 +69,6 @@ public class ServersTest {
assertEquals(retrievedServer.password... | remove check for forwardingrules property | mailosaur_mailosaur-java | train | java |
c67f889b203b60122a1211dd6a735c54b013ce70 | diff --git a/zap/src/main/java/org/parosproxy/paros/view/AbstractParamContainerPanel.java b/zap/src/main/java/org/parosproxy/paros/view/AbstractParamContainerPanel.java
index <HASH>..<HASH> 100644
--- a/zap/src/main/java/org/parosproxy/paros/view/AbstractParamContainerPanel.java
+++ b/zap/src/main/java/org/parosproxy/p... | Show child panel if parent node has none
Show the panel of the child node when the parent node does not have
one. | zaproxy_zaproxy | train | java |
3f8a714f360edc9148e4dee1a36d374bf9e35c12 | diff --git a/lib/db/upgradelib.php b/lib/db/upgradelib.php
index <HASH>..<HASH> 100644
--- a/lib/db/upgradelib.php
+++ b/lib/db/upgradelib.php
@@ -590,13 +590,13 @@ function upgrade_calculated_grade_items($courseid = null) {
$siteminmaxtouse = $CFG->grade_minmaxtouse;
$courseidsql = "SELECT ns.id
... | MDL-<I> gradebook: Oracle fix for string compare.
Update to upgradelib.php where string comparisions cause
phpunit failures in Oracle. | moodle_moodle | train | php |
3680c7f52ff8f6122cf63fec2968f882d94a47e5 | diff --git a/core/src/main/java/com/google/bitcoin/core/ECKey.java b/core/src/main/java/com/google/bitcoin/core/ECKey.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/google/bitcoin/core/ECKey.java
+++ b/core/src/main/java/com/google/bitcoin/core/ECKey.java
@@ -323,12 +323,17 @@ public class ECKey implemen... | Restrict scope of NPE check for Bouncy Castle bug. | bitcoinj_bitcoinj | train | java |
fa934fe818a5b1feaefff268d7c975c46110bfc7 | diff --git a/editgedcoms.php b/editgedcoms.php
index <HASH>..<HASH> 100644
--- a/editgedcoms.php
+++ b/editgedcoms.php
@@ -351,11 +351,14 @@ if (WT_USER_IS_ADMIN) {
'</tr></table><br/>';
// display link to PGV-WT transfer wizard on first visit to this page, before any GEDCOM is loaded
- if (count($gedcoms) =... | Don't show link to PGV->WT transfer wizard after we have added any users. | fisharebest_webtrees | train | php |
dd21e6574df7fd286c5ff812201040560feed025 | diff --git a/lib/incoming.js b/lib/incoming.js
index <HASH>..<HASH> 100644
--- a/lib/incoming.js
+++ b/lib/incoming.js
@@ -5,6 +5,7 @@ const FIN = 0x80;
const RSV1 = 0x40;
const RSV2 = 0x20;
const RSV3 = 0x10;
+const RSV_ALL = RSV1 | RSV2 | RSV3;
const OPCODE = 0x0f;
const MAS... | make RSV flag a little bit more efficient
make RSV flag a little bit more efficient | bodokaiser_node-walve | train | js |
9e3b93e6cba9544750f069236bd6dbdbab5b2088 | diff --git a/sandbox/benchmarks.py b/sandbox/benchmarks.py
index <HASH>..<HASH> 100644
--- a/sandbox/benchmarks.py
+++ b/sandbox/benchmarks.py
@@ -213,7 +213,6 @@ def _run_tests(tests, number, table=None):
print('%-35s %s' % (name, result))
if table is not None:
table.append((name, '%.2f'... | Removed WS (PEP8) | heuer_segno | train | py |
7b9f61fd4dd45e0b4ccbacc324c854b03df36691 | diff --git a/leonardo/module/web/processors/config.py b/leonardo/module/web/processors/config.py
index <HASH>..<HASH> 100644
--- a/leonardo/module/web/processors/config.py
+++ b/leonardo/module/web/processors/config.py
@@ -44,7 +44,7 @@ class ContextConfig(dict):
else:
return func
- ... | Use our method for getting attribute from main config. | django-leonardo_django-leonardo | train | py |
96f1f35628cf01645e87ae00341429d52dac0626 | diff --git a/lib/marked.js b/lib/marked.js
index <HASH>..<HASH> 100644
--- a/lib/marked.js
+++ b/lib/marked.js
@@ -41,12 +41,12 @@ block.list = replace(block.list)
block._tag = '(?!(?:'
+ 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code'
+ '|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo'
- + '|span|br|w... | do not tokenize emails as html. fixes #<I> again. | remarkjs_remark | train | js |
237128003969b03b3ff3fefde08e24af26ba8587 | diff --git a/unstdlib/standard/os_.py b/unstdlib/standard/os_.py
index <HASH>..<HASH> 100644
--- a/unstdlib/standard/os_.py
+++ b/unstdlib/standard/os_.py
@@ -24,10 +24,9 @@ class chdir(object):
def __init__(self, new_path, old_path=None):
self.old_path = old_path or os.getcwd()
self.new_path = n... | Whoops, don't chdir twice | shazow_unstdlib.py | train | py |
a9149d7cb62db3873dadfa10ef4caf8f7334a8b9 | diff --git a/rinoh/style.py b/rinoh/style.py
index <HASH>..<HASH> 100644
--- a/rinoh/style.py
+++ b/rinoh/style.py
@@ -702,7 +702,7 @@ class StyleParseError(Exception):
def parse_selector_args(selector_args):
args, kwargs = [], {}
- chars = iter(selector_args)
+ chars = CharIterator(selector_args)
wh... | CharIterator: allow "rewinding" the char iterator | brechtm_rinohtype | train | py |
85c06f64cdb2a7934177a812bd514e3bcc267c49 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -8,7 +8,8 @@
* @param {Object} properties
* @return {Point} output
* @example
- * var pt1 = turf.point(-75.343, 39.984)
+ * var pt1 = turf.point(-75.343, 39.984);
+ * //=pt1
*/
module.exports = function(x, y, properti... | Make example work with rpl | turf-junkyard_turf-point | train | js |
ac56c73c86cccfc730869e3db9aa48525f8b1aac | diff --git a/Traits/Copy.php b/Traits/Copy.php
index <HASH>..<HASH> 100644
--- a/Traits/Copy.php
+++ b/Traits/Copy.php
@@ -25,7 +25,7 @@ use Axstrad\Component\Content\Exception\InvalidArgumentException;
trait Copy
{
/**
- * @var string $copy The copy
+ * @var null|string $copy The copy
*/
prot... | Document that Copy::$copy can be set to null | dankempster_axstrad-content | train | php |
6fc1a9f944b58cf84670e81ecbe8a5e6a7e2f9d3 | diff --git a/liquibase-core/src/main/java/liquibase/diff/output/changelog/DiffToChangeLog.java b/liquibase-core/src/main/java/liquibase/diff/output/changelog/DiffToChangeLog.java
index <HASH>..<HASH> 100644
--- a/liquibase-core/src/main/java/liquibase/diff/output/changelog/DiffToChangeLog.java
+++ b/liquibase-core/src/... | Experimental ordering of views in mssql: Don't include if reference points to itself (like for a cross-database reference) | liquibase_liquibase | train | java |
2d3f1d9f5cf78a3c5911b8e1cf0fe890c0e77445 | diff --git a/framework/core/src/Notification/Notification.php b/framework/core/src/Notification/Notification.php
index <HASH>..<HASH> 100644
--- a/framework/core/src/Notification/Notification.php
+++ b/framework/core/src/Notification/Notification.php
@@ -102,7 +102,7 @@ class Notification extends AbstractModel
*/... | Fix notifications crash
When loading notifications, $this->type was null and thus array_get
was returning an array instead of null. I assume this issue was
introduced in a Laravel version upgrade? Anyway, this fixes it. | flarum_core | train | php |
26e0c48ef709b16b373313289b69311cd5301e1f | diff --git a/lib/stan.js b/lib/stan.js
index <HASH>..<HASH> 100644
--- a/lib/stan.js
+++ b/lib/stan.js
@@ -165,7 +165,6 @@ Stan.prototype.parseOptions = function(opts) {
this.assignOption(opts, 'client', 'name');
this.assignOption(opts, 'yieldTime');
this.assignOption(opts, 'waitOnFirstConnect');
- th... | [FIX] #<I> - the json option is a no-op. NATS streaming uses protobufs. (#<I>) | nats-io_node-nats-streaming | train | js |
8469eb279a259863bfbf69e29322bd9e08a1142a | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -9,11 +9,9 @@ except ImportError:
from setuptools import setup, find_packages
-version = __import__('rollyourown.seo').get_version().replace(" ", "-")
-
setup(
name = "Django SEO",
- version = version,
+ versi... | Getting setup.py to avoid importing django etc. | willhardy_django-seo | train | py |
e84f0a4b5cb8ff976392a45b645397a7ba7db065 | diff --git a/src/Illuminate/Validation/Factory.php b/src/Illuminate/Validation/Factory.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Validation/Factory.php
+++ b/src/Illuminate/Validation/Factory.php
@@ -112,6 +112,22 @@ class Factory implements FactoryContract
}
/**
+ * Validate the given data a... | Add a validate method to the validation factory | laravel_framework | train | php |
48a656f87adb19aa41a4e2aa9bc4ac19eebbe9e1 | diff --git a/js/coinone.js b/js/coinone.js
index <HASH>..<HASH> 100644
--- a/js/coinone.js
+++ b/js/coinone.js
@@ -113,10 +113,14 @@ module.exports = class coinone extends Exchange {
async fetchBalance (params = {}) {
let response = await this.privatePostAccountBalance ();
let result = { 'info': ... | coinone fetchBalance filter for errorCode and result fix #<I> | ccxt_ccxt | train | js |
d9a9bfc9c7bee2e4316debcd9f393b8f2fb1e45a | diff --git a/container.go b/container.go
index <HASH>..<HASH> 100644
--- a/container.go
+++ b/container.go
@@ -135,6 +135,7 @@ type NetworkSettings struct {
IpAddress string
IpPrefixLen int
Gateway string
+ Bridge string
PortMapping map[string]string
}
@@ -491,6 +492,7 @@ func (container *Containe... | Make LXC aware of custom bridge | moby_moby | train | go,go |
4c99d839db9f68dcd6ce0b3da73ea091d12cddf9 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -2,7 +2,7 @@ const _ = require("lodash");
module.exports = function omitDeepLodash(input, props) {
function omitDeepOnOwnProps(obj) {
- if (!_.isArray(obj) && !_.isObject(obj)) {
+ if (!_.isArray(ob... | Check objects with isPlainObject
`isObject()` returns true for any object in payload. For example for `Promise` . payload may contain not only POJO from json, but any other data. Using `isObject()` malforms such payloads | odynvolk_omit-deep-lodash | train | js |
faa7becc5b772f7db3d050663dcea3766fd87306 | diff --git a/pyontutils/ttlfmt.py b/pyontutils/ttlfmt.py
index <HASH>..<HASH> 100755
--- a/pyontutils/ttlfmt.py
+++ b/pyontutils/ttlfmt.py
@@ -25,6 +25,7 @@ Options:
import os
import sys
from io import StringIO, TextIOWrapper
+from json.decoder import JSONDecodeError
from docopt import docopt
import rdflib
from r... | ttlfmt added JSONDecodeError to the acceptable errors so we don't always fail while trying additional parsers | tgbugs_pyontutils | train | py |
955819d2920dc033d9cc2c86baef422643f18c68 | diff --git a/resolvers/SenchaJSBuilder.js b/resolvers/SenchaJSBuilder.js
index <HASH>..<HASH> 100644
--- a/resolvers/SenchaJSBuilder.js
+++ b/resolvers/SenchaJSBuilder.js
@@ -83,8 +83,8 @@ SenchaJSBuilder.prototype = {
type: 'JavaScript',
isDirty: true,
... | SenchaJSBuilder resolver: Fixed url of ext-base.js | assetgraph_assetgraph | train | js |
c303ab976b70962d83fb4acbaf156b84ced207f6 | diff --git a/lib/rails_best_practices/command.rb b/lib/rails_best_practices/command.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_best_practices/command.rb
+++ b/lib/rails_best_practices/command.rb
@@ -44,7 +44,7 @@ OptionParser.new do |opts|
opts.on("--with-textmate", "open file by textmate in html format") do
... | output warning if directory doesn't exist | flyerhzm_rails_best_practices | train | rb |
d85a6a349399aae283e8be144dee104cfb20879f | diff --git a/src/Environment.php b/src/Environment.php
index <HASH>..<HASH> 100644
--- a/src/Environment.php
+++ b/src/Environment.php
@@ -23,29 +23,20 @@ class Environment {
return false;
}
- if (
- in_array(
- strtolower($environment), ['development','dev','d']
- )
- ){
- App::bind('environment','... | refactor set env with switch case | jpuck_qdbp | train | php |
277648dde791da39e4e4e384acfce037b7f02081 | diff --git a/phy/detect/tests/test_store.py b/phy/detect/tests/test_store.py
index <HASH>..<HASH> 100644
--- a/phy/detect/tests/test_store.py
+++ b/phy/detect/tests/test_store.py
@@ -129,4 +129,5 @@ def test_spikedetekt_store(tempdir):
else:
assert data is None
- store.spi... | Test spike counts with spike detection store. | kwikteam_phy | train | py |
770229ae7ad9801b74cd46f0c47ce776c70ab710 | diff --git a/src/main/java/tachyon/worker/Worker.java b/src/main/java/tachyon/worker/Worker.java
index <HASH>..<HASH> 100644
--- a/src/main/java/tachyon/worker/Worker.java
+++ b/src/main/java/tachyon/worker/Worker.java
@@ -200,7 +200,7 @@ public class Worker implements Runnable {
} else {
masterLocation = a... | Bug fix (thanks Nick Lanham) | Alluxio_alluxio | train | java |
3edbb364feb8a0c5b857862d31556bab8cb076a2 | diff --git a/core/frontend/helpers/comments.js b/core/frontend/helpers/comments.js
index <HASH>..<HASH> 100644
--- a/core/frontend/helpers/comments.js
+++ b/core/frontend/helpers/comments.js
@@ -11,7 +11,7 @@ async function comments() {
const frontendKey = await getFrontendKey();
const data = {
- gho... | Renamed data-ghost attribute on comments script | TryGhost_Ghost | train | js |
a38b1103b3421ad33e0cbeb5d079192d15e76079 | diff --git a/core/src/main/java/jenkins/model/ArtifactManager.java b/core/src/main/java/jenkins/model/ArtifactManager.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/jenkins/model/ArtifactManager.java
+++ b/core/src/main/java/jenkins/model/ArtifactManager.java
@@ -71,10 +71,9 @@ public abstract class Artifact... | Clarifying that archiving may be run on technically completed builds. | jenkinsci_jenkins | train | java |
0a9ee9360c81e12e2a09de6aa76e7c7d2a5a4eee | diff --git a/lib/ditty/controllers/component.rb b/lib/ditty/controllers/component.rb
index <HASH>..<HASH> 100644
--- a/lib/ditty/controllers/component.rb
+++ b/lib/ditty/controllers/component.rb
@@ -29,7 +29,7 @@ module Ditty
format.json do
# TODO: Add links defined by actions (New #{heading})
... | fix: Use all, instead of map, because can't run new query within connection. See Dataset#each | EagerELK_ditty | train | rb |
e311f784021970392716c8004e858625839019b0 | diff --git a/lib/ffprobe.js b/lib/ffprobe.js
index <HASH>..<HASH> 100644
--- a/lib/ffprobe.js
+++ b/lib/ffprobe.js
@@ -105,6 +105,8 @@ module.exports = function(proto) {
return callback(new Error('Cannot run ffprobe on stream input'));
}
+ var args = ['-show_streams', '-show_format'].concat(this._curre... | Allow passing additional output options for ffprobe | fluent-ffmpeg_node-fluent-ffmpeg | train | js |
c5ae4db8071595152a78b4dc2cb66931efd6a735 | diff --git a/Tests/IntegrationTest.php b/Tests/IntegrationTest.php
index <HASH>..<HASH> 100644
--- a/Tests/IntegrationTest.php
+++ b/Tests/IntegrationTest.php
@@ -14,7 +14,7 @@ namespace Geocoder\Provider\IpInfo\Tests;
use Geocoder\IntegrationTest\ProviderIntegrationTest;
use Geocoder\Provider\IpInfo\IpInfo;
-use H... | Expect a PSR-<I> client instead of a PHP-HTTP client (#<I>)
* Expect a PSR-<I> client instead of a PHP-HTTP client
* Update integration tests | geocoder-php_ip-info-provider | train | php |
79b334ccd3ea1d0d7c20a61d1a1d408c09d668f0 | diff --git a/admin_site_upgrade.php b/admin_site_upgrade.php
index <HASH>..<HASH> 100644
--- a/admin_site_upgrade.php
+++ b/admin_site_upgrade.php
@@ -377,7 +377,7 @@ echo '</li>'; flush();
echo '<li>', WT_I18N::translate('Check file permissions…');
$iterator = new RecursiveDirectoryIterator($zip_dir);
-$iterator->... | Don't skip files beginning with a dot when checking permissions | fisharebest_webtrees | train | php |
ed6eaf161683f3f2f6665e6b110261e1ef90c726 | diff --git a/msm/mycroft_skills_manager.py b/msm/mycroft_skills_manager.py
index <HASH>..<HASH> 100644
--- a/msm/mycroft_skills_manager.py
+++ b/msm/mycroft_skills_manager.py
@@ -131,8 +131,11 @@ class MycroftSkillsManager(object):
local_skill_dict = {s.name: s for s in local_skills}
for s in skills... | Fix upgrade to version 2 when skill isn't local
If a failed skill install was upgraded the upgrade would error. This
handles that case. | MycroftAI_mycroft-skills-manager | train | py |
f5f18d23e9a359b1005557c74cbdb4a57a177001 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -128,8 +128,9 @@ func (codec *clientCodec) ReadResponseBody(v interface{}) (err error) {
}
func (codec *clientCodec) Close() error {
- transport := codec.httpClient.Transport.(*http.Transport)
- transport.CloseIdleConn... | don't assume http.RoundTripper is http.Transport | kolo_xmlrpc | train | go |
64f16474f8331154fcd7b5bab593f62ee60f81a9 | diff --git a/common/step_download.go b/common/step_download.go
index <HASH>..<HASH> 100644
--- a/common/step_download.go
+++ b/common/step_download.go
@@ -171,12 +171,20 @@ func (s *StepDownload) download(ctx context.Context, ui packer.Ui, source string
// could guess it only in cases it is
// necessary.
}
+ sr... | fix double slash conundrum | hashicorp_packer | train | go |
eb5034d5b0c54651beee345590b17a1040d67f9c | diff --git a/compact.go b/compact.go
index <HASH>..<HASH> 100644
--- a/compact.go
+++ b/compact.go
@@ -414,6 +414,8 @@ func (c *LeveledCompactor) Compact(dest string, dirs []string, open []*Block) (u
}
func (c *LeveledCompactor) Write(dest string, b BlockReader, mint, maxt int64, parent *BlockMeta) (ulid.ULID, erro... | Additional logging in compact.go - logged time needed for writing blocks (#<I>)
* Additional logging in compact.go - logged time needed for writing blocks to disk | prometheus_prometheus | train | go |
dcabc0e3431ccff56b20caef7f7805e49a6aac13 | diff --git a/src/java/org/apache/cassandra/tools/NodeProbe.java b/src/java/org/apache/cassandra/tools/NodeProbe.java
index <HASH>..<HASH> 100644
--- a/src/java/org/apache/cassandra/tools/NodeProbe.java
+++ b/src/java/org/apache/cassandra/tools/NodeProbe.java
@@ -269,10 +269,16 @@ public class NodeProbe
... | print right side of range in nodeprobe ring output
Patch by Sammy Yu and Michael Greene; reviewed by eevans for CASSANDRA-<I>
git-svn-id: <URL> | Stratio_stratio-cassandra | train | java |
939091e78e2abf4cb0108c6b91368b2672bba888 | diff --git a/micrometer-core/src/main/java/io/micrometer/core/instrument/step/StepCounter.java b/micrometer-core/src/main/java/io/micrometer/core/instrument/step/StepCounter.java
index <HASH>..<HASH> 100644
--- a/micrometer-core/src/main/java/io/micrometer/core/instrument/step/StepCounter.java
+++ b/micrometer-core/src... | Fix StepCounter JavaDoc rate per step
It is only a rate per second if the step interval is one second.
Resolves gh-<I> | micrometer-metrics_micrometer | train | java |
bfeca930d1797e02c80da929805ea17c045f0ba1 | diff --git a/pydot.py b/pydot.py
index <HASH>..<HASH> 100644
--- a/pydot.py
+++ b/pydot.py
@@ -1773,13 +1773,14 @@ class Dot(Graph):
def create(self, prog=None, format='ps'):
- """Creates and returns a Postscript representation of the graph.
+ """Creates and returns a binary image for the graph.
... | DOC: emphasize that method `Dot.create` returns binary images as bytes | pydot_pydot | train | py |
7cb709d755902b9864e61685b55c5c98e0c1118b | diff --git a/src/main/java/org/metacsp/utility/UI/TrajectoryEnvelopeAnimator.java b/src/main/java/org/metacsp/utility/UI/TrajectoryEnvelopeAnimator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/metacsp/utility/UI/TrajectoryEnvelopeAnimator.java
+++ b/src/main/java/org/metacsp/utility/UI/TrajectoryEnvelopeAni... | Fixed bug in TrajecotryEnvelopeAnimator (showing trajectory info for up to numRobots) | FedericoPecora_meta-csp-framework | train | java |
911cb2927cd1e48dc41279bb6f8cb1d75a0aabbf | diff --git a/tests/FunctionalExampleTest.php b/tests/FunctionalExampleTest.php
index <HASH>..<HASH> 100644
--- a/tests/FunctionalExampleTest.php
+++ b/tests/FunctionalExampleTest.php
@@ -96,9 +96,9 @@ class FunctionalExampleTest extends TestCase
$this->assertEquals('', $output);
}
- public function t... | Refactor executing functional tests without ext-readline
Instead of executing without *any* extensions, we explicitly execute
without just the readline functions. This is necessary because Composer
2 now complains when its required extensions are not available. | clue_reactphp-stdio | train | php |
341b61c3cb22cf1c87eead96e952f34f8fa50038 | diff --git a/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFixes.java b/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFixes.java
index <HASH>..<HASH> 100644
--- a/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFixes.java
+++ b/check_api/src/main/java/com/google/errorprone/fix... | Remove a leftover print statement
RELNOTES: N/A
-------------
Created by MOE: <URL> | google_error-prone | train | java |
59dd0c35d9d6fdff889ba7f5f68f54129297cf16 | diff --git a/symphony/content/content.blueprintssections.php b/symphony/content/content.blueprintssections.php
index <HASH>..<HASH> 100644
--- a/symphony/content/content.blueprintssections.php
+++ b/symphony/content/content.blueprintssections.php
@@ -361,7 +361,7 @@
if(is_array($fields) && !empty($fields)){
fo... | Added field handle (type) names to HTML for easier field-specific styling of displaySettingsPanel content | symphonycms_symphony-2 | train | php |
39db1b10dc4b160cfa14b742dadf813ef0431e92 | diff --git a/src/Support/helpers.php b/src/Support/helpers.php
index <HASH>..<HASH> 100644
--- a/src/Support/helpers.php
+++ b/src/Support/helpers.php
@@ -34,12 +34,12 @@ if (! function_exists('intend')) {
/**
* Return redirect response.
*
- * @param array $arguments
- * @param int $status
+ ... | Set default status code to null, we'll handle it! | rinvex_laravel-support | train | php |
d80b2d74644f844ea7aa2ca0faae23625b1699da | diff --git a/python/lib/uploader.py b/python/lib/uploader.py
index <HASH>..<HASH> 100644
--- a/python/lib/uploader.py
+++ b/python/lib/uploader.py
@@ -246,8 +246,8 @@ def upload_file(filepath, url, permission, signature, key=None, root):#TODO , th
response = None
try:
- "request = urllib2... | add: comment out the actual upload during development | mapillary_mapillary_tools | train | py |
f717442d90e453fe45c1beeebc6866325f691416 | diff --git a/app/Functions/Functions.php b/app/Functions/Functions.php
index <HASH>..<HASH> 100644
--- a/app/Functions/Functions.php
+++ b/app/Functions/Functions.php
@@ -690,7 +690,7 @@ class Functions {
return I18N::translate('husband');
case 'wif':
- if ($person1 && $person1) {
+ if ($person1 && $person... | fix typo (#<I>) | fisharebest_webtrees | train | php |
ac578958d5f794b0838f2aacdb8117190cff5758 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ core = load_source("core", "w1thermsensor/__init__.py")
setup(
name="w1thermsensor",
version=core.__version__,
- license="MIT",
+ license="GPLv2",
description="This little pure python module ... | change version in setup.py to GPLv2 | timofurrer_w1thermsensor | train | py |
f10e43fd471784b75770511c25c560d2af7d7fbe | diff --git a/flask_mwoauth/__init__.py b/flask_mwoauth/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_mwoauth/__init__.py
+++ b/flask_mwoauth/__init__.py
@@ -74,8 +74,7 @@ class MWOAuth(object):
if 'next' in request.args:
oauth_token = session[self.mwoauth.name + '_oauthtok'][0]
- ... | If the wrong token is passed, handle the session KeyError. Remove unnecessary quoting. | valhallasw_flask-mwoauth | train | py |
2660b94e2ffd9380aea24de031c591507d7c3016 | diff --git a/detect_secrets/filters/allowlist.py b/detect_secrets/filters/allowlist.py
index <HASH>..<HASH> 100644
--- a/detect_secrets/filters/allowlist.py
+++ b/detect_secrets/filters/allowlist.py
@@ -75,6 +75,9 @@ def _get_allowlist_regexes(comment_tuple: Tuple[str, str], nextline: bool) -> Pa
return re.compile... | Update detect_secrets/filters/allowlist.py | Yelp_detect-secrets | train | py |
6a3c326314825e131393e0610647016d02edcfb3 | diff --git a/lib/lanes/api/request_wrapper.rb b/lib/lanes/api/request_wrapper.rb
index <HASH>..<HASH> 100644
--- a/lib/lanes/api/request_wrapper.rb
+++ b/lib/lanes/api/request_wrapper.rb
@@ -37,7 +37,7 @@ module Lanes
params[:nested_attribute] = Hash[ options[:parent_attribute],
... | use reverse_merge so provided options are retained | argosity_hippo | train | rb |
b336f250a461ac34e077e516b88ac5ec2fe88744 | diff --git a/peek_plugin_base/__init__.py b/peek_plugin_base/__init__.py
index <HASH>..<HASH> 100644
--- a/peek_plugin_base/__init__.py
+++ b/peek_plugin_base/__init__.py
@@ -1,4 +1,4 @@
__project__ = 'Synerty Peek'
__copyright__ = '2016, Synerty'
__author__ = 'Synerty'
-__version__ = '0.7.1'
\ No newline at end of ... | Updated to version <I> | Synerty_peek-plugin-base | train | py,py |
0ae4369da477bbcb6230a421ad5d067e38904d3a | diff --git a/elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/stages/AbstractReasonerState.java b/elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/stages/AbstractReasonerState.java
index <HASH>..<HASH> 100644
--- a/elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/stages/AbstractReasonerState.java
+... | Fix the bug introduced by the previous commit
where interrupt() was synchronized on the same object as the reasoning methods,
which effectively prevented interruption. | liveontologies_elk-reasoner | train | java |
b949bb6335b84df50fda140fa24dd20b38533ad1 | diff --git a/docs/source/conf.py b/docs/source/conf.py
index <HASH>..<HASH> 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -27,7 +27,7 @@ author = "The Font Bakery Authors"
# The short X.Y version
version = "0.7"
# The full version, including alpha/beta/rc tags
-release = "0.7.37"
+release = "0.7.38"
... | update version on docs/source/conf.py | googlefonts_fontbakery | train | py |
98679c069eb2c69f742ef584ed586aa469d9622e | diff --git a/bin/email_notes.py b/bin/email_notes.py
index <HASH>..<HASH> 100755
--- a/bin/email_notes.py
+++ b/bin/email_notes.py
@@ -86,7 +86,13 @@ for message_index in messages[0].split(' '):
note_file = open(path, 'a')
else:
note_file = open(path, 'w')
- note_file.write(message.get_payload... | fixing multipart email bug in email script | charlesthomas_magpie | train | py |
d50d37bd2173bbcd4e0e399ffd06bf3da646e91d | diff --git a/eventsourcing/application/process.py b/eventsourcing/application/process.py
index <HASH>..<HASH> 100644
--- a/eventsourcing/application/process.py
+++ b/eventsourcing/application/process.py
@@ -9,7 +9,11 @@ from eventsourcing.application.simple import SimpleApplication
from eventsourcing.application.snaps... | Added guard against a process application both following itself and
applying its policy to generated events. | johnbywater_eventsourcing | train | py |
93056aea0860e98fb7c64f5a51e21bdd5837c0ae | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -20,10 +20,10 @@ setup(
description='Automatically response to any tweets mentioning you',
- url='https://github.com/EastAgile/twitterbot',
+ url='https://github.com/invinst/ResponseBot',
- author='East Agi... | [r] update repo, author, email in setup.py | invinst_ResponseBot | train | py |
097758b7fe14ff1a5d1b46f3f794b81ca861605d | diff --git a/src/CodeAnalysisTasks.php b/src/CodeAnalysisTasks.php
index <HASH>..<HASH> 100644
--- a/src/CodeAnalysisTasks.php
+++ b/src/CodeAnalysisTasks.php
@@ -78,9 +78,9 @@ trait CodeAnalysisTasks
$this->ciClean();
$this->runTools();
if ($this->options->hasReport) {
- $this->bu... | Reports - refactoring - refine method names | EdgedesignCZ_phpqa | train | php |
60d08451f4004e18042709e90226549d8896b029 | diff --git a/lib/epubinfo/models/cover.rb b/lib/epubinfo/models/cover.rb
index <HASH>..<HASH> 100644
--- a/lib/epubinfo/models/cover.rb
+++ b/lib/epubinfo/models/cover.rb
@@ -28,7 +28,6 @@ module EPUBInfo
# Content type of cover file
# @return [String]
attr_accessor :content_type
- def content... | Small code refactoring
Fixes coming from comments on pull request <URL> | chdorner_epubinfo | train | rb |
e2d543fafe8f0393c3b46e7e0869e97f0d60c8bf | diff --git a/src/brackets.js b/src/brackets.js
index <HASH>..<HASH> 100644
--- a/src/brackets.js
+++ b/src/brackets.js
@@ -420,7 +420,7 @@ define(function (require, exports, module) {
// Text fields should always be focusable.
var $target = $(e.target),
isFormElement =
- ... | remove errant whitespace from previous commit | adobe_brackets | train | js |
3860cc27cf0a83eb2c060783c937f4228fd8e096 | diff --git a/presto-server/src/main/java/com/facebook/presto/server/StatementResource.java b/presto-server/src/main/java/com/facebook/presto/server/StatementResource.java
index <HASH>..<HASH> 100644
--- a/presto-server/src/main/java/com/facebook/presto/server/StatementResource.java
+++ b/presto-server/src/main/java/com... | Fix closing ExchangeClient before query is scheduled | prestodb_presto | train | java |
3bb911658a02deaa0a6fbeed35b12662150e6415 | diff --git a/spec/blazing/recipe_spec.rb b/spec/blazing/recipe_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/blazing/recipe_spec.rb
+++ b/spec/blazing/recipe_spec.rb
@@ -64,7 +64,7 @@ describe Blazing::Recipe do
end
it 'logs an error when a recipe cant be loaded' do
- Blazing::LOGGER.should_rece... | dunnow how to spec that | effkay_blazing | train | rb |
b02276b5769b185676d18d2a4f38b6d2901f4b3c | diff --git a/src/txkube/test/test_network.py b/src/txkube/test/test_network.py
index <HASH>..<HASH> 100644
--- a/src/txkube/test/test_network.py
+++ b/src/txkube/test/test_network.py
@@ -390,8 +390,7 @@ class MemoTests(TestCase):
result = Deferred()
def f1():
return result
- def f2... | fewer uncovered lines in the test suite | LeastAuthority_txkube | train | py |
d58d8a6c99acaad869a453572f3538104497aa36 | diff --git a/php/okcoinusd.php b/php/okcoinusd.php
index <HASH>..<HASH> 100644
--- a/php/okcoinusd.php
+++ b/php/okcoinusd.php
@@ -155,9 +155,6 @@ class okcoinusd extends Exchange {
'ETC/USD' => true,
'ETH/USD' => true,
'LTC/USD' => true,
- 'XRP/USD' => true,
- ... | restored py/php files (missing async anyway) fix #<I> | ccxt_ccxt | train | php,py |
6cbd22c0b31aabf1f3e601d703cd22e517a58f1a | diff --git a/aeron-driver/src/main/java/io/aeron/driver/NetworkPublication.java b/aeron-driver/src/main/java/io/aeron/driver/NetworkPublication.java
index <HASH>..<HASH> 100644
--- a/aeron-driver/src/main/java/io/aeron/driver/NetworkPublication.java
+++ b/aeron-driver/src/main/java/io/aeron/driver/NetworkPublication.ja... | [Java] Inline method so hasSpiesConnected is semantically closer to the usage of the spies array. | real-logic_aeron | train | java |
a9514842b832a7784a01378ee4c3b9656b6ec9da | diff --git a/src/java/arjdbc/jdbc/RubyJdbcConnection.java b/src/java/arjdbc/jdbc/RubyJdbcConnection.java
index <HASH>..<HASH> 100644
--- a/src/java/arjdbc/jdbc/RubyJdbcConnection.java
+++ b/src/java/arjdbc/jdbc/RubyJdbcConnection.java
@@ -706,15 +706,16 @@ public class RubyJdbcConnection extends RubyObject {
@JR... | refactor database_name into working with a connection retry | jruby_activerecord-jdbc-adapter | train | java |
4434bb29d031e6fcaa1b12916876bf314546e919 | diff --git a/scripts/post-deploy.js b/scripts/post-deploy.js
index <HASH>..<HASH> 100644
--- a/scripts/post-deploy.js
+++ b/scripts/post-deploy.js
@@ -3,7 +3,7 @@ const utils = require('./utils');
const config = require('./config');
const log = require('./log');
module.exports = function postDeploy() {
- const expU... | Use a web-friendly URL in post-deploy message
GitHub appears to try and parse the "@" username included in the message, and hides everything past the "@" symbol entirely (potentially because my expo account username and github username is the same?). Expo does provide a hosted web link that can be linked to instead - ... | FormidableLabs_appr | train | js |
32bfdd85159db180532e89f28f1310084c571d02 | diff --git a/lib/util/buildbot.js b/lib/util/buildbot.js
index <HASH>..<HASH> 100644
--- a/lib/util/buildbot.js
+++ b/lib/util/buildbot.js
@@ -87,7 +87,12 @@ BuildBot.prototype.build = function(builder, branch, revision, callback) {
* Find the oldest build with a given revision.
*/
BuildBot.prototype._findOldestBu... | find oldest successful build instead of just finding the oldest | racker_dreadnot | train | js |
c3ccd2feadfb372a2e319f0ce37c8ca383a667f6 | diff --git a/src/org/opencms/staticexport/Messages.java b/src/org/opencms/staticexport/Messages.java
index <HASH>..<HASH> 100644
--- a/src/org/opencms/staticexport/Messages.java
+++ b/src/org/opencms/staticexport/Messages.java
@@ -1,7 +1,7 @@
/*
* File : $Source: /alkacon/cvs/opencms/src/org/opencms/staticexport/M... | Forgot to define a constant. | alkacon_opencms-core | train | java |
d81a2c9067b584664ea65bd72aedbd3c4325fb3a | diff --git a/rpcserver.go b/rpcserver.go
index <HASH>..<HASH> 100644
--- a/rpcserver.go
+++ b/rpcserver.go
@@ -670,7 +670,7 @@ func handleGetRawTransaction(s *rpcServer, cmd btcjson.Cmd, walletNotification c
// this point.
txSha, _ := btcwire.NewShaHashFromStr(c.Txid)
txList, err := s.server.db.FetchTxBySha(tx... | Check for 0 shas before dereferencing list | btcsuite_btcd | train | go |
d9baf671b5b970a3ba6bf91ae3a23b7feb3bb685 | diff --git a/core-bundle/src/Resources/contao/controllers/FrontendIndex.php b/core-bundle/src/Resources/contao/controllers/FrontendIndex.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/controllers/FrontendIndex.php
+++ b/core-bundle/src/Resources/contao/controllers/FrontendIndex.php
@@ -136,7 +13... | [Core] Do not log the "No active page for page ID" message as error. | contao_contao | train | php |
c03729a8fba03d70e1220cf532f279d669ffe974 | diff --git a/test/Kyber.js b/test/Kyber.js
index <HASH>..<HASH> 100644
--- a/test/Kyber.js
+++ b/test/Kyber.js
@@ -1104,7 +1104,8 @@ contract('Kyber', function(accounts) {
assetURI = 'ASSETASSET';
assetManagerFee = 0;
let block = await web3.eth.getBlock('latest');
- await crowdsaleGen.createAs... | Removed a gas requirement cause of coverage network | MyBitFoundation_MyBit-Network.tech | train | js |
48c1890df9a091881420a2e31a3492a0feafaa82 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -106,7 +106,7 @@ module.exports = {
{
tags: [],
roles: ['tabpanel'],
- }
+ },
],
'jsx-a11y/no-onchange': 'error',
'jsx-a11y/no-r... | Fixing lint errors. | evcohen_eslint-plugin-jsx-a11y | train | js,js |
d83a32de07f82ad3d8b120aba6b664ce5110bdb7 | diff --git a/openquake/risklib/asset.py b/openquake/risklib/asset.py
index <HASH>..<HASH> 100644
--- a/openquake/risklib/asset.py
+++ b/openquake/risklib/asset.py
@@ -1,21 +1,3 @@
-# -*- coding: utf-8 -*-
-# vim: tabstop=4 shiftwidth=4 softtabstop=4
-
-# Copyright (c) 2017, GEM Foundation
-
-# OpenQuake is free sof... | Removed a comment [skip CI] | gem_oq-engine | train | py |
707b28ae7ca235911775d799a2c8dfc3a604f8fe | diff --git a/src/Reader/StringReader.php b/src/Reader/StringReader.php
index <HASH>..<HASH> 100644
--- a/src/Reader/StringReader.php
+++ b/src/Reader/StringReader.php
@@ -30,10 +30,8 @@ class StringReader implements ReaderInterface
// any lines found? loop them
if ( ! empty($lines)) {
+ $... | fix: better way of filtering lines & reseting indexes to be in order | stilliard_CsvParser | train | php |
6b439701c44ba5aa90219e58d47e2cdd8e210a71 | diff --git a/lib/js2xml.js b/lib/js2xml.js
index <HASH>..<HASH> 100644
--- a/lib/js2xml.js
+++ b/lib/js2xml.js
@@ -42,7 +42,7 @@ function writeAttributes(attributes, options) {
var key, result = '';
for (key in attributes) {
if (attributes.hasOwnProperty(key)) {
- result += ' ' + key + '="... | pass over 'options' object from writeAttributes() to writeText() | nashwaan_xml-js | train | js |
198a613d79b9fcdd1e5dc6c66fb7ac3ae007f427 | diff --git a/lambdautils/utils.py b/lambdautils/utils.py
index <HASH>..<HASH> 100644
--- a/lambdautils/utils.py
+++ b/lambdautils/utils.py
@@ -341,7 +341,7 @@ def sentry_monitor(environment=None, stage=None, layer=None,
if fc and not fc(p, state_args):
continue
... | Bugfix: sentry_monitor does not map error events correctly | humilis_humilis-lambdautils | train | py |
82f3f05972d3475e0e5e198a742c76689f8c6de4 | diff --git a/uproot_methods/classes/TH2.py b/uproot_methods/classes/TH2.py
index <HASH>..<HASH> 100644
--- a/uproot_methods/classes/TH2.py
+++ b/uproot_methods/classes/TH2.py
@@ -111,7 +111,7 @@ class Methods(uproot_methods.base.ROOTMethods):
xedges = numpy.array(xaxis._fXbins)
else:
... | Fix Y binning and set TH2.numpy behavior | scikit-hep_uproot-methods | train | py |
4134bc6d3fd85a954d930bfd9b6cbd28d4081658 | diff --git a/osbs/core.py b/osbs/core.py
index <HASH>..<HASH> 100755
--- a/osbs/core.py
+++ b/osbs/core.py
@@ -628,7 +628,7 @@ class Openshift(object):
encoding = None
for line in response.iter_lines():
- logger.debug(line)
+ logger.debug('%r', line)
... | Use repr to log JSON response content | projectatomic_osbs-client | train | py |
22669b8ae08b5f0e29af98fda695afa69c74361e | diff --git a/src/Illuminate/Auth/SessionGuard.php b/src/Illuminate/Auth/SessionGuard.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Auth/SessionGuard.php
+++ b/src/Illuminate/Auth/SessionGuard.php
@@ -546,10 +546,12 @@ class SessionGuard implements StatefulGuard, SupportsBasicAuth
if (! $this->user()) {
... | logoutOtherDevices breaks "remember me" cookie | laravel_framework | train | php |
256f719a334ba8878a648018137c8faa4c84e4e2 | diff --git a/qiskit/visualization/pass_manager_visualization.py b/qiskit/visualization/pass_manager_visualization.py
index <HASH>..<HASH> 100644
--- a/qiskit/visualization/pass_manager_visualization.py
+++ b/qiskit/visualization/pass_manager_visualization.py
@@ -23,9 +23,14 @@ DEFAULT_STYLE = {AnalysisPass: 'red',
t... | Fix graphviz check in pass manager visualization (#<I>)
This commit fixes the graphviz check in the pass manager visualization
added recently in #<I>. The check was added to determine if the dot
command was in the default PATH by trying to subprocess out and run
'dot -V' however the way in which subprocess was call... | Qiskit_qiskit-terra | train | py |
a290be067c6d5867f0a5d4579071108594647ae5 | diff --git a/roca/detect.py b/roca/detect.py
index <HASH>..<HASH> 100644
--- a/roca/detect.py
+++ b/roca/detect.py
@@ -664,7 +664,14 @@ class RocaFingerprinter(object):
for fname in files:
if fname == '-':
- fh = sys.stdin
+ if self.args.base64stdin:
+ ... | Support reading cert/key data from stdin as base<I>
This makes processing large quantities of certificates quicker by
enabling the use of tools like parallel | crocs-muni_roca | train | py |
271f73f83759b40e6bac5595941b4b3616345886 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
def install():
desc = 'A Python client library for nyaa.se!',
setup(
- name='py-nyaa',
+ name='nyaa',
version='1.0',
descripti... | Rename the package to "nyaa" | ssut_py-nyaa | train | py |
3c9ee4e7f36a78f136c4275949b15108493f3f13 | diff --git a/test/gtk_overrides_test.rb b/test/gtk_overrides_test.rb
index <HASH>..<HASH> 100644
--- a/test/gtk_overrides_test.rb
+++ b/test/gtk_overrides_test.rb
@@ -1,8 +1,8 @@
require File.expand_path('test_helper.rb', File.dirname(__FILE__))
require 'gir_ffi/overrides/gtk'
-class GtkOverridesTest < MiniTest::Sp... | Make minitest pick up before block in Ruby <I>. | mvz_gir_ffi | train | rb |
24071147db27d43f49be98bef0d75ac23903bcbd | diff --git a/lib/datev/base/booking.rb b/lib/datev/base/booking.rb
index <HASH>..<HASH> 100644
--- a/lib/datev/base/booking.rb
+++ b/lib/datev/base/booking.rb
@@ -122,9 +122,19 @@ module Datev
# 20
field 'Beleglink', :string, limit: 210
# Link auf den Buchungsbeleg, der digital in einem Dokumenten-Manage... | Booking: Sync comments with upstream | ledermann_datev | train | rb |
b6fe62c5c40668c5732b5dfe9f19925020a038db | diff --git a/src/vast_tracker.js b/src/vast_tracker.js
index <HASH>..<HASH> 100644
--- a/src/vast_tracker.js
+++ b/src/vast_tracker.js
@@ -176,7 +176,7 @@ export class VASTTracker extends EventEmitter {
}
}
- if (this.linear && this.assetDuration > 0) {
+ if (this.assetDuration > 0) {
const e... | [tracker] Remove linear check from progress tracking | dailymotion_vast-client-js | train | js |
a3d723fa218c4aa1760a603ac25b2c9cf244f097 | diff --git a/src/mako/i18n/Language.php b/src/mako/i18n/Language.php
index <HASH>..<HASH> 100644
--- a/src/mako/i18n/Language.php
+++ b/src/mako/i18n/Language.php
@@ -224,11 +224,9 @@ class Language
if(stripos($string, '</pluralize>') !== false)
{
- $that = $this;
-
- $string = preg_replace_callback... | No longer need the "$that = $this" workaround | mako-framework_framework | train | php |
e8cc075e7834e5170406d6ec7d491089ece27286 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,4 @@
+
#**php-useful**
**installation**
diff --git a/src/EasyHeaders.php b/src/EasyHeaders.php
index <HASH>..<HASH> 100644
--- a/src/EasyHeaders.php
+++ b/src/EasyHeaders.php
@@ -2,7 +2,12 @@
namespace Ph... | Fixed lot of bugs, updated composer.json, added php unit tests. | pushkar-anand_php-useful | train | md,php,php |
0a9589ce07f37c748269011cf76e0375b33ecba5 | diff --git a/layouts/__init__.py b/layouts/__init__.py
index <HASH>..<HASH> 100644
--- a/layouts/__init__.py
+++ b/layouts/__init__.py
@@ -33,7 +33,7 @@ from github import Github, GithubException
## Variables
-__version__ = '0.4.3'
+__version__ = '0.4.4'
log = logging.getLogger(__name__)
@@ -156,6 +156,7 @@ c... | Missing tarfile close before trying to delete it
- Incrementing to <I> | hid-io_layouts-python | 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.