hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
031674681b49f9af502bcd28bdbffd36ab4da244 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -162,7 +162,7 @@ export default class TimeAgo extends Component<DefaultProps, Props, void> {
? [Math.round(seconds / MONTH), 'month']
: [Math.round(seconds / YEAR), 'year']
- const props = Ob... | Use object spread syntax instead of Object.assign()
Fixes react-timeago in IE<I> and anything else which doesn't implement `Object.assign()` natively
This should also close #<I> | nmn_react-timeago | train |
26758a8bde28df0a8b0956aa36d40f6db60ddaa6 | diff --git a/lib/cli.js b/lib/cli.js
index <HASH>..<HASH> 100644
--- a/lib/cli.js
+++ b/lib/cli.js
@@ -51,13 +51,12 @@ module.exports = function(){
},
// get version
ver: ['cc', function(next, res){
- console.log(res)
gitTag.latest(function(ver){
if (!semver.vali... | auto commit by npm-git | cutsin_npm-git | train |
59476a2d03304be2ee7a2e0077f49321aee545c4 | diff --git a/lib/assets.js b/lib/assets.js
index <HASH>..<HASH> 100644
--- a/lib/assets.js
+++ b/lib/assets.js
@@ -121,8 +121,6 @@ module.exports = {
// Full paths to assets as computed by pushAsset
self._assets = { stylesheets: [], scripts: [], templates: [] };
- var alreadyPushed = {};
-
// `self.... | Stomp duplicate assets in filterAssets, rather than in pushAsset. That way, we can allow the same asset to be pushed for 'user' and 'always', and send it just for the first one. | apostrophecms_apostrophe | train |
5511a622d857f44776a0aa55e22b3a151543c1f4 | diff --git a/goblin.go b/goblin.go
index <HASH>..<HASH> 100644
--- a/goblin.go
+++ b/goblin.go
@@ -171,10 +171,15 @@ func runIt (g *G, h interface{}) {
g.currentIt.isAsync = true
// the test is asynchronous
g.shouldContinue = make(chan bool)
+ doneCalled := 0
call(func(msg ...... | Add check to see if done has been called more than once in async test | franela_goblin | train |
bbd6ffca3b9847b8a5659903de601102ceaf6e5e | diff --git a/lib/plugins/vusion-tree-shaking.js b/lib/plugins/vusion-tree-shaking.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/vusion-tree-shaking.js
+++ b/lib/plugins/vusion-tree-shaking.js
@@ -27,6 +27,7 @@ class VusionTreeShakingPlugin {
const entryModule = chunk.entryModule;
... | :bug: unexpected entry module removed by force shaking when using with webpack common chunks plugin | vusion_vusion-cli | train |
7e41a95462bc79b53b7cc88823b139aba9012291 | diff --git a/src/Sonata/Component/Basket/Loader.php b/src/Sonata/Component/Basket/Loader.php
index <HASH>..<HASH> 100644
--- a/src/Sonata/Component/Basket/Loader.php
+++ b/src/Sonata/Component/Basket/Loader.php
@@ -58,7 +58,7 @@ class Loader
* @throws \RuntimeException
* @return \Sonata\Component\Basket\Bas... | Changing the visibility of the method "getBasketInstance" (private > protected) | sonata-project_ecommerce | train |
b75a229195d11ea56d1f383c1bb3e8cdccfd6447 | diff --git a/addon/utils/attr.js b/addon/utils/attr.js
index <HASH>..<HASH> 100644
--- a/addon/utils/attr.js
+++ b/addon/utils/attr.js
@@ -71,9 +71,11 @@ export default function attr(type = 'any', mutable = true) {
this.set('attributes.' + key, value);
if (!this.get('isNew')) {
this._attributes[k... | Update rollback methods, not to behave like undo
Fix behavior for rollbackAttributes. The intent is to rollback to the value
fetched from the persistence layer; not to stash an attribute’s value on every
call to `.set()`.
- Fix failing tests for previousAttributes and rollbackAttributes
- Update `attr()` `set()` meth... | pixelhandler_ember-jsonapi-resources | train |
3488d10608698c6547d9051a6665926d9117cade | diff --git a/src/actions/breakpoints.js b/src/actions/breakpoints.js
index <HASH>..<HASH> 100644
--- a/src/actions/breakpoints.js
+++ b/src/actions/breakpoints.js
@@ -165,10 +165,16 @@ export function enableBreakpoint(location: Location) {
return;
}
+ // To instantly reflect in the UI, we optimisticall... | Optimitically enable breakpoint in UI (#<I>) | firefox-devtools_debugger | train |
37a1e330f67c74773fe549dacd5851c323896347 | diff --git a/src/django_future/__init__.py b/src/django_future/__init__.py
index <HASH>..<HASH> 100644
--- a/src/django_future/__init__.py
+++ b/src/django_future/__init__.py
@@ -60,12 +60,12 @@ def run_jobs(delete_completed=False, ignore_errors=False, now=None):
raise ValueError('jobs in progress found; abort... | Expire jobs in one SQL statement. | shrubberysoft_django-future | train |
9b865d86a9606b46e2299be7f8088d12d4f544d2 | diff --git a/remotes/docker/pusher.go b/remotes/docker/pusher.go
index <HASH>..<HASH> 100644
--- a/remotes/docker/pusher.go
+++ b/remotes/docker/pusher.go
@@ -155,9 +155,18 @@ func (p dockerPusher) Push(ctx context.Context, desc ocispec.Descriptor) (conten
location := resp.Header.Get("Location")
// Support paths ... | docker/pusher: handle location string containing path and query | containerd_containerd | train |
c5d99d15891674e86606f6ff4f8d53e057c141f6 | diff --git a/lib/html_mockup/release.rb b/lib/html_mockup/release.rb
index <HASH>..<HASH> 100644
--- a/lib/html_mockup/release.rb
+++ b/lib/html_mockup/release.rb
@@ -277,7 +277,8 @@ module HtmlMockup
end
- # Nothing genius -> it came from the blogz, however, do we really want to load activesuppor... | Add source in comment for camel_case function | DigitPaint_html_mockup | train |
7d289f25f207d8ae9e4bb1ff1a6e12b646c4044e | diff --git a/insights/parsers/mongod_conf.py b/insights/parsers/mongod_conf.py
index <HASH>..<HASH> 100644
--- a/insights/parsers/mongod_conf.py
+++ b/insights/parsers/mongod_conf.py
@@ -147,7 +147,7 @@ class MongodbConf(Parser, LegacyItemAccess):
if a key-value pair conf.
"""
if self.is_yaml... | Update parser MongodbConf to support another dbPath format (#<I>) | RedHatInsights_insights-core | train |
2567adca26fe3706bc93dfd107269d6a6c7e2c48 | diff --git a/modules/pulsestorm/magento2/cli/generate/config_helper/module.php b/modules/pulsestorm/magento2/cli/generate/config_helper/module.php
index <HASH>..<HASH> 100644
--- a/modules/pulsestorm/magento2/cli/generate/config_helper/module.php
+++ b/modules/pulsestorm/magento2/cli/generate/config_helper/module.php
@... | First pass at generate docs complete. | astorm_pestle | train |
95e08ef86c98cd172b5b8630c419309664876d76 | diff --git a/core/src/main/java/org/bitcoinj/core/PeerGroup.java b/core/src/main/java/org/bitcoinj/core/PeerGroup.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/bitcoinj/core/PeerGroup.java
+++ b/core/src/main/java/org/bitcoinj/core/PeerGroup.java
@@ -2208,37 +2208,29 @@ public class PeerGroup implements... | PeerGroup: Require SegWit protocol and service when selecting a download peer.
Those nodes are extremely common now. | bitcoinj_bitcoinj | train |
73bf781ffced631fb070ba3947df52812dfa6358 | diff --git a/lib/event_socket.js b/lib/event_socket.js
index <HASH>..<HASH> 100644
--- a/lib/event_socket.js
+++ b/lib/event_socket.js
@@ -146,6 +146,9 @@ EventSocket.prototype.send = function(topic, data) {
// used for _peer/connect _peer/disconnect
if (Object.keys(data).length === 1 && typeof data.pee... | Fix for older peer websocket streams. | zettajs_zetta | train |
48a58b0294f0271c7f7249721ba705f14df05d62 | diff --git a/salt/runners/doc.py b/salt/runners/doc.py
index <HASH>..<HASH> 100644
--- a/salt/runners/doc.py
+++ b/salt/runners/doc.py
@@ -32,8 +32,7 @@ def runner():
'''
client = salt.runner.RunnerClient(__opts__)
ret = client.get_docs()
- salt.output.display_output(ret, '', __opts__)
- return ret... | Use event output in doc runner | saltstack_salt | train |
65cc058b40c97b27e583e9c1ab7112b06793cdfc | diff --git a/cli/utils/ts-linter.js b/cli/utils/ts-linter.js
index <HASH>..<HASH> 100644
--- a/cli/utils/ts-linter.js
+++ b/cli/utils/ts-linter.js
@@ -22,18 +22,16 @@ function lintSync() {
// Convert buffers to strings.
let output = [];
- if (spawnResult.output) {
- spawnResult.output.forEach((buffer) => {
... | Using different technique to ignore file changes. (#<I>) | blackbaud_skyux-builder | train |
4f701edf0661913947ae45dd09e4846e0b66bf7b | diff --git a/lib/sup/modes/edit-message-mode.rb b/lib/sup/modes/edit-message-mode.rb
index <HASH>..<HASH> 100644
--- a/lib/sup/modes/edit-message-mode.rb
+++ b/lib/sup/modes/edit-message-mode.rb
@@ -105,7 +105,9 @@ EOS
def edit_message_or_field
lines = DECORATION_LINES + @selectors.size
- if (curpos - line... | edit-message-mode bugfix: edit_message_or_header shouldn't do anything on decoration and horizontal-selector lines
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@<I> 5c8cc<I>c-5e<I>-4d<I>-b<I>a-d8db<I>a<I> | sup-heliotrope_sup | train |
7b584f9a788fd044d886c18d699d0bf778c63e6b | diff --git a/core/Session/SessionAuth.php b/core/Session/SessionAuth.php
index <HASH>..<HASH> 100644
--- a/core/Session/SessionAuth.php
+++ b/core/Session/SessionAuth.php
@@ -137,7 +137,7 @@ class SessionAuth implements Auth
return new AuthResult($code, $user['login'], $user['token_auth']);
}
- priva... | Make two SessionAuth private methods protected. (#<I>) | matomo-org_matomo | train |
285219f34d6237f7a879754ba1f998eb107d81f5 | diff --git a/api/facadeversions.go b/api/facadeversions.go
index <HASH>..<HASH> 100644
--- a/api/facadeversions.go
+++ b/api/facadeversions.go
@@ -9,7 +9,7 @@ package api
// This map should be updated whenever the API server exposes a new version (so
// that the client will use it whenever it is available).
var faca... | Forgot to change agent version in api package. | juju_juju | train |
6f22ed5d082ec7c406ec3fe824ad0ab5caae2fd7 | diff --git a/plugins/localfile.js b/plugins/localfile.js
index <HASH>..<HASH> 100644
--- a/plugins/localfile.js
+++ b/plugins/localfile.js
@@ -21,8 +21,10 @@ var localfile = function(ctx, next) {
title: path.basename(filePath)
}
};
-
http.createServer(function(req, res) {
+ res.writeHead(... | added cross origin headers to localfile and transcode, this makes subtitles work | xat_castnow | train |
35e7a4c684fe88e2a7c224f4c8d28dc85de831c1 | diff --git a/boot.js b/boot.js
index <HASH>..<HASH> 100644
--- a/boot.js
+++ b/boot.js
@@ -293,16 +293,6 @@ if (!gpf.ASSERT) {
/*#ifndef(UMD)*/
-function _safeEval(src, content) {
- try {
- /*jslint evil: true*/
- eval(content);
- /*jslint evil: false*/
- } catch (e) {
- console.e... | All sources are loaded at once to solve issues | ArnaudBuchholz_gpf-js | train |
e2d1b1a4fa8b696ed68f133ad6d4f7212beff379 | diff --git a/packages/selenium-ide/src/api/v1/record.js b/packages/selenium-ide/src/api/v1/record.js
index <HASH>..<HASH> 100644
--- a/packages/selenium-ide/src/api/v1/record.js
+++ b/packages/selenium-ide/src/api/v1/record.js
@@ -15,15 +15,30 @@
// specific language governing permissions and limitations
// under the... | allow querying which tab is being recorded | SeleniumHQ_selenium-ide | train |
9a87c52aa42fd163b24775546793bf96d56a7492 | diff --git a/packages/input-phone/src/PhoneInput.styled.js b/packages/input-phone/src/PhoneInput.styled.js
index <HASH>..<HASH> 100644
--- a/packages/input-phone/src/PhoneInput.styled.js
+++ b/packages/input-phone/src/PhoneInput.styled.js
@@ -7,7 +7,7 @@ export const PopoverWrapper = styled.div`
flex-direction: colu... | fix(input-phone): reduce popover min-width to fit <I>px viewports
affects: @crave/farmblocks-input-phone | CraveFood_farmblocks | train |
b7b2b31f93fcf01b79d148d2296726de73d4b1e8 | diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/commands/run.py b/datadog_checks_dev/datadog_checks/dev/tooling/commands/run.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_dev/datadog_checks/dev/tooling/commands/run.py
+++ b/datadog_checks_dev/datadog_checks/dev/tooling/commands/run.py
@@ -14,7 +14,7 @@... | Fix "Allow help options to ddev run command" (#<I>)
* Revert "Allow help options to ddev run command (#<I>)"
This reverts commit <I>f1e<I>c2a<I>b<I>e<I>a5cb2ea7b6d<I>.
* meh, not a fan | DataDog_integrations-core | train |
037342a6aa73ab5c683a6abbcf088f089815ec25 | diff --git a/lib/resqued/listener_pool.rb b/lib/resqued/listener_pool.rb
index <HASH>..<HASH> 100644
--- a/lib/resqued/listener_pool.rb
+++ b/lib/resqued/listener_pool.rb
@@ -25,6 +25,11 @@ module Resqued
@listener_proxies.size
end
+ # Public: Are the listeners all gone?
+ def empty?
+ @listene... | Exit when listeners are all gone | spraints_resqued | train |
bc1336d53376c9f07777121d1dc326abbb21072d | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -118,6 +118,11 @@ function Domt(parent) {
this.reExpr = new RegExp(start + '([^' + start + end + ']+)' + end, "g");
};
+Domt.prototype.empty = function() {
+ this.merge(null, {empty:true});
+ return this;
+};
+
Domt.prot... | Add this.empty() method to empty all repeated nodes (and fix it) | kapouer_domt | train |
b5ba4c113b2fd028d55060fd460e47190271ce35 | diff --git a/src-gwt/org/opencms/ade/sitemap/client/CmsSitemapView.java b/src-gwt/org/opencms/ade/sitemap/client/CmsSitemapView.java
index <HASH>..<HASH> 100644
--- a/src-gwt/org/opencms/ade/sitemap/client/CmsSitemapView.java
+++ b/src-gwt/org/opencms/ade/sitemap/client/CmsSitemapView.java
@@ -500,6 +500,7 @@ implement... | Fixing issue where parent template models could not be copied. | alkacon_opencms-core | train |
a792a6f53c57e5f6ace0dbfc2df9ca195a0bbce5 | diff --git a/fedmsg/meta/base.py b/fedmsg/meta/base.py
index <HASH>..<HASH> 100644
--- a/fedmsg/meta/base.py
+++ b/fedmsg/meta/base.py
@@ -109,8 +109,21 @@ class BaseProcessor(object):
'packages': ['ghc', 'nethack', ... ],
'topics': ['org.fedoraproject.prod.git.receive'],
'categor... | Include constituent metadata in the conglomerate message. | fedora-infra_fedmsg | train |
9290cc97d1cb608503a83b7c3945832158a4bddb | diff --git a/test/select.spec.js b/test/select.spec.js
index <HASH>..<HASH> 100644
--- a/test/select.spec.js
+++ b/test/select.spec.js
@@ -8,7 +8,7 @@ describe('ui-select tests', function() {
$rootScope = _$rootScope_;
scope = $rootScope.$new();
$compile = _$compile_;
- scope.selection = {}
+ scope.sel... | test(choices): should work correctly with child array as choices | angular-ui_ui-select | train |
bf3bc0ed6bdc239e31e2a78486d5699d7fcbde22 | diff --git a/lease/lessor.go b/lease/lessor.go
index <HASH>..<HASH> 100644
--- a/lease/lessor.go
+++ b/lease/lessor.go
@@ -26,6 +26,15 @@ var (
minLeaseTerm = 5 * time.Second
)
+// DeleteableRange defines an interface with DeleteRange method.
+// We define this interface only for lessor to limit the number
+// of ... | lease: delete items when the lease is revoked.
Add minimum KV interface and implmement the deleting mechanism for
revoking lease. | etcd-io_etcd | train |
01d5fbc2e06d76db1501ad3e24691c2643a9acd7 | diff --git a/core/src/main/java/hudson/model/UpdateSite.java b/core/src/main/java/hudson/model/UpdateSite.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/model/UpdateSite.java
+++ b/core/src/main/java/hudson/model/UpdateSite.java
@@ -597,6 +597,12 @@ public class UpdateSite {
@Exported
... | [FIXED JENKINS-<I>] Installing a plugin with optional dependencies doesn't upgrade the optional dependencies when needed | jenkinsci_jenkins | train |
f9377e8fdd9cfa3533d45a07c9a81b06800c91ef | diff --git a/lib/depject/gathering/sheet/edit.js b/lib/depject/gathering/sheet/edit.js
index <HASH>..<HASH> 100644
--- a/lib/depject/gathering/sheet/edit.js
+++ b/lib/depject/gathering/sheet/edit.js
@@ -131,7 +131,7 @@ exports.create = function (api) {
publiclyEditable: true,
value: {
... | fix: don't show gatherings as private in the preview | ssbc_patchwork | train |
74084f3967e36364470576549e1837a8c606c31b | diff --git a/snmp/datadog_checks/snmp/snmp.py b/snmp/datadog_checks/snmp/snmp.py
index <HASH>..<HASH> 100644
--- a/snmp/datadog_checks/snmp/snmp.py
+++ b/snmp/datadog_checks/snmp/snmp.py
@@ -129,15 +129,10 @@ class SnmpCheck(AgentCheck):
else:
return None
- def discover_instances(self):
- ... | Validate and cast `discovery_interval` to a number (#<I>)
* Validate and parse `discovery_interval` as an integer
* Switch to float, fix unit test
* Pass args to Thread | DataDog_integrations-core | train |
7ce5df192358d4cdc64136360d9cbdeeac33aac0 | diff --git a/lib/fuzz/cache.rb b/lib/fuzz/cache.rb
index <HASH>..<HASH> 100644
--- a/lib/fuzz/cache.rb
+++ b/lib/fuzz/cache.rb
@@ -2,7 +2,7 @@ require "fileutils"
class Fuzz::Cache
def initialize(cache_file)
- @cache_file = cache_file
+ @cache_file = File.expand_path(cache_file)
@entries = cache_entrie... | Expand cache file path
This lets us use `~` and other shortcuts in our cache paths. | hrs_fuzz | train |
dc26025a160bf0d981ef939db172a3dbe2d52488 | diff --git a/lib/parser/juttle-parser.js b/lib/parser/juttle-parser.js
index <HASH>..<HASH> 100644
--- a/lib/parser/juttle-parser.js
+++ b/lib/parser/juttle-parser.js
@@ -179,6 +179,16 @@ function parse(mainSource, options) {
}
}
+ function resolveImport(import_) {
+ return options.moduleResol... | parser.parse: Extract `resolveImport`
This makes the code slightly more readable. | juttle_juttle | train |
98ead7821d77c59c4ef711fcbee597de8bf01d74 | diff --git a/src/NestedForm.js b/src/NestedForm.js
index <HASH>..<HASH> 100644
--- a/src/NestedForm.js
+++ b/src/NestedForm.js
@@ -17,7 +17,7 @@ class NestedForm extends React.Component {
name: PropTypes.string.isRequired,
schema: PropTypes.object,
errors: PropTypes.object,
- onError: PropTypes.func.i... | fix: do not require onError in NestedForm (#<I>) | jquense_react-formal | train |
41ba49ccec3def19e05ec8e2f867e81e20371601 | diff --git a/create.js b/create.js
index <HASH>..<HASH> 100644
--- a/create.js
+++ b/create.js
@@ -5,7 +5,7 @@ var isExtensible = require('es5-ext/array/_is-extensible')
, validArray = require('es5-ext/array/valid-array')
, isCopy = require('es5-ext/array/#/is-copy')
, validFunction ... | Update up to changes in es5-ext | medikoo_observable-array | train |
f17a8a3c01210c10cedeba39fbcc569393de1ec8 | diff --git a/regulargrid/cartesiangrid.py b/regulargrid/cartesiangrid.py
index <HASH>..<HASH> 100644
--- a/regulargrid/cartesiangrid.py
+++ b/regulargrid/cartesiangrid.py
@@ -1,5 +1,5 @@
import numpy
-import itertools
+import scipy.ndimage
class CartesianGrid(object):
"""
@@ -9,45 +9,13 @@ class CartesianGrid(obj... | even faster implementation based on scipy.ndimage.map_coordinates | JohannesBuchner_regulargrid | train |
ee12bb52381e8f0583c61fc25d43de1f55b80a87 | diff --git a/src/main/java/org/codehaus/groovy/vmplugin/v8/Selector.java b/src/main/java/org/codehaus/groovy/vmplugin/v8/Selector.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/codehaus/groovy/vmplugin/v8/Selector.java
+++ b/src/main/java/org/codehaus/groovy/vmplugin/v8/Selector.java
@@ -932,11 +932,12 @@ pub... | Avoid unnecessary guards for receiver and parameter of `final` type | apache_groovy | train |
790170c355ec630907c0568d62e63fa1b418f860 | diff --git a/src/main/java/com/networknt/schema/OneOfValidator.java b/src/main/java/com/networknt/schema/OneOfValidator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/networknt/schema/OneOfValidator.java
+++ b/src/main/java/com/networknt/schema/OneOfValidator.java
@@ -18,14 +18,15 @@ package com.networknt.sch... | backport 5 of <I> source lines that prevent compiling for java <I> | networknt_json-schema-validator | train |
ea5d6b69e5ec9cda11c0996de0d48f25d2c386e5 | diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/server/ws/WebServiceTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/server/ws/WebServiceTest.java
index <HASH>..<HASH> 100644
--- a/sonar-plugin-api/src/test/java/org/sonar/api/server/ws/WebServiceTest.java
+++ b/sonar-plugin-api/src/test/java/org/sonar... | Replace anonymous classes with method reference in WebServiceTest | SonarSource_sonarqube | train |
c066c1124e68ea4f1367c4a8edd796ba63a7d4fb | diff --git a/tests/maskers/_fixed_composite.py b/tests/maskers/_fixed_composite.py
index <HASH>..<HASH> 100644
--- a/tests/maskers/_fixed_composite.py
+++ b/tests/maskers/_fixed_composite.py
@@ -3,7 +3,8 @@
def test_fixed_composite_masker_call():
import numpy as np
- from transformers import AutoTokenizer
+ ... | Updated test for fixed composite masker | slundberg_shap | train |
d5f7dd3c8538fb035f1c769be27798512d833266 | diff --git a/src/test/java/com/shippo/model/CustomsDeclarationTest.java b/src/test/java/com/shippo/model/CustomsDeclarationTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/shippo/model/CustomsDeclarationTest.java
+++ b/src/test/java/com/shippo/model/CustomsDeclarationTest.java
@@ -50,7 +50,11 @@ public cla... | Updating tax id field in tests | goshippo_shippo-java-client | train |
8dc2803447114f23fc5923a457d88dd8f0062b7e | diff --git a/classes/fields/file.php b/classes/fields/file.php
index <HASH>..<HASH> 100644
--- a/classes/fields/file.php
+++ b/classes/fields/file.php
@@ -1249,7 +1249,12 @@ class PodsField_File extends PodsField {
}
// Upload file.
- $attachment_id = media_handle_upload( 'Filedata', $params->item_id );
... | Only pass item ID if it's a Post
WordPress's `media_handle_upload()` can only accept a Post ID. | pods-framework_pods | train |
50c988f4c7901a8c2252455bd15a418de84eb588 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -100,7 +100,7 @@ module.exports = function(grunt) {
// By default, lint and run all tests.
grunt.registerTask('default', [
'clean',
- 'processhtml:dist',
+ 'processhtml:dist',
'copy:dist'... | Updates to readme, Gruntfile, task to call done | uncss_grunt-uncss | train |
3e6e946eaa02d6bd32669db202e8f2b8f226dff0 | diff --git a/lib/kappa/team.rb b/lib/kappa/team.rb
index <HASH>..<HASH> 100644
--- a/lib/kappa/team.rb
+++ b/lib/kappa/team.rb
@@ -2,10 +2,10 @@ module Kappa
class TeamBase
include IdEquality
- def initialize(hash)
- parse(hash)
- end
-
+ #
+ # GET /teams/:team
+ # https://github.com/justi... | Replacing Team#parse with Team#initialize to follow common pattern. | schmich_kappa | train |
e5308d12793d0490352489ccf8deb75bd8c44171 | diff --git a/bin/webpack.js b/bin/webpack.js
index <HASH>..<HASH> 100755
--- a/bin/webpack.js
+++ b/bin/webpack.js
@@ -343,9 +343,8 @@ function processOptions(options) {
});
}
}
- if(options.watch) {
- var primaryOptions = !Array.isArray(options) ? options : options[0];
- var watchOptions = primaryOptions.wa... | Fix watch when config is an array of objects | webpack_webpack | train |
a637fa21014e513ab7666e199c11987a3a76914d | diff --git a/internal/service/s3/bucket_replication_configuration_test.go b/internal/service/s3/bucket_replication_configuration_test.go
index <HASH>..<HASH> 100644
--- a/internal/service/s3/bucket_replication_configuration_test.go
+++ b/internal/service/s3/bucket_replication_configuration_test.go
@@ -1594,7 +1594,10 @... | add dependency on destination acl as well | terraform-providers_terraform-provider-aws | train |
8860a60ea5a6ddba06b7088bd3580ba753c2b012 | diff --git a/src/Table/Table.spec.js b/src/Table/Table.spec.js
index <HASH>..<HASH> 100644
--- a/src/Table/Table.spec.js
+++ b/src/Table/Table.spec.js
@@ -44,4 +44,9 @@ describe('<Table />', () => {
const wrapper = shallow(<Table>{children}</Table>);
assert.strictEqual(wrapper.childAt(0).equals(children), tru... | [Table] Increase test coverage. (#<I>) | mui-org_material-ui | train |
2b9b28c7d050ee77c2273516c6581bf11fa63944 | diff --git a/array_connection.go b/array_connection.go
index <HASH>..<HASH> 100644
--- a/array_connection.go
+++ b/array_connection.go
@@ -4,6 +4,7 @@ import (
"encoding/base64"
"errors"
"fmt"
+ "reflect"
"strconv"
"strings"
)
@@ -141,7 +142,7 @@ func CursorForObjectInConnection(data []interface{}, object in... | use reflect.DeepEqual for better object comparison | graphql-go_relay | train |
1619f84bc86c4ed0ed8ce3caffec14070699033c | diff --git a/framework/core/src/Api/Actions/BaseAction.php b/framework/core/src/Api/Actions/BaseAction.php
index <HASH>..<HASH> 100644
--- a/framework/core/src/Api/Actions/BaseAction.php
+++ b/framework/core/src/Api/Actions/BaseAction.php
@@ -13,8 +13,6 @@ use Response;
abstract class BaseAction extends Action
{
- ... | Provide empty run() method.
This allows me to override the handle() method in subclasses (where
I need access to the request object) without having to overwrite
run(), too.
The class is still abstract. | flarum_core | train |
4d66178177aeabd31f3ae01e7196316e8055838a | diff --git a/tests/filesystem.go b/tests/filesystem.go
index <HASH>..<HASH> 100644
--- a/tests/filesystem.go
+++ b/tests/filesystem.go
@@ -93,6 +93,7 @@ func runIgnition(t *testing.T, stage, root, cwd string, appendEnv []string, expe
cmd.Dir = cwd
cmd.Env = append(os.Environ(), appendEnv...)
out, err := cmd.Combi... | tests: print pid of ignition when running bb tests
Print Ignition's PID when running blackbox tests to make retrieving
logs from journald from a particular test easier. | coreos_ignition | train |
e187f4af32e423fe211f38bb366759c1966105f0 | diff --git a/src/core/utils/index.js b/src/core/utils/index.js
index <HASH>..<HASH> 100644
--- a/src/core/utils/index.js
+++ b/src/core/utils/index.js
@@ -331,10 +331,25 @@ export const assign = (target: Object, ...others: any[]) => {
return to;
};
+let id = 0;
+let idTemplate = '{id}';
+
/**
* Generates a uni... | make uniqId more deterministic closes #<I> | baianat_vee-validate | train |
c07c2205ec8b3ee9395d66c289e3f3e14a80c409 | diff --git a/cherrypy/_cpconfig.py b/cherrypy/_cpconfig.py
index <HASH>..<HASH> 100644
--- a/cherrypy/_cpconfig.py
+++ b/cherrypy/_cpconfig.py
@@ -248,7 +248,29 @@ Config.namespaces["server"] = _server_namespace_handler
def _engine_namespace_handler(k, v):
"""Backward compatibility handler for the "engine" namesp... | Added aliases back in, but with deprecation warning. | cherrypy_cheroot | train |
260b448dc7ff5302395c3587b9066492f89c610f | diff --git a/lib/function/algebra/derivative.js b/lib/function/algebra/derivative.js
index <HASH>..<HASH> 100644
--- a/lib/function/algebra/derivative.js
+++ b/lib/function/algebra/derivative.js
@@ -5,6 +5,7 @@ function factory (type, config, load, typed) {
var simplify = load(require('./simplify'));
var equal = ... | Use getType insead of using to removed valueType in derivative | josdejong_mathjs | train |
7393271f0d7b404b330fef76da13b41b1a813e7b | diff --git a/src/callback/Binding.js b/src/callback/Binding.js
index <HASH>..<HASH> 100644
--- a/src/callback/Binding.js
+++ b/src/callback/Binding.js
@@ -71,7 +71,7 @@ define([
var parentModel = null;
- this.applyBinding = function(scope, name, model) {
+ function applyBinding(scope, name, model) {
pare... | Remove uses of 'this' from public classes. | MartinRixham_Datum | train |
fb16302568e4de46392695001271a4c4c348a6c7 | diff --git a/draw2d/src/pkg/draw2d/arc.go b/draw2d/src/pkg/draw2d/arc.go
index <HASH>..<HASH> 100644
--- a/draw2d/src/pkg/draw2d/arc.go
+++ b/draw2d/src/pkg/draw2d/arc.go
@@ -2,6 +2,10 @@
// created: 21/11/2010 by Laurent Le Goff
package draw2d
+import (
+ "freetype-go.googlecode.com/hg/freetype/raster"
+)
+
func ... | add path adder for comparing with freetype decomposition algorithm | llgcode_draw2d | train |
f6f60b55c56bdeddf2a08354ef1f307e619fcbf8 | diff --git a/core/ViewDataTable/Request.php b/core/ViewDataTable/Request.php
index <HASH>..<HASH> 100644
--- a/core/ViewDataTable/Request.php
+++ b/core/ViewDataTable/Request.php
@@ -101,11 +101,11 @@ class Request
}
if ($this->requestConfig->disable_generic_filters) {
- $requestArray['di... | Disabling filter did not work as wrong values were set | matomo-org_matomo | train |
ece4adfa285dc623b5a5914e8d697e6178a1e4be | diff --git a/cflib/crazyflie/param.py b/cflib/crazyflie/param.py
index <HASH>..<HASH> 100644
--- a/cflib/crazyflie/param.py
+++ b/cflib/crazyflie/param.py
@@ -368,13 +368,13 @@ class Param():
argument on success and with `False` as an argument on failure.
@param complete_name The 'group.name' name o... | param.py: Add complete name to callbacks
So that the same callback can multiplex for a lot of parameters. | bitcraze_crazyflie-lib-python | train |
63d125925003f646de983ba4fb5dacbe81c5d7e3 | diff --git a/lib/action_kit_rest/api.rb b/lib/action_kit_rest/api.rb
index <HASH>..<HASH> 100644
--- a/lib/action_kit_rest/api.rb
+++ b/lib/action_kit_rest/api.rb
@@ -28,7 +28,7 @@ module ActionKitRest
def default_options
{
user_agent: 'ActionKitRestGem',
- prefix: '/rest/v1/',
+ pref... | fix repeated path divider in url construction. | controlshift_action_kit_rest | train |
16d731dd2417d6586d79085b8316e7b06705b10f | diff --git a/src/components/menus/Menu.js b/src/components/menus/Menu.js
index <HASH>..<HASH> 100644
--- a/src/components/menus/Menu.js
+++ b/src/components/menus/Menu.js
@@ -154,6 +154,7 @@ export default {
methods: {
activate () {
this.initWindow()
+ this.getTiles()
this.updateDimensions()
... | added keyboard functionality to selects/menu | vuetifyjs_vuetify | train |
5e8b18db4358ede703529657f378485f91e7738f | diff --git a/db/src/main/java/org/syphr/mythtv/db/schema/impl/_0_24/Recorded1264.java b/db/src/main/java/org/syphr/mythtv/db/schema/impl/_0_24/Recorded1264.java
index <HASH>..<HASH> 100644
--- a/db/src/main/java/org/syphr/mythtv/db/schema/impl/_0_24/Recorded1264.java
+++ b/db/src/main/java/org/syphr/mythtv/db/schema/im... | fixed a typo that would have caused an incorrect exception on a valid ID object | syphr42_libmythtv-java | train |
514d839c9eb2010b1c7f9dc2b3af73737a1ab5ad | diff --git a/lib/collections/VoiceConnectionCollection.js b/lib/collections/VoiceConnectionCollection.js
index <HASH>..<HASH> 100644
--- a/lib/collections/VoiceConnectionCollection.js
+++ b/lib/collections/VoiceConnectionCollection.js
@@ -134,9 +134,10 @@ class VoiceConnectionCollection extends Array {
}
})... | Fix gateway tracking for voice connections on RESUME | qeled_discordie | train |
3e254f400e3346b15d5a2636bad9d0b5ddbb45fe | diff --git a/pkg/service/service_test.go b/pkg/service/service_test.go
index <HASH>..<HASH> 100644
--- a/pkg/service/service_test.go
+++ b/pkg/service/service_test.go
@@ -170,11 +170,11 @@ func (m *ManagerTestSuite) TestSyncWithK8sFinished(c *C) {
c.Assert(err, IsNil)
c.Assert(len(m.svc.svcByID), Equals, 2)
- // ... | service: Fix description of TestSyncWithK8sFinished
The description of TestSyncWithK8sFinished claims to remove svc2, while
the code actually removes svc1 by updating svc2. | cilium_cilium | train |
a6cc028413fd2da0085e08d28fb317837f7d1770 | diff --git a/src/Transformers/Adminarea/TagTransformer.php b/src/Transformers/Adminarea/TagTransformer.php
index <HASH>..<HASH> 100644
--- a/src/Transformers/Adminarea/TagTransformer.php
+++ b/src/Transformers/Adminarea/TagTransformer.php
@@ -19,6 +19,7 @@ class TagTransformer extends TransformerAbstract
{
... | Add DT_RowId field to datatables | rinvex_cortex-tags | train |
f41294a2b831748cd354224b89fde8b99510b879 | diff --git a/dataviews/interface/pandas.py b/dataviews/interface/pandas.py
index <HASH>..<HASH> 100644
--- a/dataviews/interface/pandas.py
+++ b/dataviews/interface/pandas.py
@@ -18,14 +18,39 @@ except:
import param
-from .. import Dimension
+from .. import Dimension, NdMapping
from ..dataviews import HeatMap, Da... | Factored Pandas View mul method out to base class | pyviz_holoviews | train |
fa3d736d66505823cbc41a66d167bdca272ee36e | diff --git a/src/Model/AbstractModel.php b/src/Model/AbstractModel.php
index <HASH>..<HASH> 100644
--- a/src/Model/AbstractModel.php
+++ b/src/Model/AbstractModel.php
@@ -206,7 +206,7 @@ abstract class AbstractModel extends \RedBean_SimpleModel
$fields = $this->bean->export();
foreach ($fields as &$... | now trimming values before validation to ensure whitespaces don't count as content | neemzy_patchwork-core | train |
5c322abdea045b3e17f49e63bf11f5778ad5529b | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -38,7 +38,6 @@ setup_params = dict(
'six',
'requests',
"popquotes>=1.3",
- "excuses>=1.1.2",
"pyyaml",
"feedparser",
"pytz",
diff --git a/tests/unit/test_commands.py b/tests/unit/test_commands.py
index <HASH... | Excuses are no longer included by default (just require excuses in deployment). | yougov_pmxbot | train |
1f08b992328dcbfef7dfe5a78c2784072aa8e7e7 | diff --git a/src/Auth/OnlineFederation.php b/src/Auth/OnlineFederation.php
index <HASH>..<HASH> 100644
--- a/src/Auth/OnlineFederation.php
+++ b/src/Auth/OnlineFederation.php
@@ -19,6 +19,7 @@ namespace AlexaCRM\CRMToolkit\Auth;
use AlexaCRM\CRMToolkit\Client;
use AlexaCRM\CRMToolkit\SecurityToken;
+use AlexaCRM\CR... | Online deployments must connect over TLS<I> | AlexaCRM_php-crm-toolkit | train |
82daee576a05d5ae41364bc7e528816bbf4be808 | diff --git a/src/structures/GuildEmoji.js b/src/structures/GuildEmoji.js
index <HASH>..<HASH> 100644
--- a/src/structures/GuildEmoji.js
+++ b/src/structures/GuildEmoji.js
@@ -152,7 +152,7 @@ class GuildEmoji extends BaseGuildEmoji {
/**
* Whether this emoji is the same as another one.
* @param {GuildEmoji|AP... | docs: Refactor a few `@returns` descriptions (#<I>) | discordjs_discord.js | train |
d2a0def71daf365fdf9f7e53dcbc2350ee8fb0cd | diff --git a/src/main/java/com/github/jleyba/dossier/HtmlDocWriter.java b/src/main/java/com/github/jleyba/dossier/HtmlDocWriter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/jleyba/dossier/HtmlDocWriter.java
+++ b/src/main/java/com/github/jleyba/dossier/HtmlDocWriter.java
@@ -962,7 +962,8 @@ class Htm... | Generate stub argument names if we can't find them in the source node or jsdoc. | jleyba_js-dossier | train |
e1d68fe4d7aabd6ae7aed0933873c4ec93544284 | diff --git a/src/Collection/FirstHelper.php b/src/Collection/FirstHelper.php
index <HASH>..<HASH> 100644
--- a/src/Collection/FirstHelper.php
+++ b/src/Collection/FirstHelper.php
@@ -43,7 +43,11 @@ class FirstHelper implements HelperInterface
'"first" helper expects exactly one argument.'
... | Add type check to "first" helper | JustBlackBird_handlebars.php-helpers | train |
1bc367f54be07fed0fc0ef39d718dc040b7927d4 | diff --git a/albumentations/augmentations/transforms.py b/albumentations/augmentations/transforms.py
index <HASH>..<HASH> 100644
--- a/albumentations/augmentations/transforms.py
+++ b/albumentations/augmentations/transforms.py
@@ -1881,19 +1881,32 @@ class GaussNoise(ImageOnlyTransform):
Args:
var_limit... | Bugfix in GaussNoise (#<I>)
* Bugfix in GaussNoise
* Added check for variance of gaussian noise to be non negative
* var_limit it GaussNoise should be non negative
* bugfix. var can be int | albu_albumentations | train |
2b53636efe8da975affe13ce83f6efb0b512d27c | diff --git a/src/Console/ConsoleServiceProvider.php b/src/Console/ConsoleServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Console/ConsoleServiceProvider.php
+++ b/src/Console/ConsoleServiceProvider.php
@@ -8,6 +8,7 @@ use Illuminate\Auth\Console\ClearResetsCommand;
use Illuminate\Cache\Console\CacheTableComma... | [<I>] Update ConsoleServiceProvider to implement the DeferrableProvider contract | orchestral_lumen | train |
61137ff24afdca4992e2351a95ea41c7e517e49f | diff --git a/lxd/cluster/gateway.go b/lxd/cluster/gateway.go
index <HASH>..<HASH> 100644
--- a/lxd/cluster/gateway.go
+++ b/lxd/cluster/gateway.go
@@ -405,8 +405,7 @@ func (g *Gateway) init() error {
raft.FSM(),
raft.Raft(),
dqlite.LogFunc(dqliteLog(g.options.logLevel)),
- dqlite.LogLevel(g.options.logLev... | Drop AutoCheckpoint setting for the dqlite driver | lxc_lxd | train |
0d7f3c0064dddc24367cb92af601bb3508f7e9ae | diff --git a/src/main/java/com/github/alexcojocaru/mojo/elasticsearch/v2/client/ElasticsearchClient.java b/src/main/java/com/github/alexcojocaru/mojo/elasticsearch/v2/client/ElasticsearchClient.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/alexcojocaru/mojo/elasticsearch/v2/client/ElasticsearchClient.... | issue #<I> - update the HTTP client config to allow for slower ES | alexcojocaru_elasticsearch-maven-plugin | train |
1fda272630fa3631664f5730c41ececd78abf3a6 | diff --git a/library/src/main/java/trikita/anvil/BaseAttrs.java b/library/src/main/java/trikita/anvil/BaseAttrs.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/trikita/anvil/BaseAttrs.java
+++ b/library/src/main/java/trikita/anvil/BaseAttrs.java
@@ -17,6 +17,8 @@ import android.widget.TextView;
import and... | added relative layout params, added layout params builder that doesn't override current width/height | zserge_anvil | train |
355364ff0c21a220ff355d40d436b066bbaa0f53 | diff --git a/tests/CfdiUtilsTests/CadenaOrigen/SaxonbCliBuilderTest.php b/tests/CfdiUtilsTests/CadenaOrigen/SaxonbCliBuilderTest.php
index <HASH>..<HASH> 100644
--- a/tests/CfdiUtilsTests/CadenaOrigen/SaxonbCliBuilderTest.php
+++ b/tests/CfdiUtilsTests/CadenaOrigen/SaxonbCliBuilderTest.php
@@ -9,7 +9,11 @@ class Saxonb... | Skip test if no saxonb-xslt is available | eclipxe13_CfdiUtils | train |
584fd585eca1159e441c640e3366df8257cce8af | diff --git a/pre_commit/commands/hook_impl.py b/pre_commit/commands/hook_impl.py
index <HASH>..<HASH> 100644
--- a/pre_commit/commands/hook_impl.py
+++ b/pre_commit/commands/hook_impl.py
@@ -70,6 +70,7 @@ def _ns(
*,
all_files: bool = False,
remote_branch: Optional[str] = None,
+ local... | Expose local branch ref as an environment variable | pre-commit_pre-commit | train |
f49ab1136c096d2b32bd68b25d52dd4717a55d55 | diff --git a/src/zoom.js b/src/zoom.js
index <HASH>..<HASH> 100644
--- a/src/zoom.js
+++ b/src/zoom.js
@@ -33,7 +33,9 @@ export default function(started) {
gestures = [],
listeners = dispatch("start", "zoom", "end").on("start", started),
mousemoving,
+ touchstarting,
touchending,
+ ... | Fix #<I> - double-tap to zoom-in.
Also fixes a bug where the end event wasn’t emitted because we were erroneously
not considering secondary touches as part of the same gesture. | d3_d3-zoom | train |
60b105e05473bd03b6dc267e8759f6072f02dd1b | diff --git a/tasks/twigRender.js b/tasks/twigRender.js
index <HASH>..<HASH> 100644
--- a/tasks/twigRender.js
+++ b/tasks/twigRender.js
@@ -217,8 +217,8 @@ module.exports = function(grunt) {
});
} catch(err) {
// Fail the build if Twig.Error was thrown
- grunt.fail.fatal(err);
+ grunt.fail.f... | adjust error message to get a clue where the error occures | stefanullinger_grunt-twig-render | train |
1289d2f7a8fd7a6769de8cedd3c7801a56dd3708 | diff --git a/karyon-core/src/main/java/com/netflix/karyon/server/ServerBootstrap.java b/karyon-core/src/main/java/com/netflix/karyon/server/ServerBootstrap.java
index <HASH>..<HASH> 100644
--- a/karyon-core/src/main/java/com/netflix/karyon/server/ServerBootstrap.java
+++ b/karyon-core/src/main/java/com/netflix/karyon/s... | restore no-op beforeInjectorCreation() method for binary compatibility | Netflix_karyon | train |
bffa40a7118dd979b296246f9e4fdbea47023a1b | diff --git a/ipyrad/plotting/baba_panel_plot.py b/ipyrad/plotting/baba_panel_plot.py
index <HASH>..<HASH> 100644
--- a/ipyrad/plotting/baba_panel_plot.py
+++ b/ipyrad/plotting/baba_panel_plot.py
@@ -8,12 +8,32 @@ a panel plot function for baba results
from __future__ import print_function
import numpy as np
-import... | fix import checking for baba_panel_plot.py | dereneaton_ipyrad | train |
62ebb760ae1fb9a4462c2d607b7fa29f2a7e6331 | diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/SumGlobalStep.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/SumGlobalStep.java
index <HASH>..<HASH> 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/tra... | Reverting SumMapReduce to the proper way to deal with generatingFinalResult. | apache_tinkerpop | train |
f5cd0ec302a8c0fca515f3e4b6d7d014129ec3de | diff --git a/config/src/integration-test/java/org/springframework/security/config/ldap/LdapServerBeanDefinitionParserTests.java b/config/src/integration-test/java/org/springframework/security/config/ldap/LdapServerBeanDefinitionParserTests.java
index <HASH>..<HASH> 100644
--- a/config/src/integration-test/java/org/spri... | Use try-with-resources instead of try-finally | spring-projects_spring-security | train |
ccc3b9dbb4cfe0d830d9a2b4e6fdd01c8f6df10a | diff --git a/lib/Cake/Utility/Sanitize.php b/lib/Cake/Utility/Sanitize.php
index <HASH>..<HASH> 100644
--- a/lib/Cake/Utility/Sanitize.php
+++ b/lib/Cake/Utility/Sanitize.php
@@ -141,7 +141,7 @@ class Sanitize {
* Strips scripts and stylesheets from output
*
* @param string $str String to sanitize
- * @return str... | Updating docblock for Sanitize::stripScripts() | cakephp_cakephp | train |
ce952b677ea468b009dabc5f4dd4c2a05e4256f4 | diff --git a/ford/__init__.py b/ford/__init__.py
index <HASH>..<HASH> 100644
--- a/ford/__init__.py
+++ b/ford/__init__.py
@@ -46,7 +46,7 @@ __appname__ = "FORD"
__author__ = "Chris MacMackin, Jacob Williams, Marco Restelli, Iain Barrass, Jérémie Burgalat"
__credits__ = ["Stefano Zhagi", "Izaak Beekman", "G... | Fixed typo causing crash when correlating interfaces within programs. | Fortran-FOSS-Programmers_ford | train |
2d32754611ef1b7ccd774467f316878daa74d7f3 | diff --git a/c7n/actions.py b/c7n/actions.py
index <HASH>..<HASH> 100644
--- a/c7n/actions.py
+++ b/c7n/actions.py
@@ -865,11 +865,14 @@ class ModifyPolicyBase(BaseAction):
)
def __init__(self, data=None, manager=None):
- config_args = {
- 'account_id': manager.config.account_id,
- ... | sns - cross-access filter validation fixes (#<I>) | cloud-custodian_cloud-custodian | train |
5073171308a2bcb2192833c797d5b1c4029cd8b8 | diff --git a/tools/diagnose.py b/tools/diagnose.py
index <HASH>..<HASH> 100644
--- a/tools/diagnose.py
+++ b/tools/diagnose.py
@@ -110,6 +110,8 @@ def check_mxnet():
print('Commit Hash :', ch)
except ImportError:
print('No MXNet installed.')
+ except FileNotFoundError:
+ print('Ha... | fix diagnose if hashtag not found. (#<I>) | apache_incubator-mxnet | train |
71745d78b5abe4dbbee32e950282a27aa70c56ef | diff --git a/lib/Site.php b/lib/Site.php
index <HASH>..<HASH> 100644
--- a/lib/Site.php
+++ b/lib/Site.php
@@ -207,11 +207,11 @@ class Site extends \TimberSite
// Index the viewClass by its file name, so we can render it
// when WordPress tries to include that file
- $viewPath = \get_styleshe... | Reverse order in which View file names are loaded.
Try the dashed version of the View name first, so that templates that are 1 word long like home.php will attempt to load the lower case version instead of the uppercase Home.php (This is an issue on OS X) | StoutLogic_understory | train |
f0d82add27783a3fe230841f40c281188adae495 | diff --git a/lib/librato.js b/lib/librato.js
index <HASH>..<HASH> 100644
--- a/lib/librato.js
+++ b/lib/librato.js
@@ -24,7 +24,7 @@ url_parse = require('url').parse,
var tunnelAgent = null;
var debug, logAll;
-var api, email, token, period, sourceName, sourceRegex, includeMetrics, excludeMetrics;
+var api, email, ... | Create a host tag from the hostname or source. Create a measurement-level source tag if we are doing regex | librato_statsd-librato-backend | train |
21fb69d9550aacad59f615b9ad72aaed31b82ec9 | diff --git a/src/Mutex.php b/src/Mutex.php
index <HASH>..<HASH> 100644
--- a/src/Mutex.php
+++ b/src/Mutex.php
@@ -5,8 +5,10 @@ namespace Illuminated\Console;
use Illuminate\Console\Command;
use NinjaMutex\Lock\FlockLock;
use NinjaMutex\Lock\MySqlLock;
+use NinjaMutex\Lock\PredisRedisLock;
use NinjaMutex\Mutex as N... | ICM: `redis` strategy implemented. | dmitry-ivanov_laravel-console-mutex | train |
563b397391ef46ad7ddbe1a254bdbc3813b52f46 | diff --git a/src/crypto/public_key/elliptic/curves.js b/src/crypto/public_key/elliptic/curves.js
index <HASH>..<HASH> 100644
--- a/src/crypto/public_key/elliptic/curves.js
+++ b/src/crypto/public_key/elliptic/curves.js
@@ -93,41 +93,47 @@ const curves = {
keyType: enums.publicKey.ecdsa,
hash: enums.hash.sha25... | Don't mask curve<I> private key twice
Also, fix handling of private keys with leading zeros for certain
curves. | openpgpjs_openpgpjs | train |
c9e0343b985306314ef6a6a914fbd5562500439a | diff --git a/Database.php b/Database.php
index <HASH>..<HASH> 100644
--- a/Database.php
+++ b/Database.php
@@ -234,7 +234,7 @@ abstract class Nada_Database
**/
public function beginCapture()
{
- if ($this->_capturedCommands !== null) {
+ if ($this->isCapturing()) {
throw new R... | Added isCapturing() method. | hschletz_NADA | train |
586d6d251ba36263615c81ce8f292d7951007ae4 | diff --git a/nipap-cli/nipap_cli/command.py b/nipap-cli/nipap_cli/command.py
index <HASH>..<HASH> 100755
--- a/nipap-cli/nipap_cli/command.py
+++ b/nipap-cli/nipap_cli/command.py
@@ -209,8 +209,11 @@ class Command:
# if we are in scoop-rest-mode, place elements not matching
# anythin... | Add CLI input validation for extraneous arguments
If extraneous arguments are sent to the command parser an exception is
now raised. I hope this doesn't break anything else. The unittest is so
far from complete when it comes to command parsing that it won't help.
I've done some manual testing which didn't show anythin... | SpriteLink_NIPAP | train |
ed57bb202e5562e24914b6fb54085298839b529b | diff --git a/src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/cachingServiceWorker.js b/src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/cachingServiceWorker.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webap... | [INTERNAL] Card Explorer: Fix service worker refreshing
When multiple tabs with Card Explorer are open, the service worker was
not refreshing. Now this is fixed.
Change-Id: Ide<I>da<I>d<I>e9cfe<I>efdc<I>e1b<I>
JIRA: BGSOFUIRODOPI-<I> | SAP_openui5 | train |
a6a8986dbcfe65a94b2112985d95480fdb2a82dc | diff --git a/lib/implementation.js b/lib/implementation.js
index <HASH>..<HASH> 100644
--- a/lib/implementation.js
+++ b/lib/implementation.js
@@ -1,5 +1,6 @@
var _ = require('lodash');
var async = require('async');
+var Promise = require('bluebird');
module.exports = function(self, options) {
@@ -304,7 +305,119... | add workflowGuid+workflowLocale sparse unique index, with an inline migration to clean up the mess if this constraint has been violated | apostrophecms_apostrophe-workflow | train |
13ebabb222194cb506594c14e4861f2b7d142815 | diff --git a/lib/rulix.rb b/lib/rulix.rb
index <HASH>..<HASH> 100644
--- a/lib/rulix.rb
+++ b/lib/rulix.rb
@@ -1,3 +1,5 @@
+require 'delegate'
+
require_relative './rulix/version'
require_relative './rulix/errors'
require_relative './rulix/validation'
diff --git a/lib/rulix/version.rb b/lib/rulix/version.rb
index <H... | Tiny bugfix so this version works | blarshk_rulix | train |
6986248371f16425caff229d89608dcc11719b5f | diff --git a/accumulo/src/main/java/org/vertexium/accumulo/AccumuloGraph.java b/accumulo/src/main/java/org/vertexium/accumulo/AccumuloGraph.java
index <HASH>..<HASH> 100644
--- a/accumulo/src/main/java/org/vertexium/accumulo/AccumuloGraph.java
+++ b/accumulo/src/main/java/org/vertexium/accumulo/AccumuloGraph.java
@@ -2... | Fix a NullPointerException if closing an iterable that was never used. | visallo_vertexium | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.