hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
cc3e500f82867a48caf4c3cbd0981544290ee618 | diff --git a/model/Map.php b/model/Map.php
index <HASH>..<HASH> 100644
--- a/model/Map.php
+++ b/model/Map.php
@@ -77,6 +77,8 @@ class SS_Map implements ArrayAccess, Countable, IteratorAggregate {
$oldItems = $this->firstItems;
$this->firstItems = array($key => $value);
if($oldItems) $this->firstItems = $this-... | return $this, for do things like this: new DropdownField('XPTOName', 'XPTO Label', XPTOModel::get()->map("ID", "Name")->unshift(0,'- Select -'))
This does not break anything and makes things more natural | silverstripe_silverstripe-framework | train |
698c6d744fb724e74063e220072ca9513679e8d0 | diff --git a/aritzh-core/src/main/java/io/github/aritzhack/aritzh/logging/SLF4JLogger.java b/aritzh-core/src/main/java/io/github/aritzhack/aritzh/logging/SLF4JLogger.java
index <HASH>..<HASH> 100644
--- a/aritzh-core/src/main/java/io/github/aritzhack/aritzh/logging/SLF4JLogger.java
+++ b/aritzh-core/src/main/java/io/gi... | * Deprecated SLF4J logger, to remove it in the next release | cubedtear_aritzh | train |
64434f186179e9bb2c3c61e3daa99e850f8e6606 | diff --git a/pypmc/pmc/pmc.py b/pypmc/pmc/pmc.py
index <HASH>..<HASH> 100644
--- a/pypmc/pmc/pmc.py
+++ b/pypmc/pmc/pmc.py
@@ -102,13 +102,11 @@ def gaussian_pmc(weighted_samples, proposal, origin=None, rb=True, mincount=0, c
if proposal.weights[k] == 0.:
# skip unneccessary calculation
... | [gaussian_pmc] bugfix
o in the non Rao-Blackwellized scheme:
need to set rho also for components that just died. | fredRos_pypmc | train |
12dcc578596da6bc983b9ce30f7ee0bc2c5d9987 | diff --git a/src/Illuminate/View/Concerns/ManagesLoops.php b/src/Illuminate/View/Concerns/ManagesLoops.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/View/Concerns/ManagesLoops.php
+++ b/src/Illuminate/View/Concerns/ManagesLoops.php
@@ -3,6 +3,7 @@
namespace Illuminate\View\Concerns;
use Countable;
+use Trave... | Set up loop variable correctly on all Traversable objects (#<I>) | laravel_framework | train |
94bb25ae1d84c102a4778feec2323c7e68659b85 | diff --git a/Swat/SwatUI.php b/Swat/SwatUI.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatUI.php
+++ b/Swat/SwatUI.php
@@ -233,11 +233,21 @@ class SwatUI extends SwatObject
// External entity loader is disabled for loading the SwatUI file to
// prevent local and remote file inclusion attacks. See
// https://ph... | Use PHP's file loader to load XML | silverorange_swat | train |
1e98b3b25b570832ef233b3ee5ad2541f5abd657 | diff --git a/src/sap.ui.fl/src/sap/ui/fl/write/internal/connectors/PersonalizationConnector.js b/src/sap.ui.fl/src/sap/ui/fl/write/internal/connectors/PersonalizationConnector.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.fl/src/sap/ui/fl/write/internal/connectors/PersonalizationConnector.js
+++ b/src/sap.ui.fl/src/s... | [INTERNAL] Add writeChanges to PersonalizationConnector
Change-Id: Icebdb2ef0dcf<I>f<I>e5fba<I>c<I>c7ba<I>de0 | SAP_openui5 | train |
4e8756b7978aedb9d7b0bb3f9ac9abd4606841c3 | diff --git a/test/html/pipeline/syntax_highlight_filter_test.rb b/test/html/pipeline/syntax_highlight_filter_test.rb
index <HASH>..<HASH> 100644
--- a/test/html/pipeline/syntax_highlight_filter_test.rb
+++ b/test/html/pipeline/syntax_highlight_filter_test.rb
@@ -8,7 +8,7 @@ class HTML::Pipeline::SyntaxHighlightFilterTe... | Simplify tests for older test/unit | jch_html-pipeline | train |
46d79382e12a7609905b445f47220cebddc27328 | diff --git a/core/ast/src/main/java/org/overture/ast/util/PTypeSet.java b/core/ast/src/main/java/org/overture/ast/util/PTypeSet.java
index <HASH>..<HASH> 100644
--- a/core/ast/src/main/java/org/overture/ast/util/PTypeSet.java
+++ b/core/ast/src/main/java/org/overture/ast/util/PTypeSet.java
@@ -39,9 +39,10 @@ public cla... | Add missing assistant from PTypeSet constructor. | overturetool_overture | train |
51477ee1f908d55d6bc858f27a32aa4a9a4090e7 | diff --git a/Tests/Unit/Task/DumpDatabaseTaskTest.php b/Tests/Unit/Task/DumpDatabaseTaskTest.php
index <HASH>..<HASH> 100644
--- a/Tests/Unit/Task/DumpDatabaseTaskTest.php
+++ b/Tests/Unit/Task/DumpDatabaseTaskTest.php
@@ -38,7 +38,7 @@ class DumpDatabaseTaskTest extends BaseTaskTest
);
$this->task->e... | Properly escape backslashes in string | TYPO3_Surf | train |
2d032537e92fe4b33b8b9c6b9693bffb3b294130 | diff --git a/aeron-system-tests/src/test/java/io/aeron/MultiDestinationSubscriptionTest.java b/aeron-system-tests/src/test/java/io/aeron/MultiDestinationSubscriptionTest.java
index <HASH>..<HASH> 100644
--- a/aeron-system-tests/src/test/java/io/aeron/MultiDestinationSubscriptionTest.java
+++ b/aeron-system-tests/src/te... | [Java] don't run IPC/Spy destination tests on C driver yet. | real-logic_aeron | train |
0e6e206465260723e2ca7fce6ed8eed5eda8495f | diff --git a/terraform/state.go b/terraform/state.go
index <HASH>..<HASH> 100644
--- a/terraform/state.go
+++ b/terraform/state.go
@@ -1332,6 +1332,21 @@ func (i *InstanceState) init() {
i.Ephemeral.init()
}
+// Copy all the Fields from another InstanceState
+func (i *InstanceState) Set(from *InstanceState) {
+ i.... | Add an InstanceState.Set method to set all fields
We con no longer copy an InstanceState via a simple
dereference+assignment because of the mutex which can't be copied. This
adds a set method to properly set all field from another InstanceState,
and take the appropriate locks while doing so. | hashicorp_terraform | train |
59a5d115ce2037c1629eb4810defd7b6af06602b | diff --git a/src/scs_core/particulate/exegesis/isecen2_v001.py b/src/scs_core/particulate/exegesis/isecen2_v001.py
index <HASH>..<HASH> 100644
--- a/src/scs_core/particulate/exegesis/isecen2_v001.py
+++ b/src/scs_core/particulate/exegesis/isecen2_v001.py
@@ -45,7 +45,7 @@ class ISECEN2v1(PersistentJSONable):
# -... | Fixed a persistence filename issue in ISECEN2v1. | south-coast-science_scs_core | train |
44032a629d20b26c75fe5b2eb6ab8f4074156e27 | diff --git a/packages/neos-ui-editors/src/Boolean/index.js b/packages/neos-ui-editors/src/Boolean/index.js
index <HASH>..<HASH> 100644
--- a/packages/neos-ui-editors/src/Boolean/index.js
+++ b/packages/neos-ui-editors/src/Boolean/index.js
@@ -30,7 +30,7 @@ const defaultOptions = {
const BooleanEditor = props => {
... | BUGFIX: Use empty object to assign options to
to eliminate sideeffects | neos_neos-ui | train |
6c19e5bc7d97be1ffd52353d72203c650511dc75 | diff --git a/normalize/exc.py b/normalize/exc.py
index <HASH>..<HASH> 100644
--- a/normalize/exc.py
+++ b/normalize/exc.py
@@ -301,6 +301,14 @@ class VisitorPropError(VisitorException):
)
+class VisitorTooSimple(VisitorException):
+ message = (
+ "{visitor} mapped over a Collection ({value_type_name}... | Avoid emitting {'values':[...]} on JsonRecordList classes
JsonRecordList classes have an extra extraneous property,
unknown_json_keys, which somewhat ironically is impossible to get anything
into by default, and is not even visited without setting ``extraneous``.
However this default reducer was making the mapped resu... | hearsaycorp_normalize | train |
80f994d4c9302e007e04b336a7676a60baa02ced | diff --git a/packages/formation/src/classes/FormationControl/FormationControl.js b/packages/formation/src/classes/FormationControl/FormationControl.js
index <HASH>..<HASH> 100644
--- a/packages/formation/src/classes/FormationControl/FormationControl.js
+++ b/packages/formation/src/classes/FormationControl/FormationCont... | Control's SetModelValue implementation no-ops when passed undefined. | darkobits_formation | train |
956699fe6840ec3a0623d58322fc0491373f9536 | diff --git a/airflow/models.py b/airflow/models.py
index <HASH>..<HASH> 100755
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -2746,7 +2746,7 @@ class DagModel(Base):
@functools.total_ordering
-class DAG(BaseDag):
+class DAG(BaseDag, LoggingMixin):
"""
A dag (directed acyclic graph) is a collection o... | [AIRFLOW-<I>] LoggingMixin in DAG class
Within the DAG class we want to use the
LoggingMixer for more
transparent logger instead of creating a new
anonymous logger
Closes #<I> from Fokko/AIRFLOW-<I>-use-
loggingmixin-in-dag-class | apache_airflow | train |
589941e1cad531a3b46834b22af11445ff18f6a7 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -331,13 +331,13 @@ module.exports = function(options) {
base: file.base,
path: extFilename,
contents: new Buffer(strMediaStyles)
- });
+ });
log(gutil.colors.cyan('File ' + extF... | .responsive.css file is written | konitter_gulp-combine-media-queries | train |
ba7d816a0dc5f69bab482b0c325f24ba57fabe62 | diff --git a/learnlib-os-parent/learnlib-os-algorithms/src/test/java/de/learnlib/lstar/LStarDFATest.java b/learnlib-os-parent/learnlib-os-algorithms/src/test/java/de/learnlib/lstar/LStarDFATest.java
index <HASH>..<HASH> 100644
--- a/learnlib-os-parent/learnlib-os-algorithms/src/test/java/de/learnlib/lstar/LStarDFATest.... | Weakened initial suffixes | LearnLib_learnlib | train |
e9889719da01b039cfc3f4edb9a97b77748279a7 | diff --git a/src/MarkerCluster.QuickHull.js b/src/MarkerCluster.QuickHull.js
index <HASH>..<HASH> 100644
--- a/src/MarkerCluster.QuickHull.js
+++ b/src/MarkerCluster.QuickHull.js
@@ -107,21 +107,41 @@ Retrieved from: http://en.literateprograms.org/Quickhull_(Javascript)?oldid=1843
*/
getConvexHull: function (lat... | Update MarkerCluster.QuickHull.js
When all markers are located at same latitude, getConvexHull() fails.
This proposal gets ride of this limitation. | Leaflet_Leaflet.markercluster | train |
863d1a334dc629c5d4064e8c7564d9e399d6bb5b | diff --git a/internal/config/cgmgr/systemd.go b/internal/config/cgmgr/systemd.go
index <HASH>..<HASH> 100644
--- a/internal/config/cgmgr/systemd.go
+++ b/internal/config/cgmgr/systemd.go
@@ -156,12 +156,9 @@ func (m *SystemdManager) SandboxCgroupPath(sbParent, sbID string) (cgParent, cgP
if !strings.HasSuffix(filepat... | cgmgr/systemd: don't recalculate cgroup path
from the looks of it, we were expanding the slice unnecessarily, as we're already
passed a path | cri-o_cri-o | train |
542a4c6faff064e545ad6dbc4269866bf62a5aa2 | diff --git a/src/QueryInterface.php b/src/QueryInterface.php
index <HASH>..<HASH> 100644
--- a/src/QueryInterface.php
+++ b/src/QueryInterface.php
@@ -333,16 +333,17 @@ interface QueryInterface extends PreparableInterface, LimitableInterface
* Add a JOIN clause to the query.
*
* Usage:
- * $query->join('INNER... | Add a change to QueryInterface | joomla-framework_database | train |
66ee1cb568e4755f272f332c6d3871dd2253fd3f | diff --git a/driver/driver.go b/driver/driver.go
index <HASH>..<HASH> 100644
--- a/driver/driver.go
+++ b/driver/driver.go
@@ -56,7 +56,6 @@ type connConf struct {
// If there is no connection in pool, start a new server.
// After first instantiation of the server,
func (rs *Driver) Open(dsn string) (conn driver.Con... | fix (log): avoid data race on SetLevel | proullon_ramsql | train |
b667ee4adf489e4604903965267d8b80d22e6119 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -97,7 +97,7 @@ export default function TimeAgo({
maxPeriod * 1000,
)
- if (period) {
+ if (period && period !== Infinity) {
if (timeoutId) {
clearTimeout(timeoutI... | Fix refresh creating an infinite timeout loop | nmn_react-timeago | train |
e5a2cf29c0efd8d5fc836bdf12e64b7613bdc4ed | diff --git a/internal/graphics/shader.go b/internal/graphics/shader.go
index <HASH>..<HASH> 100644
--- a/internal/graphics/shader.go
+++ b/internal/graphics/shader.go
@@ -104,6 +104,7 @@ void main(void) {
// adjustment, texels can be exactly as same values as the (lower and left) edges'
// positions and it could ... | graphics: Bug fix: pixel coord is upper-left by default | hajimehoshi_ebiten | train |
d4158efa59bd8da050729982c78502825b88ac73 | diff --git a/src/apexpy/apex.py b/src/apexpy/apex.py
index <HASH>..<HASH> 100644
--- a/src/apexpy/apex.py
+++ b/src/apexpy/apex.py
@@ -3,6 +3,7 @@
from __future__ import division, print_function, absolute_import
import os
+import warnings
import datetime as dt
import numpy as np
@@ -17,6 +18,10 @@ except:
... | warn when alat is invalid and set basevectors to -<I> | aburrell_apexpy | train |
cb59db3109a18bf249d6ad4adc4b7a099976b47e | diff --git a/lib/switch_point/proxy.rb b/lib/switch_point/proxy.rb
index <HASH>..<HASH> 100644
--- a/lib/switch_point/proxy.rb
+++ b/lib/switch_point/proxy.rb
@@ -40,6 +40,8 @@ module SwitchPoint
switch_points = pool.instance_variable_get(:@switch_points) || []
switch_points << switch_point
p... | Don't overwrite writable switch_point | eagletmt_switch_point | train |
079c2102665a8e17a7c0dbb0c1b49134bcc3745a | diff --git a/etc/configuration.json b/etc/configuration.json
index <HASH>..<HASH> 100644
--- a/etc/configuration.json
+++ b/etc/configuration.json
@@ -20,5 +20,6 @@
},
"api": {
"magento-domain": ""
- }
+ },
+ "config-output": false
}
\ No newline at end of file
diff --git a/src/Listeners/Renderer/Debug/R... | PAC-<I>:
Add new Option config-output to debug command
Report all configuration file on cli
Report all configuration on configuration.php | techdivision_import | train |
1e7a706c53f47a8261d63d484887a76d9c4ba49e | diff --git a/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/src/test/java/org/apache/shardingsphere/integration/data/pipeline/framework/container/database/PostgreSQLContainer.java b/shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-scaling/s... | Fix withCommand incorrect usage (#<I>) | apache_incubator-shardingsphere | train |
f0967429892948004108a90ca43a97a0e09357fe | diff --git a/ignite/contrib/handlers/tqdm_logger.py b/ignite/contrib/handlers/tqdm_logger.py
index <HASH>..<HASH> 100644
--- a/ignite/contrib/handlers/tqdm_logger.py
+++ b/ignite/contrib/handlers/tqdm_logger.py
@@ -199,6 +199,11 @@ class ProgressBar(BaseLogger):
def _close(self, engine):
if self.pbar is... | Issue #<I> : pbar persists due to specific rule in tqdm (notebook) when n < total (#<I>)
* Issue #<I>
pbar persists in notebook due to specific rules when n < total
* close pbar doesn't rise danger bar
* fix when pbar.total is None | pytorch_ignite | train |
a1a2e5d047fbf27922d62cdd7e2c3660ab961d41 | diff --git a/routes/api/jobs.js b/routes/api/jobs.js
index <HASH>..<HASH> 100644
--- a/routes/api/jobs.js
+++ b/routes/api/jobs.js
@@ -127,8 +127,8 @@ function killOldJobs(job) {
if (!job.created_timestamp) return false;
if (job.finished_timstamp !== undefined) return true;
if (job.test_exitcode !== undefined)... | <I> minutes is too short a limit for job hang detection.
some browser tests can take up to <I> minutes.
bump this to 1 hr | Strider-CD_strider | train |
29eee82640fae684897187be8e35c3d8a18db7c9 | diff --git a/lib/prey/plugins/providers/network/platform/windows/index.js b/lib/prey/plugins/providers/network/platform/windows/index.js
index <HASH>..<HASH> 100644
--- a/lib/prey/plugins/providers/network/platform/windows/index.js
+++ b/lib/prey/plugins/providers/network/platform/windows/index.js
@@ -8,7 +8,10 @@
// ... | get ready to process output of windows binaries | prey_prey-node-client | train |
83dd5107374abdd855d2ed9948fa224fad2deb48 | diff --git a/alloy_touch.js b/alloy_touch.js
index <HASH>..<HASH> 100644
--- a/alloy_touch.js
+++ b/alloy_touch.js
@@ -87,6 +87,9 @@
this.preventDefaultException = { tagName: /^(INPUT|TEXTAREA|BUTTON|SELECT)$/ };
this.hasMin = !(this.min === undefined);
this.hasMax = !(this.max === undefined)... | the min value can't be greater than the max value. | AlloyTeam_AlloyTouch | train |
92c758a1e5a8f3380670115fc9cc36dfce05bf8d | diff --git a/includes/class-ptb-core.php b/includes/class-ptb-core.php
index <HASH>..<HASH> 100644
--- a/includes/class-ptb-core.php
+++ b/includes/class-ptb-core.php
@@ -33,6 +33,8 @@ class PTB_Core {
add_action('admin_footer', array($this, 'ptb_admin_footer'));
add_filter('admin_body_class', array($this, 'p... | Added column to pages with page type information | wp-papi_papi | train |
420203003a2c9f555f206baedc18bd3b0b170e5c | diff --git a/lib/spout/version.rb b/lib/spout/version.rb
index <HASH>..<HASH> 100644
--- a/lib/spout/version.rb
+++ b/lib/spout/version.rb
@@ -5,7 +5,7 @@ module Spout
MAJOR = 0
MINOR = 13
TINY = 0
- BUILD = "beta1" # "pre", "rc", "rc2", nil
+ BUILD = "beta2" # "pre", "rc", "rc2", nil
STRING... | Version bump to <I>.beta2 | nsrr_spout | train |
00a7a05f037dcd1316b02df4ab27ff4edc3d83e2 | diff --git a/jsHarmonyFactoryConfig.js b/jsHarmonyFactoryConfig.js
index <HASH>..<HASH> 100644
--- a/jsHarmonyFactoryConfig.js
+++ b/jsHarmonyFactoryConfig.js
@@ -72,6 +72,9 @@ function jsHarmonyFactoryConfig(){
//Sample Scheduled Task
this.scheduled_tasks["sample_task"] = {
action: jsh.AppSrv.JobProc.Execut... | JSH-<I> Quiet jobs | apHarmony_jsharmony-factory | train |
f4965f67a4b642f9b053f34109692cd113ea3d7c | diff --git a/rapidoid-commons/src/main/java/org/rapidoid/value/AbstractValue.java b/rapidoid-commons/src/main/java/org/rapidoid/value/AbstractValue.java
index <HASH>..<HASH> 100644
--- a/rapidoid-commons/src/main/java/org/rapidoid/value/AbstractValue.java
+++ b/rapidoid-commons/src/main/java/org/rapidoid/value/Abstract... | Convenient retrieval of multi-value configuration. | rapidoid_rapidoid | train |
7010f53765684e81d73d7b3010f438f33f1cde36 | diff --git a/app/patients/reports/controller.js b/app/patients/reports/controller.js
index <HASH>..<HASH> 100644
--- a/app/patients/reports/controller.js
+++ b/app/patients/reports/controller.js
@@ -660,16 +660,16 @@ export default AbstractReportController.extend(PatientDiagnosis, PatientVisits,
patientName... | #<I> - Fixed the issue of number of patients under Reports not showing as whole number. | HospitalRun_hospitalrun-frontend | train |
cb3fcb68d2b77c48194d545b90bafe92147eac86 | diff --git a/src/assets/Select2Asset.php b/src/assets/Select2Asset.php
index <HASH>..<HASH> 100755
--- a/src/assets/Select2Asset.php
+++ b/src/assets/Select2Asset.php
@@ -1,8 +1,21 @@
<?php
+/**
+ * Yii2 asset for Select2 plugin
+ *
+ * @link https://github.com/hiqdev/yii2-asset-select2
+ * @package yii2-asset-... | rewrite hiqdev/Select2Asset | sergmoro1_yii2-blog-tools | train |
063eb0cbe4285b77e8fea469c104ab16cddd2e0e | diff --git a/resources/lang/fi-FI/forms.php b/resources/lang/fi-FI/forms.php
index <HASH>..<HASH> 100644
--- a/resources/lang/fi-FI/forms.php
+++ b/resources/lang/fi-FI/forms.php
@@ -153,15 +153,15 @@ return [
'display-graphs' => 'Näyttää kaaviot tila-sivulla?',
'about-t... | New translations forms.php (Finnish) | CachetHQ_Cachet | train |
3918c320fde3491a7dfd8d3750b5d9b9e9129fb8 | diff --git a/kmip/core/attributes.py b/kmip/core/attributes.py
index <HASH>..<HASH> 100644
--- a/kmip/core/attributes.py
+++ b/kmip/core/attributes.py
@@ -259,6 +259,14 @@ class CertificateType(Enumeration):
Tags.CERTIFICATE_TYPE)
+# 3.18
+class OperationPolicyName(Text... | Adding OperationPolicyName
This change adds the OperationPolicyName attribute, extending support to
the AttributeValueFactory. Test cases are included for the creation
process for both the factory and the individual attribute. | OpenKMIP_PyKMIP | train |
79ef49854f411b5ac107b08f1196d13dbbacbd6d | diff --git a/lib/mongoid_ext/voteable.rb b/lib/mongoid_ext/voteable.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid_ext/voteable.rb
+++ b/lib/mongoid_ext/voteable.rb
@@ -15,7 +15,7 @@ module MongoidExt
if self[:votes] && !self[:votes].empty?
self[:votes].include?(voter_id)
else
- self.cla... | make voteable module compatible with mongoid 3 | dcu_mongoid_ext | train |
f5edebc9366f6fae45d0e40ff8f452201b15a139 | diff --git a/src/Gelatin/compiler/Context.py b/src/Gelatin/compiler/Context.py
index <HASH>..<HASH> 100644
--- a/src/Gelatin/compiler/Context.py
+++ b/src/Gelatin/compiler/Context.py
@@ -19,10 +19,6 @@ def do_next(context):
def do_skip(context):
return 1
-def do_flush_queue(context):
- context._clear_trigger... | rename do.flush_queue to out.clear_queue. | knipknap_Gelatin | train |
35c450a96cd3fafb34c2a475a02e061d8515abf2 | diff --git a/__tests__/src/rules/has-accessibility-props-test.js b/__tests__/src/rules/has-accessibility-props-test.js
index <HASH>..<HASH> 100644
--- a/__tests__/src/rules/has-accessibility-props-test.js
+++ b/__tests__/src/rules/has-accessibility-props-test.js
@@ -119,6 +119,24 @@ ruleTester.run('has-accessibility-pr... | Remove touchable as a required word for custom touchable names (#<I>) | FormidableLabs_eslint-plugin-react-native-a11y | train |
f38485e16019d6349355465943e2be3fb3431161 | diff --git a/sniffy-core/src/main/java/io/sniffy/sql/SniffyDriver.java b/sniffy-core/src/main/java/io/sniffy/sql/SniffyDriver.java
index <HASH>..<HASH> 100644
--- a/sniffy-core/src/main/java/io/sniffy/sql/SniffyDriver.java
+++ b/sniffy-core/src/main/java/io/sniffy/sql/SniffyDriver.java
@@ -32,6 +32,7 @@ public class Sn... | Fix getting stacktrace from SniffyDriver.connect(String, Properties) call | sniffy_sniffy | train |
37a33f6356434fd5706ceba8c302b58c6ba4bfe8 | diff --git a/lib/items/item.go b/lib/items/item.go
index <HASH>..<HASH> 100644
--- a/lib/items/item.go
+++ b/lib/items/item.go
@@ -6,6 +6,7 @@ package items
import (
"io/ioutil"
+ "path"
"github.com/limetext/lime-backend/lib/log"
)
@@ -28,16 +29,16 @@ func Register(r Record) {
recs = append(recs, r)
}
-f... | fixed sublime package problems all tests are passing | limetext_backend | train |
c3752bc20ce37dbbe662e40aed27069538e64e0b | diff --git a/test_winazure.py b/test_winazure.py
index <HASH>..<HASH> 100644
--- a/test_winazure.py
+++ b/test_winazure.py
@@ -10,6 +10,7 @@ from unittest import TestCase
from winazure import (
DATETIME_PATTERN,
+ delete_services,
delete_unused_disks,
is_old_deployment,
list_services,
@@ -113,... | Added test for test_delete_services, extracted delete_service. | juju_juju | train |
903e85be582f552fb642111210439f684ab49497 | diff --git a/tests/GetOptionKit/ValueTypeTest.php b/tests/GetOptionKit/ValueTypeTest.php
index <HASH>..<HASH> 100644
--- a/tests/GetOptionKit/ValueTypeTest.php
+++ b/tests/GetOptionKit/ValueTypeTest.php
@@ -4,6 +4,9 @@ use GetOptionKit\ValueType\StringType;
use GetOptionKit\ValueType\FileType;
use GetOptionKit\ValueT... | updated test for ip, ipv4, ipv6 | c9s_GetOptionKit | train |
81e3154250e066b6d5ecce8fa15694d3dd0ad01f | diff --git a/code/libraries/koowa/components/com_koowa/controller/model.php b/code/libraries/koowa/components/com_koowa/controller/model.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/components/com_koowa/controller/model.php
+++ b/code/libraries/koowa/components/com_koowa/controller/model.php
@@ -17,13 +17... | re #<I> : Moved limit and persistable logic to the dispatcher. | timble_kodekit | train |
8ef921d4909056b2e46c8b5553f64ef13be8a9ec | diff --git a/python/dllib/src/test/bigdl/bigdlkeras/test_layer.py b/python/dllib/src/test/bigdl/bigdlkeras/test_layer.py
index <HASH>..<HASH> 100644
--- a/python/dllib/src/test/bigdl/bigdlkeras/test_layer.py
+++ b/python/dllib/src/test/bigdl/bigdlkeras/test_layer.py
@@ -66,9 +66,10 @@ class TestLayer(BigDLTestCase):
... | Support n-dimensional Dense (#<I>)
* update
* nD dense | intel-analytics_BigDL | train |
299be9cc2e0b6c03f598d5483f8f00bb9b785966 | diff --git a/ghost/moleculer-service-from-class/lib/moleculer-service-from-class.js b/ghost/moleculer-service-from-class/lib/moleculer-service-from-class.js
index <HASH>..<HASH> 100644
--- a/ghost/moleculer-service-from-class/lib/moleculer-service-from-class.js
+++ b/ghost/moleculer-service-from-class/lib/moleculer-ser... | Updated logs to use debug rather than info
no-issue
This reduces noise in moleculer logs | TryGhost_Ghost | train |
52d349838cf3752b13f64a62b336706a08f64da6 | diff --git a/arquillian/protocol-jmx/src/main/java/org/jboss/as/arquillian/protocol/jmx/JMXProtocolAS7.java b/arquillian/protocol-jmx/src/main/java/org/jboss/as/arquillian/protocol/jmx/JMXProtocolAS7.java
index <HASH>..<HASH> 100644
--- a/arquillian/protocol-jmx/src/main/java/org/jboss/as/arquillian/protocol/jmx/JMXPro... | AS7-<I> Change to operate on a single instance of the ServiceArchiveHolder across the whole Test Suite lifecycle. getPackager will be called pr Container, without a single instance the second container will overwrite the first containers state etc.. | wildfly_wildfly | train |
891a63a3051483f243a41abf5ae868e260542919 | diff --git a/codetransformer/transformers/interpolated_strings.py b/codetransformer/transformers/interpolated_strings.py
index <HASH>..<HASH> 100644
--- a/codetransformer/transformers/interpolated_strings.py
+++ b/codetransformer/transformers/interpolated_strings.py
@@ -3,11 +3,14 @@ A transformer implementing ruby-sty... | BUG: Correctly handle ruby_strings in tuples and frozensets. | llllllllll_codetransformer | train |
05d37f4ea8b4d85cc801f9ab9f2ce54e4967d982 | diff --git a/latools/filtering/signal_optimiser.py b/latools/filtering/signal_optimiser.py
index <HASH>..<HASH> 100644
--- a/latools/filtering/signal_optimiser.py
+++ b/latools/filtering/signal_optimiser.py
@@ -132,7 +132,7 @@ def calculate_optimisation_stats(d, analytes, min_points, weights, ind, x_bias=0
def signal_... | implementation of 'maximise' option in optimise filter | oscarbranson_latools | train |
6969c7f30a77fec6d4a71053e5e7ff5aca577aad | diff --git a/srp/__init__.py b/srp/__init__.py
index <HASH>..<HASH> 100644
--- a/srp/__init__.py
+++ b/srp/__init__.py
@@ -4,7 +4,7 @@ _mod = None
try:
import srp._ctsrp
_mod = srp._ctsrp
-except ImportError:
+except (ImportError, OSError):
pass
if not _mod: | Fall back to _pysrp when libssl cannot be imported
Add OSError to the list of exceptions swallowed when importing _ctsrp,
so that the library will not fail to load when libssl is not found. | cocagne_pysrp | train |
64aa59324fcc975b78abed7223b144a5daf232c3 | diff --git a/apiserver/facades/controller/instancepoller/instancepoller.go b/apiserver/facades/controller/instancepoller/instancepoller.go
index <HASH>..<HASH> 100644
--- a/apiserver/facades/controller/instancepoller/instancepoller.go
+++ b/apiserver/facades/controller/instancepoller/instancepoller.go
@@ -137,6 +137,14... | Skips provider link-layer device updates for machines that are not
alive. | juju_juju | train |
72da553ed95bc820a827b680cd341fae20f4f79f | diff --git a/types/block_test.go b/types/block_test.go
index <HASH>..<HASH> 100644
--- a/types/block_test.go
+++ b/types/block_test.go
@@ -2,6 +2,7 @@ package types
import (
"testing"
+ "time"
"github.com/stretchr/testify/require"
crypto "github.com/tendermint/go-crypto"
@@ -65,6 +66,7 @@ func makeCommit(blo... | add missing Timestamp to Vote
Fixes #<I> | tendermint_tendermint | train |
2d670dab1ff324723686c431091218bcb6450fb7 | diff --git a/gluish/common.py b/gluish/common.py
index <HASH>..<HASH> 100644
--- a/gluish/common.py
+++ b/gluish/common.py
@@ -188,14 +188,16 @@ class FillSolrIndex(luigi.Task):
date = ClosestDateParameter(default=datetime.date.today())
solruri = luigi.Parameter()
solrcore = luigi.Parameter()
- purge ... | enhanced FillSolrIndex task: added configurable chunk size + number of cores for processing + made purging really optional | miku_gluish | train |
b5c3e5115f5b7978ed90b144e3e5389603cd84dc | diff --git a/lib/github_api/api.rb b/lib/github_api/api.rb
index <HASH>..<HASH> 100644
--- a/lib/github_api/api.rb
+++ b/lib/github_api/api.rb
@@ -18,9 +18,9 @@ module Github
include Request
VALID_API_KEYS = [
- :page,
- :per_page,
- :jsonp_callback
+ 'page',
+ 'per_page',
+ 'j... | Extend main api filter to accept pagination params. | piotrmurach_github | train |
1962f743dc385735f1a6bcac404a2b4bef8d52f1 | diff --git a/lib/db/access.php b/lib/db/access.php
index <HASH>..<HASH> 100644
--- a/lib/db/access.php
+++ b/lib/db/access.php
@@ -393,12 +393,12 @@ $capabilities = array(
'moodle/site:viewanonymousevents' => array(
+ 'riskbitmask' => RISK_PERSONAL,
+
'captype' => 'read',
'contextlevel... | MDL-<I> roles: review new site:viewanonymousevents capability
Instead of PROHIBIT this capability for teachers, the
RISK_PERSONAL has been added. | moodle_moodle | train |
0ab74f54b74a2d0f3a6eb532dbd61d61ae2feebd | diff --git a/madison_wcb.py b/madison_wcb.py
index <HASH>..<HASH> 100644
--- a/madison_wcb.py
+++ b/madison_wcb.py
@@ -57,9 +57,11 @@ def get_color(index):
def brush_down():
make_cnc_request("pen.down")
+ state['turtle'].pendown()
def brush_up():
make_cnc_request("pen.up")
+ state['turtle'].penup(... | convert point_in_direction() to mimic scratch-style angles (0 degrees is up rather than right in scratch) | jrheard_madison_wcb | train |
79210ba8b56bc0eab27b4cc49e158b5083f5f51e | diff --git a/client/my-sites/themes/controller.js b/client/my-sites/themes/controller.js
index <HASH>..<HASH> 100644
--- a/client/my-sites/themes/controller.js
+++ b/client/my-sites/themes/controller.js
@@ -140,7 +140,7 @@ export function details( context, next ) {
// Generic middleware -- move to client/controller.js... | Themes: fix React node replacement protection
Path inspection was broken. | Automattic_wp-calypso | train |
2022ae6045f0b5533df35dabcb295a22655f9525 | diff --git a/examples/01_empty_window.rb b/examples/01_empty_window.rb
index <HASH>..<HASH> 100644
--- a/examples/01_empty_window.rb
+++ b/examples/01_empty_window.rb
@@ -3,7 +3,7 @@
# http://library.gnome.org/devel/gtk-tutorial/2.90/c39.html
#
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
-requi... | Update examples to use new library name. | mvz_gir_ffi | train |
ad6ffb8f9a5e4707b9430603863c887ecc3a9e0d | diff --git a/bootstrap/function.php b/bootstrap/function.php
index <HASH>..<HASH> 100755
--- a/bootstrap/function.php
+++ b/bootstrap/function.php
@@ -574,3 +574,25 @@ if (!function_exists('getallheaders')) {
}
}
+if (!function_exists('runnable')) {
+ /**
+ * @param mixed $reference
+ * @param string... | Function runnable to create callables | phpzm_kernel | train |
4d98847b2b4f75bc1519c7f2c1adc0aaa0e1dd9a | diff --git a/vraptor-site/Gruntfile.js b/vraptor-site/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/vraptor-site/Gruntfile.js
+++ b/vraptor-site/Gruntfile.js
@@ -6,6 +6,14 @@ module.exports = function(grunt) {
cwd: 'output',
src: '**',
dest: 'deploy'
+ },
+... | grunt task to use EN/index as home page | caelum_vraptor4 | train |
48718a3c772681b4a3644ba304d37fb9382e6f73 | diff --git a/integration-cli/docker_cli_help_test.go b/integration-cli/docker_cli_help_test.go
index <HASH>..<HASH> 100644
--- a/integration-cli/docker_cli_help_test.go
+++ b/integration-cli/docker_cli_help_test.go
@@ -126,7 +126,7 @@ func (s *DockerSuite) TestHelpTextVerify(c *check.C) {
out, stderr, _, err = runC... | Remove defaults for flags/options that expect no value
- isZeroValue function from upstream go
- covers booleans, strings and numbers
- change integration to reflect new behavior
- resolves #<I> | containers_storage | train |
882fdcb4313f4d1cd428de78b6e79b8f1b402d6b | diff --git a/lime/explanation.py b/lime/explanation.py
index <HASH>..<HASH> 100644
--- a/lime/explanation.py
+++ b/lime/explanation.py
@@ -95,8 +95,8 @@ class Explanation(object):
self.domain_mapper = domain_mapper
self.local_exp = {}
self.intercept = {}
- self.score = None
- se... | Make score and local_pred a dict | marcotcr_lime | train |
c7fce6151c23f0ac3291de44c6001a077a69d74d | diff --git a/pycoin/networks.py b/pycoin/networks.py
index <HASH>..<HASH> 100644
--- a/pycoin/networks.py
+++ b/pycoin/networks.py
@@ -51,6 +51,9 @@ NETWORKS = (
# MZC Mazacoin mainnet: xprv/xpub
NetworkValues("Mazacoin", "mainnet", "MZC", b'\xe0', b'\x32', b'\9', h2b("0488ADE4"), h2b("0488B21E")),
+ # V... | added wif, address, and bip<I>-prefix values for Vertcoin mainnet -- vtcp vtcv | richardkiss_pycoin | train |
959840d840c4d40a62e02355ea4597fce8808a79 | diff --git a/lib/readify.js b/lib/readify.js
index <HASH>..<HASH> 100644
--- a/lib/readify.js
+++ b/lib/readify.js
@@ -17,14 +17,15 @@ const nicki = !WIN && require('nicki/legacy');
const readdir = promisify(require('./readdir'));
const good = (f) => (...a) => f(null, ...a);
+const negative = (fn) => (...a) => -1 *... | fix(readify) sorting of dot files | coderaiser_readify | train |
005e2de162d1418c301b0449bb6e4fe72b750f5c | diff --git a/javagit/src/main/java/edu/nyu/cs/javagit/utilities/ExceptionMessageMap.java b/javagit/src/main/java/edu/nyu/cs/javagit/utilities/ExceptionMessageMap.java
index <HASH>..<HASH> 100644
--- a/javagit/src/main/java/edu/nyu/cs/javagit/utilities/ExceptionMessageMap.java
+++ b/javagit/src/main/java/edu/nyu/cs/java... | Modified the git-checkout code and added new entry for git-status | bit-man_SwissArmyJavaGit | train |
45de6e8013cf11fafbe402213450f9fc1b20378d | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -70,7 +70,7 @@ if sys.version_info >= (3, 0):
setup_params = dict(
name = 'keyring',
- version = "1.5",
+ version = "1.6",
description = "Store and access your passwords safely.",
url = "http://bitbucke... | Bumped to <I> in preparation for next release. | jaraco_keyring | train |
8fe5f29723f7b623a6f2db452b7c718edfb39194 | diff --git a/jenetics.incubator/src/main/java/io/jenetics/incubator/util/Lifecycle.java b/jenetics.incubator/src/main/java/io/jenetics/incubator/util/Lifecycle.java
index <HASH>..<HASH> 100644
--- a/jenetics.incubator/src/main/java/io/jenetics/incubator/util/Lifecycle.java
+++ b/jenetics.incubator/src/main/java/io/jene... | Additional Closeables for 'CloseableValue::trying' method. | jenetics_jenetics | train |
d34d09970309d90480cf8a73c187c9a9729474d3 | diff --git a/lib/stringify.js b/lib/stringify.js
index <HASH>..<HASH> 100644
--- a/lib/stringify.js
+++ b/lib/stringify.js
@@ -6,7 +6,7 @@ var compilerPrototype,
table = require('markdown-table');
function repeat(times, character) {
- return Array(times + 1).join(character);
+ return new Array(times + 1).join... | Add missing `new` operator to `lib/stringify.js` | remarkjs_remark | train |
237c5d942306e3b2c90b83b7e89f92ffaececc97 | diff --git a/lib/cssToJss.js b/lib/cssToJss.js
index <HASH>..<HASH> 100644
--- a/lib/cssToJss.js
+++ b/lib/cssToJss.js
@@ -13,8 +13,7 @@ module.exports = function (code) {
var ast = css.parse(code)
if (ast.stylesheet && ast.stylesheet.rules) {
- var jss = toJssRules(ast.stylesheet.rules)
- ret... | why bother, just return :-) | cssinjs_cli | train |
eab51d75fe81bf1e4cf225862dbd3684d4c1da70 | diff --git a/core/modules/core/src/com/haulmont/yarg/formatters/impl/xls/caches/XslStyleHelper.java b/core/modules/core/src/com/haulmont/yarg/formatters/impl/xls/caches/XslStyleHelper.java
index <HASH>..<HASH> 100644
--- a/core/modules/core/src/com/haulmont/yarg/formatters/impl/xls/caches/XslStyleHelper.java
+++ b/core... | MS Office opens XLS report with Protected View #<I> | cuba-platform_yarg | train |
abe2acaf7b77dc3cf6796dc721615ca9a4e6c5e8 | diff --git a/bg/breakpoint_graph.py b/bg/breakpoint_graph.py
index <HASH>..<HASH> 100644
--- a/bg/breakpoint_graph.py
+++ b/bg/breakpoint_graph.py
@@ -2,7 +2,9 @@
__author__ = "Sergey Aganezov"
__email__ = "aganezov(at)gwu.edu"
__status__ = "develop"
+from networkx import MultiGraph
class BreakpointGraph(object... | initial take on empty initialization of breakpoint graph | aganezov_bg | train |
2e8ab7757d9c126345dfd1aa9b840adf88327df9 | diff --git a/lib/podio/areas/news.rb b/lib/podio/areas/news.rb
index <HASH>..<HASH> 100644
--- a/lib/podio/areas/news.rb
+++ b/lib/podio/areas/news.rb
@@ -5,7 +5,7 @@ module Podio
def create(attributes)
response = Podio.connection.post do |req|
- req.url = '/news'
+ req.url '/news/'
req.body = attri... | Fix syntax error in create method on News area | podio_podio-rb | train |
c9c0fcb63263ecbc152170680c19ff6d9152aa21 | diff --git a/go/engine/saltpack_decrypt.go b/go/engine/saltpack_decrypt.go
index <HASH>..<HASH> 100644
--- a/go/engine/saltpack_decrypt.go
+++ b/go/engine/saltpack_decrypt.go
@@ -4,6 +4,7 @@
package engine
import (
+ "bytes"
"io"
"github.com/keybase/client/go/libkb"
@@ -58,12 +59,12 @@ func (e *SaltpackDecryp... | plumb promptForDecrypt for the signcryption mode | keybase_client | train |
5429f0ed96fe7a0925175119ab75fbbd1f4ecea0 | diff --git a/release_notes.md b/release_notes.md
index <HASH>..<HASH> 100644
--- a/release_notes.md
+++ b/release_notes.md
@@ -8,6 +8,7 @@
- APP-3459 - [CLI] Added support for deprecated_apps in spectool when generating install.json
- APP-3471 - [Session] Updated external session to better support Retry-After for... | + APP-<I> - [Playbooks] Added a feature to playbooks module to write additional data to KV store for test validation | ThreatConnect-Inc_tcex | train |
5d554c2dbe943710f73a2d14b5dc9885e831ca02 | diff --git a/tests/Unit/ControllerTest.php b/tests/Unit/ControllerTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/ControllerTest.php
+++ b/tests/Unit/ControllerTest.php
@@ -50,6 +50,7 @@ class ControllerTest extends TestCase
public function testRender()
{
+ $this->getView()->reset();
$... | test: try to fix "First argument is not an array" | phwoolcon_phwoolcon | train |
ff7f6741c6a914ed31909456ed1c0d6fd6804f0f | diff --git a/src/Helper/ApiDesc.php b/src/Helper/ApiDesc.php
index <HASH>..<HASH> 100644
--- a/src/Helper/ApiDesc.php
+++ b/src/Helper/ApiDesc.php
@@ -16,8 +16,8 @@ use PhalApi\Exception;
class ApiDesc extends ApiOnline {
- public function render() {
- parent::render();
+ public function render($tplPa... | online docs with tpl path | phalapi_kernal | train |
d511f15c47715e04bb4f22726adc444be4a3ca70 | diff --git a/components/View.php b/components/View.php
index <HASH>..<HASH> 100644
--- a/components/View.php
+++ b/components/View.php
@@ -1,5 +1,6 @@
<?php
-namespace jacmoe\mdpages\components;
+namespace app\components;
+
/*
* This file is part of
* the yii2 _
@@ -13,19 +14,21 @@ namespace jacmoe\mdpages\co... | Fixing the View component .. | jacmoe_yii2-mdpages-module | train |
70ba4660e1e2f7e5b6a41cabbd093fe1d337b70e | diff --git a/Moss/Storage/Query/Query.php b/Moss/Storage/Query/Query.php
index <HASH>..<HASH> 100644
--- a/Moss/Storage/Query/Query.php
+++ b/Moss/Storage/Query/Query.php
@@ -723,15 +723,14 @@ class Query implements QueryInterface
$this->fillKeys($relation->foreignKeys(), $mediator, $entity)
... | fixed oneTrough and manyTrough join | mossphp_moss-storage | train |
99e96140588493bdc78777f92dc07c32ae07d2a4 | diff --git a/tools/fbx2gltf2.py b/tools/fbx2gltf2.py
index <HASH>..<HASH> 100644
--- a/tools/fbx2gltf2.py
+++ b/tools/fbx2gltf2.py
@@ -1172,7 +1172,7 @@ def CreateBufferView(pBufferIdx, pBuffer, appendBufferData, lib, pByteOffset, ta
"byteLength": len(appendBufferData),
"byteOffset": pByteOffset,
... | [fbx2gltf2] Bake transform before SplitMeshPerMaterial or the vertices of split mesh will be wrong | pissang_claygl | train |
d1470f50d3a3a38533355a9fab7393e25a3b4226 | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -37,7 +37,6 @@ var (
ErrPacketDropped = errors.New("raven: packet dropped")
ErrUnableToUnmarshalJSON = errors.New("raven: unable to unmarshal JSON")
ErrMissingUser = errors.New("raven: dsn missing p... | feat: Permit dsns without secret (#<I>) | getsentry_raven-go | train |
f553f98518fcde0ddddc129cf712f04baf8f4a5d | diff --git a/definitions/npm/recompose_v0.24.x/flow_v0.47.x-/recompose_v0.24.x.js b/definitions/npm/recompose_v0.24.x/flow_v0.47.x-/recompose_v0.24.x.js
index <HASH>..<HASH> 100644
--- a/definitions/npm/recompose_v0.24.x/flow_v0.47.x-/recompose_v0.24.x.js
+++ b/definitions/npm/recompose_v0.24.x/flow_v0.47.x-/recompose_... | Update recompose_<I>.x.js (#<I>)
extend compose to <I> | flow-typed_flow-typed | train |
4918029b081b0c422895674e5331dbe393bce7eb | diff --git a/Tests/DependencyInjection/ConfigurationTest.php b/Tests/DependencyInjection/ConfigurationTest.php
index <HASH>..<HASH> 100644
--- a/Tests/DependencyInjection/ConfigurationTest.php
+++ b/Tests/DependencyInjection/ConfigurationTest.php
@@ -1,6 +1,7 @@
<?php
namespace Vresh\TwilioBundle\Tests\DependencyInje... | Added test for yaml file, see #<I> | fridolin-koch_VreshTwilioBundle | train |
71608eccf44e4e9edac9bc9acb9ecd7f068e10c3 | diff --git a/Samurai/Onikiri/Entity.php b/Samurai/Onikiri/Entity.php
index <HASH>..<HASH> 100644
--- a/Samurai/Onikiri/Entity.php
+++ b/Samurai/Onikiri/Entity.php
@@ -229,6 +229,11 @@ class Entity
array_shift($names);
$key = strtolower(join('_', $names));
return $this->$key = arra... | entity property accessor by name through geatter. | samurai-fw_samurai | train |
05a0fcaf079d5da1fc1ea04cd20f89307007ba7a | diff --git a/lib/reel/response.rb b/lib/reel/response.rb
index <HASH>..<HASH> 100644
--- a/lib/reel/response.rb
+++ b/lib/reel/response.rb
@@ -103,7 +103,7 @@ module Reel
end
private :render_header
- def canonicalize_headers headers
+ def canonicalize_headers(headers)
headers.inject({}) do |hea... | Excise some Seattle style
If nothing else, it's inconsistent from the rest of the codebase. | celluloid_reel | train |
3a56ba7db2d20699607c748dc134d2c161ef02a3 | diff --git a/tests/test_unreachable.py b/tests/test_unreachable.py
index <HASH>..<HASH> 100644
--- a/tests/test_unreachable.py
+++ b/tests/test_unreachable.py
@@ -274,3 +274,13 @@ while True:
print("Hello")
""")
check_unreachable(v, 4, 1, 'break')
+
+
+def test_while_true_else(v):
+ v.scan("""\
+while Tru... | Report while-True-else block as unreachable | jendrikseipp_vulture | train |
dfd45fb7fdec86e1a463c94a32bc2a35aa916eb0 | diff --git a/forms/ComplexTableField.php b/forms/ComplexTableField.php
index <HASH>..<HASH> 100755
--- a/forms/ComplexTableField.php
+++ b/forms/ComplexTableField.php
@@ -139,13 +139,13 @@ class ComplexTableField extends TableListField {
'edit' => array(
'label' => 'Edit',
'icon' => 'cms/images/edit.gif',
-... | BUGFIX: Fixed diabled image references for edit and delete links in CTF (from r<I>)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@<I> <I>b<I>ca-7a2a-<I>-9d3b-<I>d<I>a<I>a9 | silverstripe_silverstripe-framework | train |
0d64b519ed81e0ecbe943f67f65fab2c468c05bc | diff --git a/anyconfig/backends.py b/anyconfig/backends.py
index <HASH>..<HASH> 100644
--- a/anyconfig/backends.py
+++ b/anyconfig/backends.py
@@ -155,8 +155,8 @@ def inspect_input(input_, cps_by_ext=_PARSERS_BY_EXT,
def find_parser(input_, forced_type=None, is_path_=False):
"""
- Find out appropriate parser... | fix: one more fix a duplicated 'appropriate' word | ssato_python-anyconfig | train |
c1c13379c736bd4a0acdcc24ba879652c7c74641 | diff --git a/ghost/members-api/static/auth/pages/StripeSubscribePage.js b/ghost/members-api/static/auth/pages/StripeSubscribePage.js
index <HASH>..<HASH> 100644
--- a/ghost/members-api/static/auth/pages/StripeSubscribePage.js
+++ b/ghost/members-api/static/auth/pages/StripeSubscribePage.js
@@ -5,10 +5,16 @@ import Form... | Added coupon support to StripeSubscribePage
no-issue
Only shows the (disabled) input when a coupon is available | TryGhost_Ghost | train |
cc902e404db4c06cae5e8b7de14ec060f4a6142d | diff --git a/lxd/storage/drivers/driver_lvm_volumes.go b/lxd/storage/drivers/driver_lvm_volumes.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/drivers/driver_lvm_volumes.go
+++ b/lxd/storage/drivers/driver_lvm_volumes.go
@@ -475,23 +475,45 @@ func (d *lvm) MountVolume(vol Volume, op *operations.Operation) (bool, erro... | lxd/storage/drivers/driver/lvm/volumes: Deactivate volume in UnmountVolume | lxc_lxd | train |
4bba2c202e6723785a5df29e3fbc57ee15156485 | diff --git a/lib/messaging/stream_name.rb b/lib/messaging/stream_name.rb
index <HASH>..<HASH> 100644
--- a/lib/messaging/stream_name.rb
+++ b/lib/messaging/stream_name.rb
@@ -48,7 +48,7 @@ module Messaging
end
def self.get_category(stream_name)
- stream_name.split('-')[0]
+ EventSource::StreamName... | Utility implementations defer to EventSource implementations | eventide-project_messaging | train |
db30c2553b2e88cd8d441a57cd226c209f826a23 | diff --git a/tensorpack/callbacks/base.py b/tensorpack/callbacks/base.py
index <HASH>..<HASH> 100644
--- a/tensorpack/callbacks/base.py
+++ b/tensorpack/callbacks/base.py
@@ -7,7 +7,7 @@ from abc import ABCMeta
import six
from ..tfutils.common import get_op_or_tensor_by_name
-__all__ = ['Callback', 'ProxyCallback',... | add back-compat for triggerable | tensorpack_tensorpack | train |
b6ff08d09fb1446d136254580485fc82f75d415d | diff --git a/src/main/java/org/jdbdt/DataSet.java b/src/main/java/org/jdbdt/DataSet.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jdbdt/DataSet.java
+++ b/src/main/java/org/jdbdt/DataSet.java
@@ -2,7 +2,6 @@ package org.jdbdt;
import java.util.ArrayList;
import java.util.Collections;
-import java.util.It... | DataSet: rows field is now strictly ArrayList; sub-set operation
more efficient now | JDBDT_jdbdt | train |
5da6829b203bc92dbb44d1be67111acf25ce7de5 | diff --git a/pnc-model/src/main/java/org/jboss/pnc/model/ProductVersion.java b/pnc-model/src/main/java/org/jboss/pnc/model/ProductVersion.java
index <HASH>..<HASH> 100644
--- a/pnc-model/src/main/java/org/jboss/pnc/model/ProductVersion.java
+++ b/pnc-model/src/main/java/org/jboss/pnc/model/ProductVersion.java
@@ -20,11... | [NCL-<I>] Use separate sequence gen for product version
This was missed in the previous commit for NCL-<I> | project-ncl_pnc | train |
6423626bd643764f0ece8becf7b6823c122110a1 | diff --git a/ykman/util.py b/ykman/util.py
index <HASH>..<HASH> 100644
--- a/ykman/util.py
+++ b/ykman/util.py
@@ -466,8 +466,7 @@ def parse_certificate(data, password):
# PEM
if is_pem(data):
try:
- logger.debug('Certificate is in PEM format')
- data = data[data.index(PEM_IDENT... | piv: drop pem trimming, not needed | Yubico_yubikey-manager | train |
464ce13b133b20f35600a407a86ccaf9f7296c86 | diff --git a/src/ol/style/iconstyle.js b/src/ol/style/iconstyle.js
index <HASH>..<HASH> 100644
--- a/src/ol/style/iconstyle.js
+++ b/src/ol/style/iconstyle.js
@@ -347,6 +347,10 @@ ol.style.Icon.prototype.listenImageChange = function(listener, thisArg) {
/**
* Load not yet loaded URI.
+ * When rendering a feature w... | Mark ol.style.Icon#load() @api
We currently rely on the renderer to load the styles it intents to use.
In Ol3-Cesium we want to allow different styles for 3D and for 2D.
This commit fixes the issue by allowing application code to explicitely
initiate the loading process. | openlayers_openlayers | train |
bd1818fd60211f97c288d6d6f1eec759f777d14c | diff --git a/main.go b/main.go
index <HASH>..<HASH> 100644
--- a/main.go
+++ b/main.go
@@ -99,7 +99,7 @@ func PreviousHandler(w http.ResponseWriter, r *http.Request) {
func PlayHandler(w http.ResponseWriter, r *http.Request) {
conn := client()
defer conn.Close()
- err := conn.Pause(false)
+ err := conn.Play(-1)
... | Use play to resume playing as pause does not restart when stopped | zefer_mothership | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.