hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
5b51dedd34cb8d5a923c57028ef12b4ab6d38ad2 | diff --git a/lib/david/server/mapping.rb b/lib/david/server/mapping.rb
index <HASH>..<HASH> 100644
--- a/lib/david/server/mapping.rb
+++ b/lib/david/server/mapping.rb
@@ -3,6 +3,23 @@ module David
module Mapping
include Constants
+ HTTP_TO_COAP_CODES = {
+ 200 => 205,
+ 202 => 201,
+ ... | HTTP to CoAP response code mappings. | nning_david | train |
a62b2418facc60115dae4d388888c49f4ec50122 | diff --git a/src/Jaspersoft/Service/OrganizationService.php b/src/Jaspersoft/Service/OrganizationService.php
index <HASH>..<HASH> 100644
--- a/src/Jaspersoft/Service/OrganizationService.php
+++ b/src/Jaspersoft/Service/OrganizationService.php
@@ -154,23 +154,17 @@ class OrganizationService extends JRSService
{
... | Use createFromJSON for attribute creation instead of simple instantiation to avoid retrieving properties which may not exist in a response | Jaspersoft_jrs-rest-php-client | train |
d5d84fdd1479a80ccf2b65c425789d898e0a01f2 | diff --git a/bin/yay b/bin/yay
index <HASH>..<HASH> 100755
--- a/bin/yay
+++ b/bin/yay
@@ -28,7 +28,7 @@ try {
if ($source === false)
throw new InvalidArgumentException("File '{$file}' not found'.");
- file_put_contents('php://stdout', yay_parse($source, $file));
+ file_put_contents('php://stdout'... | remove salt from Cycle as macro hygienization will be properly implemented soon | marcioAlmada_yay | train |
18abce6529f5fe31f3184a506304acad97e54efa | diff --git a/sxxexx/sxxexx.py b/sxxexx/sxxexx.py
index <HASH>..<HASH> 100644
--- a/sxxexx/sxxexx.py
+++ b/sxxexx/sxxexx.py
@@ -57,7 +57,6 @@ import logging
import re
-from getpass import getpass
import t411
@@ -182,13 +181,13 @@ class series_t411(object):
logging.info("%s torrent(s) found" % len(self... | patch bug when torrent is not found on server | nicolargo_sxxexx | train |
d4feff676afe74b6aed08670aa0e030ca4e1cdcf | diff --git a/nodes/http-auth.js b/nodes/http-auth.js
index <HASH>..<HASH> 100644
--- a/nodes/http-auth.js
+++ b/nodes/http-auth.js
@@ -106,12 +106,14 @@ function digestSession(realm) {
}
function unAuth(node, msg, stale) {
+ var res = msg.res._res || msg.res; // Resolves deprecates warning messages.
+
switch (nod... | Fixed issue with "deprecated" methods. Warnings no longer show.
Changes to be committed:
modified: nodes/http-auth.js | endemecio02_node-red-contrib-httpauth | train |
e8501135b80fe78015f837b8700ae5fe8e9b1bd3 | diff --git a/py3status/modules/weather_yahoo.py b/py3status/modules/weather_yahoo.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/weather_yahoo.py
+++ b/py3status/modules/weather_yahoo.py
@@ -17,7 +17,9 @@ Configuration parameters:
- forecast_days : how many forecast days you want shown
- forecast_form... | Update forecast_include_today description | ultrabug_py3status | train |
85d78298ab0c464d3b579f60f985f89e391d4a7f | diff --git a/lib/SimpleSAML/Utilities.php b/lib/SimpleSAML/Utilities.php
index <HASH>..<HASH> 100644
--- a/lib/SimpleSAML/Utilities.php
+++ b/lib/SimpleSAML/Utilities.php
@@ -474,6 +474,10 @@ class SimpleSAML_Utilities {
/* Set the location header. */
header('Location: ' . $url, TRUE, $code);
+ /* Disable cach... | Disable caching of redirect responses. | simplesamlphp_saml2 | train |
9915bb873c653e1bc74f21ddbbbd8a0818087782 | diff --git a/src/ol/feature.js b/src/ol/feature.js
index <HASH>..<HASH> 100644
--- a/src/ol/feature.js
+++ b/src/ol/feature.js
@@ -21,6 +21,8 @@ goog.require('ol.style.Style');
* attribute properties, similar to the features in vector file formats like
* GeoJSON.
* Features can be styled individually or use the s... | Document that feature properties are set as object properties | openlayers_openlayers | train |
5605a637c167fe67bb113ee52e5907dc60f1895a | diff --git a/lib/shared/utils.js b/lib/shared/utils.js
index <HASH>..<HASH> 100644
--- a/lib/shared/utils.js
+++ b/lib/shared/utils.js
@@ -1,6 +1,5 @@
'use strict';
-const { getPrototypeOf } = Reflect;
const { hasOwnProperty } = Object;
const isNumber = require('is-number');
const typeOf = require('kind-of');
@@ ... | fix isEmpty to respect numbers, etc.
also ensure that keys named `undefined` do not return a value. | jonschlinkert_dry | train |
852c7423ad04e87c8ab22005f9739208f8542b16 | diff --git a/pyexcelerate/Range.py b/pyexcelerate/Range.py
index <HASH>..<HASH> 100644
--- a/pyexcelerate/Range.py
+++ b/pyexcelerate/Range.py
@@ -161,6 +161,8 @@ class Range(object):
def __getitem__(self, key):
if self.is_row:
# return the key'th column
+ if isinstance(key, six.string_types):
+ key = Ran... | add range non-numeric column selector and minor speed improvement. | kz26_PyExcelerate | train |
3c3d356aa013ce1fcaeb61e58efb366dabf1784a | diff --git a/biz/init.js b/biz/init.js
index <HASH>..<HASH> 100644
--- a/biz/init.js
+++ b/biz/init.js
@@ -1,10 +1,21 @@
var util = require('../lib/util');
-module.exports = function init(proxy) {
+module.exports = function init(proxy, callback) {
var config = proxy.config;
- require(config.uipath)(proxy);
+ va... | feat: Support for getting random port of ui server | avwo_whistle | train |
6b0d16372725580162f0a4d29fbe39b915a9e2b9 | diff --git a/scripts/database.py b/scripts/database.py
index <HASH>..<HASH> 100644
--- a/scripts/database.py
+++ b/scripts/database.py
@@ -23,18 +23,10 @@ from __future__ import print_function
import datetime
-import os
-
-import sys
-
-from pipes import quote
-
from flask import current_app
from invenio.ext.s... | script: better database initialization
* BETTER Uses SQLAlchemy and SQLAlchemy-Utils to initialize the
database instead of executing mysql in a python subshell.
(closes #<I>) (closes #<I>)
* NEW Adds support for PostgreSQL database initialization. | inveniosoftware_invenio-base | train |
1cc2f12e84bc76d5d6951679e8939019f45d9c85 | diff --git a/pykeepass/pykeepass.py b/pykeepass/pykeepass.py
index <HASH>..<HASH> 100644
--- a/pykeepass/pykeepass.py
+++ b/pykeepass/pykeepass.py
@@ -12,6 +12,7 @@ import os
import re
+logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger(__name__)
@@ -26,12 +27,12 @@ class PyKeePass():
... | Fix: Dupplicate groups are created | pschmitt_pykeepass | train |
ad6be801311b3be14dde68be02f2b72dcdc1d8f9 | diff --git a/guacamole-ext/src/main/java/org/apache/guacamole/token/StandardTokens.java b/guacamole-ext/src/main/java/org/apache/guacamole/token/StandardTokens.java
index <HASH>..<HASH> 100644
--- a/guacamole-ext/src/main/java/org/apache/guacamole/token/StandardTokens.java
+++ b/guacamole-ext/src/main/java/org/apache/g... | GUACAMOLE-<I>: Add LDAP attribute tokens to StandardTokens.
In method addStandardTokens(TokenFilter, Credentials),
adds each LDAP attribute from credentials.getLDAPAttributes().
Name of token is "USER_ATTR:" + name of attribute and value
is the value of the attribute. | glyptodon_guacamole-client | train |
e6adbdd303281bfb5d6925464106c2a50ee9813e | diff --git a/src/Methods/Web3/ClientVersion.php b/src/Methods/Web3/ClientVersion.php
index <HASH>..<HASH> 100644
--- a/src/Methods/Web3/ClientVersion.php
+++ b/src/Methods/Web3/ClientVersion.php
@@ -17,6 +17,13 @@ use Web3\Methods\EthMethod;
class ClientVersion extends EthMethod
{
/**
+ * validators
+ * ... | Web3 apis and test. | sc0Vu_web3.php | train |
e1dc5a18d19e838c526e88032f04664d3952194d | diff --git a/lib/less/functions.js b/lib/less/functions.js
index <HASH>..<HASH> 100644
--- a/lib/less/functions.js
+++ b/lib/less/functions.js
@@ -5,8 +5,8 @@ tree.functions = {
return this.rgba(r, g, b, 1.0);
},
rgba: function (r, g, b, a) {
- var rgb = [r, g, b].map(function (c) { return num... | Cleaned up parts of functions.js
making the code more lint-friendly | less_less.js | train |
e047642bdfd2e9d8638923aabc7698da342ef4d3 | diff --git a/src/main/java/javax/time/OffsetDate.java b/src/main/java/javax/time/OffsetDate.java
index <HASH>..<HASH> 100644
--- a/src/main/java/javax/time/OffsetDate.java
+++ b/src/main/java/javax/time/OffsetDate.java
@@ -45,8 +45,8 @@ import javax.time.calendrical.LocalDateTimeField;
import javax.time.calendrical.Lo... | Simpler implemenation of get/with | ThreeTen_threetenbp | train |
f59e8c20dafa515beb6950c5c1e6351e241debea | diff --git a/publ/__init__.py b/publ/__init__.py
index <HASH>..<HASH> 100755
--- a/publ/__init__.py
+++ b/publ/__init__.py
@@ -51,25 +51,28 @@ def publ(name, cfg):
static=utils.static_url
)
+ caching.init_app(app)
+
if config.index_rescan_interval:
app.before_request(scan_index)
... | Only start the context scan when the context is fully up, to prevent the double-threading bug | PlaidWeb_Publ | train |
7e924dc8dbffb68d0631c9ab35cd24eb459b8be6 | diff --git a/dynamic_dynamodb/core/gsi.py b/dynamic_dynamodb/core/gsi.py
index <HASH>..<HASH> 100644
--- a/dynamic_dynamodb/core/gsi.py
+++ b/dynamic_dynamodb/core/gsi.py
@@ -96,14 +96,18 @@ def __calculate_always_decrease_rw_values(
return (read_units, write_units)
if read_units < provisioned_reads:
- ... | Added logging info #<I> | sebdah_dynamic-dynamodb | train |
33a3f41bb30539470e75be15520098051138a083 | diff --git a/lib/knode.js b/lib/knode.js
index <HASH>..<HASH> 100644
--- a/lib/knode.js
+++ b/lib/knode.js
@@ -246,7 +246,7 @@ exports.KNode.prototype._iterativeFind = function(key, mode, cb) {
var contacted = {};
var foundValue = false;
var value = null;
- var contactsWhichHadValue = [];
+ var con... | Keep track of contacts without value instead of filtering later | nikhilm_kademlia | train |
90be18150f1f2b1ab76978591508f88399be1736 | diff --git a/core/src/main/java/org/bitcoinj/core/Transaction.java b/core/src/main/java/org/bitcoinj/core/Transaction.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/bitcoinj/core/Transaction.java
+++ b/core/src/main/java/org/bitcoinj/core/Transaction.java
@@ -35,11 +35,9 @@ import java.io.*;
import java... | Migrate a few asserts to Guava checkArgument/checkState. | bitcoinj_bitcoinj | train |
9d3d55d0fb6cb6c34161cd418a580d4fb266fa4d | diff --git a/pkg/kubelet/rkt/rkt.go b/pkg/kubelet/rkt/rkt.go
index <HASH>..<HASH> 100644
--- a/pkg/kubelet/rkt/rkt.go
+++ b/pkg/kubelet/rkt/rkt.go
@@ -426,11 +426,17 @@ func setApp(imgManifest *appcschema.ImageManifest, c *api.Container, opts *kubec
var command, args []string
cmd, ok := imgManifest.Annotations.Get(... | rkt: Unmarshal the ENTRYPOINT/CMD from jsons instead of strings.
Using json makes this robust to ENTRYPOINT/CMD that contains space.
Also removed 'RemainAfterExit' option, originally this option is
useful when we implement GetPods() by 'systemctl list-units'.
However since we are using rkt API service now, it's no lo... | kubernetes_kubernetes | train |
412db1c5209c4174690266df6f834b6ed6822f4b | diff --git a/core/lib/refinery/engine.rb b/core/lib/refinery/engine.rb
index <HASH>..<HASH> 100644
--- a/core/lib/refinery/engine.rb
+++ b/core/lib/refinery/engine.rb
@@ -29,7 +29,7 @@ module Refinery
if block && block.respond_to?(:call)
after_inclusion_procs << block
else
- raise ... | It's after_inclusion. | refinery_refinerycms | train |
d4304ca7fdcd76b2f41ab4dbd10548fd56d5143d | diff --git a/src/main/java/com/github/maven_nar/NarUtil.java b/src/main/java/com/github/maven_nar/NarUtil.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/maven_nar/NarUtil.java
+++ b/src/main/java/com/github/maven_nar/NarUtil.java
@@ -257,7 +257,7 @@ public final class NarUtil {
* */
String ao... | NarUtil: handle null Linker parameter top getAOL(...) as intended
Previously we were throwing a NullPointerException if we had a null
Linker passed in, because of the line:
if(linker != null & linker.getName() != null)
This change simply changes that single-ampersand to a double-ampersand
which is the behaviour t... | maven-nar_nar-maven-plugin | train |
6ac0bc30b2943ab73a5677f5cf63b1a59cf552fe | diff --git a/classes/Gems/Default/TrackAction.php b/classes/Gems/Default/TrackAction.php
index <HASH>..<HASH> 100644
--- a/classes/Gems/Default/TrackAction.php
+++ b/classes/Gems/Default/TrackAction.php
@@ -187,6 +187,17 @@ class Gems_Default_TrackAction extends \Gems_Default_RespondentChildActionAbstra
'Track... | Fixed #<I> - Title now shows Edit token instead of Edit track | GemsTracker_gemstracker-library | train |
f3e19523ee4b178da1d2dcaaaa47be741ee27e1a | diff --git a/src/jparser.js b/src/jparser.js
index <HASH>..<HASH> 100644
--- a/src/jparser.js
+++ b/src/jparser.js
@@ -77,6 +77,31 @@ jParser.prototype.structure = {
offset = toInt.call(this, offset);
this.view.seek(this.view.tell() + offset);
return offset;
+ },
+ bitfield: function (structure) {
+ var... | Added bitfield support (not tested yet; no direction support yet). | jDataView_jBinary | train |
c3311744c52e040ca2e3d98107df827e0fda80bd | diff --git a/contrib/mesos/pkg/scheduler/plugin.go b/contrib/mesos/pkg/scheduler/plugin.go
index <HASH>..<HASH> 100644
--- a/contrib/mesos/pkg/scheduler/plugin.go
+++ b/contrib/mesos/pkg/scheduler/plugin.go
@@ -306,7 +306,8 @@ func (k *kubeScheduler) Schedule(pod *api.Pod, unused algorithm.NodeLister) (str
}
}
-//... | scheduler: correct doc in doSchedule | kubernetes_kubernetes | train |
557f2a95271fe52769cca29a0b53674a1378f192 | diff --git a/db/migrate/20150605095934_create_pd_regimes.rb b/db/migrate/20150605095934_create_pd_regimes.rb
index <HASH>..<HASH> 100644
--- a/db/migrate/20150605095934_create_pd_regimes.rb
+++ b/db/migrate/20150605095934_create_pd_regimes.rb
@@ -5,16 +5,14 @@ class CreatePdRegimes < ActiveRecord::Migration
t.in... | Edited columns for pd_regimes table. | airslie_renalware-core | train |
bd0e97023e90b06dca13cbc424202cf24e03e0d6 | diff --git a/lib/config/wrapper.go b/lib/config/wrapper.go
index <HASH>..<HASH> 100644
--- a/lib/config/wrapper.go
+++ b/lib/config/wrapper.go
@@ -60,10 +60,8 @@ type Wrapper struct {
deviceMap map[protocol.DeviceID]DeviceConfiguration
folderMap map[string]FolderConfiguration
replaces chan Configuration
+ subs ... | We don't need a separate subscription lock
We forgot to lock it during replace, so data rate. This is simpler. | syncthing_syncthing | train |
fdbaf9cb8b186ec0b49d7dbd19f542b7c90d0ac9 | diff --git a/src/Climber/Cron/Executor.php b/src/Climber/Cron/Executor.php
index <HASH>..<HASH> 100644
--- a/src/Climber/Cron/Executor.php
+++ b/src/Climber/Cron/Executor.php
@@ -2,7 +2,6 @@
namespace Peak\Climber\Cron;
-use Doctrine\DBAL\Connection;
use Peak\Climber\Application;
use Peak\Climber\Cron\Exception\... | added run() and processCron() | peakphp_framework | train |
97d4d177716b67ae964ebaf9da1d9fce5c1ec5da | diff --git a/py3nvml/utils.py b/py3nvml/utils.py
index <HASH>..<HASH> 100644
--- a/py3nvml/utils.py
+++ b/py3nvml/utils.py
@@ -169,9 +169,25 @@ def try_get_info(f, h, default='N/A'):
def get_free_gpus(max_procs=0):
"""
- Checks the number of GPUsprocesses running on your GPUs
- For an N gpu system, return... | Updated docstrings for new util functions | fbcotter_py3nvml | train |
90e6a4b94acb90c67f6f3b240dcb9c5b29d0f3e3 | diff --git a/subliminal/core.py b/subliminal/core.py
index <HASH>..<HASH> 100644
--- a/subliminal/core.py
+++ b/subliminal/core.py
@@ -160,7 +160,7 @@ class Subliminal(object):
if not wanted_languages:
logger.debug(u'No need to list multi subtitles %r for %r because %r subtitles de... | Fix core.py for single srt detection | Diaoul_subliminal | train |
a9d3a617c7216f8a414c9cdd2a40757bfcdf29a5 | diff --git a/src/Routing/DispatcherFactory.php b/src/Routing/DispatcherFactory.php
index <HASH>..<HASH> 100644
--- a/src/Routing/DispatcherFactory.php
+++ b/src/Routing/DispatcherFactory.php
@@ -40,11 +40,13 @@ class DispatcherFactory {
*
* @param string|\Cake\Routing\DispatcherFilter $filter Either the classname o... | Allow an array of options to be passed into a dispatcher filter.
When using the string form, it is handy to be able to control the
constructor arguments as well. | cakephp_cakephp | train |
658bbb0ab9a6564f815052da118277ffea277162 | diff --git a/lib/bcsec/authorities/composite.rb b/lib/bcsec/authorities/composite.rb
index <HASH>..<HASH> 100644
--- a/lib/bcsec/authorities/composite.rb
+++ b/lib/bcsec/authorities/composite.rb
@@ -219,10 +219,10 @@ module Bcsec::Authorities
##
# Finds users matching the given criteria. Criteria may eithe... | Update composite #find_users docs to reflect desired additional behavior. #<I>. | NUBIC_aker | train |
1fe980dc98728a94ddc0982bfa07c98771ac84e4 | diff --git a/nptdms/tdms.py b/nptdms/tdms.py
index <HASH>..<HASH> 100644
--- a/nptdms/tdms.py
+++ b/nptdms/tdms.py
@@ -467,8 +467,8 @@ class _TdmsSegment(object):
for obj in self.ordered_objects:
if obj.has_data:
obj.tdms_object.number_values += (
- ... | Fix pep8 problems raised by new version of pep8 | adamreeve_npTDMS | train |
069d5eae2dc9e9eb0f96f1e63926968bb52a260d | diff --git a/code/model/TrackedManyManyList.php b/code/model/TrackedManyManyList.php
index <HASH>..<HASH> 100644
--- a/code/model/TrackedManyManyList.php
+++ b/code/model/TrackedManyManyList.php
@@ -34,7 +34,7 @@ class TrackedManyManyList extends ManyManyList
if (class_exists($addingToClass)) {
... | style(TrackedManyManyList): Add brackets around instanceof check | symbiote_silverstripe-datachange-tracker | train |
d5b12419722feeddc207ebd96a9429dea462f486 | diff --git a/tests/unit/modules/test_tls.py b/tests/unit/modules/test_tls.py
index <HASH>..<HASH> 100644
--- a/tests/unit/modules/test_tls.py
+++ b/tests/unit/modules/test_tls.py
@@ -292,6 +292,15 @@ class TLSAddTestCase(TestCase, LoaderModuleMockMixin):
err
)
... | Skip tsl unit test when we hit an error due to OpenSSL and junos-eznc packaging conflict
he pip junos-eznc package, when installed with PyOpenSSL version <I> causes
this test failure. If you either remove junos-eznc, or upgrade PyOpenSSL
(current is <I>) the test is happy. So, we need to handle this case in the test. | saltstack_salt | train |
2cbbbc9b1acff6a6ab7f41fe8d46043503e2898c | diff --git a/health-check.rb b/health-check.rb
index <HASH>..<HASH> 100755
--- a/health-check.rb
+++ b/health-check.rb
@@ -12,7 +12,9 @@ whitelist_libs = [
/librt\.so/,
/libutil\.so/,
/libgcc_s\.so/,
- /libstdc\+\+\.so/
+ /libstdc\+\+\.so/,
+ /libnsl\.so/,
+ /libfreebl\d\.so/
]
ldd_output = `find /opt/... | updated health-check from clojure omnibus | chef_omnibus | train |
d48e16255a7bf2452a0452bd6d050513ff56ed50 | diff --git a/rapidoid-commons/src/main/java/org/rapidoid/env/EnvMode.java b/rapidoid-commons/src/main/java/org/rapidoid/env/EnvMode.java
index <HASH>..<HASH> 100644
--- a/rapidoid-commons/src/main/java/org/rapidoid/env/EnvMode.java
+++ b/rapidoid-commons/src/main/java/org/rapidoid/env/EnvMode.java
@@ -27,6 +27,6 @@ imp... | Passing the env mode to the child processes. | rapidoid_rapidoid | train |
9fce1bc430c18472ae47394ff232fd6092ae854e | diff --git a/codenerix/models_people.py b/codenerix/models_people.py
index <HASH>..<HASH> 100644
--- a/codenerix/models_people.py
+++ b/codenerix/models_people.py
@@ -25,6 +25,7 @@ from functools import reduce
from django.db.models import Q
from django.db import models
+from django.core.exceptions import ObjectDoes... | Refresh permission of GenRole | codenerix_django-codenerix | train |
927cf9180e30072f8241f42d39b29dfae72f4831 | diff --git a/lib/socket.js b/lib/socket.js
index <HASH>..<HASH> 100644
--- a/lib/socket.js
+++ b/lib/socket.js
@@ -19,11 +19,14 @@ module.exports = function makeSocketFactory (emitter, requestMeteorProcess) {
socketPort = meteorProcess.gagarinPort;
- socketPromise = new Promise(function (resolve, ... | Add a level of abstraction to hide transmit protocol implementation | anticoders_gagarin | train |
bf1e41a9f286cf93aee7a5a7d2d7c73e45674a9d | diff --git a/docs/storage/driver/gcs/gcs.go b/docs/storage/driver/gcs/gcs.go
index <HASH>..<HASH> 100644
--- a/docs/storage/driver/gcs/gcs.go
+++ b/docs/storage/driver/gcs/gcs.go
@@ -318,13 +318,13 @@ func retry(maxTries int, req request) error {
backoff := time.Second
var err error
for i := 0; i < maxTries; i++ ... | GCS driver: fix retry function | docker_distribution | train |
e1d5c7ccb2901381e0b137972d109d958971670d | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,7 @@
* Added `Time::getImmutable()` method.
* Added `Redis::subscribeTo()` method.
* Added `Redis::subscribeToPattern()` method.
+* Added `Redis::monitor()` method.
-------------------------------... | Added Redis::monitor() method | mako-framework_framework | train |
ae006e1b9388c5a5e8101a16126df7511e7da229 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -37,7 +37,7 @@ const displayFailure = function (component, failureInfo, options = {}, done) {
const {
tagName
, msg
- , ref
+ , refs
} = failureInfo
if (includeSrcNode && component) {
@@ -4... | use different mechanism of storing refs, so root-level DOM elements will work | reactjs_react-a11y | train |
7ab0a491e7f155299d25993fb84504c39ca7268d | diff --git a/src/com/google/javascript/jscomp/newtypes/FunctionType.java b/src/com/google/javascript/jscomp/newtypes/FunctionType.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/newtypes/FunctionType.java
+++ b/src/com/google/javascript/jscomp/newtypes/FunctionType.java
@@ -734,15 +734,25 @@ pub... | [NTI] Take function subtyping into account when doing unification.
-------------
Created by MOE: <URL> | google_closure-compiler | train |
4936d85a30b8867a7583491e781c03a617dda12e | diff --git a/owner/src/main/java/org/aeonbits/owner/ConfigCache.java b/owner/src/main/java/org/aeonbits/owner/ConfigCache.java
index <HASH>..<HASH> 100644
--- a/owner/src/main/java/org/aeonbits/owner/ConfigCache.java
+++ b/owner/src/main/java/org/aeonbits/owner/ConfigCache.java
@@ -96,6 +96,7 @@ public final class Conf... | added @SuppressWarnings where required. | lviggiano_owner | train |
9bbf12d392278de33652973e76fe12a02fe4fa05 | diff --git a/spec/sanity_spec.rb b/spec/sanity_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/sanity_spec.rb
+++ b/spec/sanity_spec.rb
@@ -42,6 +42,13 @@ describe "asciidoctor integration" do
publisher = {Publisher},
year = {2000}
}
+
+ @article{Qux00,
+ author = {Qux Zot},
+ title = {Ti... | add spec for targeted bibs | riboseinc_asciidoctor-bibliography | train |
1ff2fce25b5beeff50c9f312a32785c6cc6f0018 | diff --git a/oauthproxy.go b/oauthproxy.go
index <HASH>..<HASH> 100644
--- a/oauthproxy.go
+++ b/oauthproxy.go
@@ -197,8 +197,8 @@ func (p *OauthProxy) redeemCode(host, code string) (s *providers.SessionState, e
if code == "" {
return nil, errors.New("missing code")
}
- redirectUri := p.GetRedirectURI(host)
- s,... | oauthproxy: rename Uri to URI
Be consistent with Go coding style for acroynyms. | bitly_oauth2_proxy | train |
80788474e0256fa5aa230e327cb911766c5de542 | diff --git a/lib/fluent/mixin.rb b/lib/fluent/mixin.rb
index <HASH>..<HASH> 100644
--- a/lib/fluent/mixin.rb
+++ b/lib/fluent/mixin.rb
@@ -17,6 +17,7 @@
module Fluent
class TimeFormatter
require 'fluent/timezone'
+ require 'fluent/time'
def initialize(format, localtime, timezone = nil)
@tc1 = ... | TimeFormatter cache time as NanoTime if possible | fluent_fluentd | train |
3e2d12e2f8685e3042f0e5844b2088e8e4c1a13e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -80,7 +80,7 @@ setup(name = 'pefile',
author = _read_attr('__author__'),
author_email = _read_attr('__contact__'),
url = 'https://github.com/erocarrera/pefile',
- download_url='https://github.com/erocarrera/p... | Updated links in setup.py | erocarrera_pefile | train |
842fd4b23e2f58accd4e74a53fb557438f8b4131 | diff --git a/src/cf/commands/application/helpers_test.go b/src/cf/commands/application/helpers_test.go
index <HASH>..<HASH> 100644
--- a/src/cf/commands/application/helpers_test.go
+++ b/src/cf/commands/application/helpers_test.go
@@ -10,6 +10,10 @@ import (
"time"
)
+func TestTimestampFormat(t *testing.T) {
+ ass... | log format tests work in all timezones | cloudfoundry_cli | train |
7b48470f9db006bddabe939ac2e124cc7f8efe0b | diff --git a/mtools/test/test_mlogfilter.py b/mtools/test/test_mlogfilter.py
index <HASH>..<HASH> 100644
--- a/mtools/test/test_mlogfilter.py
+++ b/mtools/test/test_mlogfilter.py
@@ -40,8 +40,6 @@ class TestMLogFilter(object):
def test_from(self):
random_start = random_date(self.logfile.start, self.logf... | removed debug print out from test_mlogfilter.
removed zero-padding from days in ctime format. | rueckstiess_mtools | train |
b86b8482bc22a89398606e34b55b0c3f8b3b142e | diff --git a/js/bitbank.js b/js/bitbank.js
index <HASH>..<HASH> 100644
--- a/js/bitbank.js
+++ b/js/bitbank.js
@@ -42,11 +42,9 @@ module.exports = class bitbank extends Exchange {
'fetchPremiumIndexOHLCV': false,
'fetchTicker': true,
'fetchTrades': true,
- ... | bitbank loadLeverageBrackets and transferOut are not unified | ccxt_ccxt | train |
36de2e3381df07ff109d9e73093b67abb39e7394 | diff --git a/src/App.php b/src/App.php
index <HASH>..<HASH> 100644
--- a/src/App.php
+++ b/src/App.php
@@ -972,6 +972,7 @@ class App
}
echo $content;
+ @flush();
}
/** | add flush to force output? cannot recreate locally.
just try to solve issue on travis for Callbacks TEST | atk4_ui | train |
596d9663efd42247d5d8d17b33f9d09dfa0122c2 | diff --git a/src/frontend/org/voltdb/expressions/ExpressionUtil.java b/src/frontend/org/voltdb/expressions/ExpressionUtil.java
index <HASH>..<HASH> 100644
--- a/src/frontend/org/voltdb/expressions/ExpressionUtil.java
+++ b/src/frontend/org/voltdb/expressions/ExpressionUtil.java
@@ -61,6 +61,7 @@ public final class Expr... | ENG-<I> (#<I>) | VoltDB_voltdb | train |
e397983e788acc5534fa10e20dab74e9f20dfeae | diff --git a/cmd/swarm-bench/benchmark.go b/cmd/swarm-bench/benchmark.go
index <HASH>..<HASH> 100644
--- a/cmd/swarm-bench/benchmark.go
+++ b/cmd/swarm-bench/benchmark.go
@@ -35,12 +35,12 @@ func NewBenchmark(cfg *Config) *Benchmark {
}
// Run starts the benchmark session and waits for it to be completed.
-func (b ... | cmd: correctly plumb context in swarmd, swarm-bench
The context has been correctly plumbed for future use for cancellation
and timeouts. This PR is a little silly but I thought it would be good
to show how to do this correctly. | docker_swarmkit | train |
8f3965da0a166e4c42f927d55057d12a2001d4af | diff --git a/caspo/console/handlers.py b/caspo/console/handlers.py
index <HASH>..<HASH> 100644
--- a/caspo/console/handlers.py
+++ b/caspo/console/handlers.py
@@ -94,7 +94,7 @@ def analyze(args):
from pyzcasp import asp, potassco
from caspo import core, analyze, learn, control
- clingo = potassco.Cli... | Include networks len in caspo analyze | bioasp_caspo | train |
cada341678e25083740a934cccddcc8e895a4a57 | diff --git a/lib/auth/apiserver.go b/lib/auth/apiserver.go
index <HASH>..<HASH> 100644
--- a/lib/auth/apiserver.go
+++ b/lib/auth/apiserver.go
@@ -2121,6 +2121,7 @@ type upsertRoleRawReq struct {
Role json.RawMessage `json:"role"`
}
+// DELETE IN 7.0
func (s *APIServer) upsertRole(auth ClientI, w http.ResponseWri... | Downgrade V4 roles to V3 at webapi endpoints (#<I>) | gravitational_teleport | train |
d779e5ffccfc89f79367b37eb7350bf3bddb7d5a | diff --git a/packages/blueprint/lib/RouterBuilder.js b/packages/blueprint/lib/RouterBuilder.js
index <HASH>..<HASH> 100644
--- a/packages/blueprint/lib/RouterBuilder.js
+++ b/packages/blueprint/lib/RouterBuilder.js
@@ -34,7 +34,7 @@ function makeAction (controller, method, options) {
* @param next
* @returns {*}
... | handleError() should not advance to next route | onehilltech_blueprint | train |
8410d30940ff11396ddbb598ebb2424d364e232e | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
setup(name='trelliolibs',
- version='0.22',
+ version='0.23',
author='Abhishek Verma, Nirmal Singh',
author_email='ashuverma1989@gmail.com, n... | added json_serializer in CRUDModel | quikmile_trelliolibs | train |
4842866abb8ca893aa17918d1bfea7d05a399ae2 | diff --git a/library/CM/Jobdistribution/Job/Abstract.php b/library/CM/Jobdistribution/Job/Abstract.php
index <HASH>..<HASH> 100644
--- a/library/CM/Jobdistribution/Job/Abstract.php
+++ b/library/CM/Jobdistribution/Job/Abstract.php
@@ -16,7 +16,6 @@ abstract class CM_Jobdistribution_Job_Abstract extends CM_Class_Abstrac... | removed not needed endTransaction, because this is set in the beginning of startTransaction | cargomedia_cm | train |
9412d427075e846166164a3dcb8f1571b2b1d30a | diff --git a/src/Sylius/Bundle/CartBundle/Context/SessionBasedCartContext.php b/src/Sylius/Bundle/CartBundle/Context/SessionBasedCartContext.php
index <HASH>..<HASH> 100644
--- a/src/Sylius/Bundle/CartBundle/Context/SessionBasedCartContext.php
+++ b/src/Sylius/Bundle/CartBundle/Context/SessionBasedCartContext.php
@@ -5... | [Cart] Rework the cart not found exception | Sylius_Sylius | train |
c893695cfbfce43bef7bd00c10fc982343f08c50 | diff --git a/arangodb/orm/models.py b/arangodb/orm/models.py
index <HASH>..<HASH> 100644
--- a/arangodb/orm/models.py
+++ b/arangodb/orm/models.py
@@ -17,6 +17,10 @@ class CollectionQueryset(object):
self._manager = manager
self._collection = manager._model_class.collection_instance
self._que... | Now we should have basic lazy relation querysets | saeschdivara_ArangoPy | train |
1eb5ad63ac9e4724c3d313814d4cebef7ada109d | diff --git a/pyethereum/blocks.py b/pyethereum/blocks.py
index <HASH>..<HASH> 100644
--- a/pyethereum/blocks.py
+++ b/pyethereum/blocks.py
@@ -47,10 +47,10 @@ for i, (name, typ, default) in enumerate(block_structure):
block_structure_rev[name] = [i, typ, default]
acct_structure = [
- ["nonce", "int", 0],
... | changed order of acct_structure according to cpp client | ethereum_pyethereum | train |
d8180f4236b5ba8d65d72c0836c1556ed7803091 | diff --git a/django_extensions/management/commands/shell_plus.py b/django_extensions/management/commands/shell_plus.py
index <HASH>..<HASH> 100644
--- a/django_extensions/management/commands/shell_plus.py
+++ b/django_extensions/management/commands/shell_plus.py
@@ -68,8 +68,12 @@ class Command(NoArgsCommand):
... | fix ticket #<I> IPython.frontend is deprecated fix import with backwards compatibility | django-extensions_django-extensions | train |
4b5445ad2e3b652edaf2f83147edbcc077c64328 | diff --git a/iron_mq.py b/iron_mq.py
index <HASH>..<HASH> 100644
--- a/iron_mq.py
+++ b/iron_mq.py
@@ -76,16 +76,25 @@ class Queue(object):
return result["body"]
- def delete_multiple(self, ids):
+ def delete_multiple(self, ids=None, messages=None):
"""Execute an HTTP request to delete mess... | Delete messages by ids and response after reserving.
Add wait and delete arguments to the reserve method. | iron-io_iron_mq_python | train |
2e4d01885155f23c306fda11e757ed4671658735 | diff --git a/tools/listclasses.py b/tools/listclasses.py
index <HASH>..<HASH> 100755
--- a/tools/listclasses.py
+++ b/tools/listclasses.py
@@ -5,12 +5,16 @@
# and scan metadata.
#
+from __future__ import print_function
+
import getopt
+import io
import os
import re
import sys
from meta import scanallmeta
+fr... | Make meta and listclasses work with Python 3 | Atomistica_atomistica | train |
c66b7c77aa79f4d289ab8ce04944866648329290 | diff --git a/src/result.js b/src/result.js
index <HASH>..<HASH> 100644
--- a/src/result.js
+++ b/src/result.js
@@ -61,15 +61,20 @@ class Result {
*/
chunks() {
return insertIntoIndexHTML(this._html, this._head, this._body, this._bodyAttributes).then((html) => {
- let [, head, body] = html.match(HTML_HE... | fix code for Node 4
…which does not support destructuring and let | ember-fastboot_ember-cli-fastboot | train |
10571cd08acaab5686f37900f9cc2dae853343b4 | diff --git a/src/ORM/Model.php b/src/ORM/Model.php
index <HASH>..<HASH> 100644
--- a/src/ORM/Model.php
+++ b/src/ORM/Model.php
@@ -124,17 +124,23 @@ abstract class Model extends \ArrayObject
* т.к. есть проблемы с неймспейсами xmlns
*
* Для каждого элемента необходимо указывать наймспейс "c", например... | Update Model.php (#3)
* Update Model.php | carono_php-commerceml | train |
e5ed3a9abd784ecb5755bac42990f8d51c66ab50 | diff --git a/openpack/editor.py b/openpack/editor.py
index <HASH>..<HASH> 100644
--- a/openpack/editor.py
+++ b/openpack/editor.py
@@ -3,6 +3,7 @@ from __future__ import with_statement
import argparse
import tempfile
import os
+import sys
import posixpath
import inspect
import subprocess
@@ -54,7 +55,13 @@... | Improved robustness around part-edit - now selects notepad on windows if no XML_EDITOR or EDITOR environment variable defined | yougov_openpack | train |
b7b0672f1654b4d538fcd3095f27db2f59fe8055 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -24,13 +24,13 @@ function dtype( value ) {
// Check for base types:
type = typeof value;
switch ( type ) {
- case 'undefined':
- case 'boolean':
- case 'number':
- case 'string':
- case 'function':
- case... | [FIX] switch indentation. | compute-io_dtype | train |
1383f3a30ca208c07108e14695ff5d891f5403b2 | diff --git a/kubespawner/__init__.py b/kubespawner/__init__.py
index <HASH>..<HASH> 100644
--- a/kubespawner/__init__.py
+++ b/kubespawner/__init__.py
@@ -6,23 +6,6 @@ import time
from traitlets import Unicode
-template = {
- 'apiVersion': 'v1',
- 'kind': 'Pod',
- 'metadata': {
- 'name': 'jupyter',... | Make resource limits be configurable
Also construct the pod manifest in a less shitty way | jupyterhub_kubespawner | train |
b52c257fcde22e982aea7b2287b3d0b943b16df2 | diff --git a/cordova-lib/src/hooks/Context.js b/cordova-lib/src/hooks/Context.js
index <HASH>..<HASH> 100644
--- a/cordova-lib/src/hooks/Context.js
+++ b/cordova-lib/src/hooks/Context.js
@@ -17,6 +17,9 @@
under the License.
*/
+var path = require('path');
+var events = require('cordova-common').events;
+
/**
*... | CB-<I> Introduce compat map for hook requires | apache_cordova-lib | train |
1eb3ec97f4f98d5c4759bc11ad20e964c50fe1f0 | diff --git a/lib/linkage/field.rb b/lib/linkage/field.rb
index <HASH>..<HASH> 100644
--- a/lib/linkage/field.rb
+++ b/lib/linkage/field.rb
@@ -28,14 +28,20 @@ module Linkage
def ruby_type
unless @ruby_type
hsh =
- case t = @schema[:db_type].downcase
- when /\A(?:medium|small)?int(... | Update Field#ruby_type from Sequel code | coupler_linkage | train |
e6ed6e4dd499736b451ddd5f2fde8b68a238dcdf | diff --git a/util/functions.php b/util/functions.php
index <HASH>..<HASH> 100644
--- a/util/functions.php
+++ b/util/functions.php
@@ -74,7 +74,7 @@ function string_contains( $hay, $needle ) {
}
function string_i_contains( $hay, $needle ) {
- return contains( strtolower( $hay ), strtolower( $needle ) );
+ return st... | BugFix: Rename internal call of util functions | Elephant418_Staq | train |
6cc6e5b83b97ba276484667a7db27be9869cec2c | diff --git a/presto-orc/src/main/java/com/facebook/presto/orc/stream/ByteInputStream.java b/presto-orc/src/main/java/com/facebook/presto/orc/stream/ByteInputStream.java
index <HASH>..<HASH> 100644
--- a/presto-orc/src/main/java/com/facebook/presto/orc/stream/ByteInputStream.java
+++ b/presto-orc/src/main/java/com/faceb... | Fix the build broken by <I>
Fix the build broken by <I> Improve ORC byte reader. | prestodb_presto | train |
f5f0e6f3faf35d96663c391aed8d5526f60596af | diff --git a/lib/opal/lexer.rb b/lib/opal/lexer.rb
index <HASH>..<HASH> 100644
--- a/lib/opal/lexer.rb
+++ b/lib/opal/lexer.rb
@@ -181,8 +181,8 @@ module Opal
end
if opt
- opt[1..-1].each do |opt|
- res << opt[1]
+ opt[1..-1].each do |_opt|
+ res << _opt[1]
end
end
@@ -... | Don't overwrite the value of vars from outer scope (in <I>) | opal_opal | train |
0f82ffec2163792e2afd3f932e4a86782d5a7868 | diff --git a/demonstrations/src/main/java/boofcv/demonstrations/calibration/DetectCalibrationCirclePanel.java b/demonstrations/src/main/java/boofcv/demonstrations/calibration/DetectCalibrationCirclePanel.java
index <HASH>..<HASH> 100644
--- a/demonstrations/src/main/java/boofcv/demonstrations/calibration/DetectCalibrat... | - turned off showing numbers by default in calibration circle panel
* Too much clutter | lessthanoptimal_BoofCV | train |
626d8766a26a517b19f5399f132bc85a4f7ff274 | diff --git a/registration/models.py b/registration/models.py
index <HASH>..<HASH> 100644
--- a/registration/models.py
+++ b/registration/models.py
@@ -118,12 +118,10 @@ class RegistrationManager(models.Manager):
associated users.
"""
- for profile in self.all():
- if profile.activa... | And have the cleanup command use the new query. | ubernostrum_django-registration | train |
a236656c007fa24f17f3466416562065b08975dd | diff --git a/extensions/jackson/src/main/java/io/jsonwebtoken/jackson/io/JacksonDeserializer.java b/extensions/jackson/src/main/java/io/jsonwebtoken/jackson/io/JacksonDeserializer.java
index <HASH>..<HASH> 100644
--- a/extensions/jackson/src/main/java/io/jsonwebtoken/jackson/io/JacksonDeserializer.java
+++ b/extensions... | Fix minor Javadoc error in JacksonDeserializer (#<I>)
missing `#` in @link tag | jwtk_jjwt | train |
0c5c27d51f21810899a8001fc16dfa7514d1e900 | diff --git a/core/cb.project/project.js b/core/cb.project/project.js
index <HASH>..<HASH> 100644
--- a/core/cb.project/project.js
+++ b/core/cb.project/project.js
@@ -122,7 +122,7 @@ ProjectType.prototype.define = function(types) {
return that.merge(type);
});
}, Q()).then(function() {
- ... | Fix propagation of project.detect when detecting project php | CodeboxIDE_codebox | train |
a14c4d99802dae9f20f5303f2fc495a315f9baa9 | diff --git a/lib/modules/apostrophe-express/index.js b/lib/modules/apostrophe-express/index.js
index <HASH>..<HASH> 100644
--- a/lib/modules/apostrophe-express/index.js
+++ b/lib/modules/apostrophe-express/index.js
@@ -265,7 +265,7 @@ module.exports = {
maxAge: 86400000
});
if (sessionOptions.sec... | stdout should never be used for warnings | apostrophecms_apostrophe | train |
1af4f372bd3ad688ca8089357f3658950489945a | diff --git a/src/Kris/LaravelFormBuilder/FormHelper.php b/src/Kris/LaravelFormBuilder/FormHelper.php
index <HASH>..<HASH> 100644
--- a/src/Kris/LaravelFormBuilder/FormHelper.php
+++ b/src/Kris/LaravelFormBuilder/FormHelper.php
@@ -143,7 +143,7 @@ class FormHelper
if (!in_array($type, static::$availableFieldTyp... | Typo in FormHelper.php | kristijanhusak_laravel-form-builder | train |
914cd83c8a38f5221384aeeae48740f75d4e9ee4 | diff --git a/aws/data_source_aws_iam_assumed_role_source_test.go b/aws/data_source_aws_iam_assumed_role_source_test.go
index <HASH>..<HASH> 100644
--- a/aws/data_source_aws_iam_assumed_role_source_test.go
+++ b/aws/data_source_aws_iam_assumed_role_source_test.go
@@ -9,29 +9,6 @@ import (
"github.com/hashicorp/terrafo... | tests/d/iam_assumed_role_source: Remove comments | terraform-providers_terraform-provider-aws | train |
be642291169849b061a1900902264d5026c57394 | diff --git a/src/Sulu/Bundle/AdminBundle/DependencyInjection/SuluAdminExtension.php b/src/Sulu/Bundle/AdminBundle/DependencyInjection/SuluAdminExtension.php
index <HASH>..<HASH> 100644
--- a/src/Sulu/Bundle/AdminBundle/DependencyInjection/SuluAdminExtension.php
+++ b/src/Sulu/Bundle/AdminBundle/DependencyInjection/Sulu... | Fix correct cache adapter for collabration (#<I>) | sulu_sulu | train |
2dc399ec478304ff13d825260122ea2ae5eb9aa0 | diff --git a/src/devices.js b/src/devices.js
index <HASH>..<HASH> 100644
--- a/src/devices.js
+++ b/src/devices.js
@@ -159,23 +159,26 @@ class BleDevice {
let setupFns = []
for (let nobleService of services) {
+ let sUUID = util.normalizeUUID(nobleService.uuid)
+ let service = null... | sdk: prevent duplicate service setups (unlikely) | PunchThrough_bean-sdk-node | train |
3ba3d0f7698cbfcd783e4c0ba7e1d0e0168c7d6f | diff --git a/lib/event_sourcery/event_store/postgres/optimised_event_poll_waiter.rb b/lib/event_sourcery/event_store/postgres/optimised_event_poll_waiter.rb
index <HASH>..<HASH> 100644
--- a/lib/event_sourcery/event_store/postgres/optimised_event_poll_waiter.rb
+++ b/lib/event_sourcery/event_store/postgres/optimised_ev... | Add this back in because it results in faster failure | envato_event_sourcery | train |
eaffd324e3a7f52d86a826ab15dd19579909a7d7 | diff --git a/chess_py/core/board.py b/chess_py/core/board.py
index <HASH>..<HASH> 100644
--- a/chess_py/core/board.py
+++ b/chess_py/core/board.py
@@ -61,8 +61,11 @@ class Board:
"""
self.position = position
self.possible_moves = dict()
- self.king_loc_dict = {white: self.find_king(whi... | Fix king location dictionary exceptions
Check for when King does not exist or is moved by an outside function | LordDarkula_chess_py | train |
126fdba93b9d72474c94c9510981cbaa0ff10412 | diff --git a/Connector/ServiceBus/ValidatorMiddleware/ValidatorMiddleware.php b/Connector/ServiceBus/ValidatorMiddleware/ValidatorMiddleware.php
index <HASH>..<HASH> 100644
--- a/Connector/ServiceBus/ValidatorMiddleware/ValidatorMiddleware.php
+++ b/Connector/ServiceBus/ValidatorMiddleware/ValidatorMiddleware.php
@@ -3... | correct validator middleware (#<I>) | plentymarkets_plentymarkets-shopware-connector | train |
6c0dcf222caea580b4561b22306faa29b56abc10 | diff --git a/salt/states/file.py b/salt/states/file.py
index <HASH>..<HASH> 100644
--- a/salt/states/file.py
+++ b/salt/states/file.py
@@ -2719,7 +2719,7 @@ def managed(name,
try:
if __opts__['test']:
if 'file.check_managed_changes' in __salt__:
- ret['pchanges'] = __salt__['fi... | Swapping pchanges for changes in file state. | saltstack_salt | train |
5e8218a2fb5b0c63df4394e299ad75fec2494b29 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@ setup(
'appdirs==1.4.3',
'docopt==0.6.2',
'prompt-toolkit==1.0',
- 'python-slugify==1.2.1',
+ 'python-slugify==1.2.2',
],
packages=['withtool'],
classifier... | Upgrade dependency python-slugify to ==<I> | renanivo_with | train |
0b575750a90c43c6763154333a6f065756b3b25e | diff --git a/credentials/alts/alts_test.go b/credentials/alts/alts_test.go
index <HASH>..<HASH> 100644
--- a/credentials/alts/alts_test.go
+++ b/credentials/alts/alts_test.go
@@ -1,3 +1,5 @@
+// +build linux,windows
+
/*
*
* Copyright 2018 gRPC authors.
diff --git a/credentials/alts/utils_test.go b/credentials/alt... | credentials/alts: Skip ALTS tests on darwin. (#<I>)
Anyways, only linux and windows are supported platforms. Running these
tests on darwin causes a top level `make test` to fail, and one has to
scroll all the way up to realize that it is only these alts tests which
have failed, and not something that one is activel... | grpc_grpc-go | train |
e20d9b5600acbefabae4d35bf8e5aa77a5fd97eb | diff --git a/nfsexports.go b/nfsexports.go
index <HASH>..<HASH> 100644
--- a/nfsexports.go
+++ b/nfsexports.go
@@ -81,6 +81,31 @@ func Remove(exportsFile string, identifier string) ([]byte, error) {
return newExports, nil
}
+// Exists checks the existence of a given export
+// The export must, however, have been c... | Add an `Exists` function allowing to check for the existence of a given export | johanneswuerbach_nfsexports | train |
5b00a0364682618cfebd85358fa9a0419b3ea421 | diff --git a/src/test/java/org/camunda/bpm/model/bpmn/builder/ProcessBuilderTest.java b/src/test/java/org/camunda/bpm/model/bpmn/builder/ProcessBuilderTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/camunda/bpm/model/bpmn/builder/ProcessBuilderTest.java
+++ b/src/test/java/org/camunda/bpm/model/bpmn/build... | test(model-api): Added test cases for error event definition withour id
related to #CAM-<I> | camunda_camunda-bpmn-model | train |
dc5dee6b61a08555837bc34187f89d03923bf5d8 | diff --git a/Holodeck/Environments.py b/Holodeck/Environments.py
index <HASH>..<HASH> 100755
--- a/Holodeck/Environments.py
+++ b/Holodeck/Environments.py
@@ -7,6 +7,7 @@ import os
import numpy as np
from copy import copy
+from .Agents import *
from .Exceptions import HolodeckException
from .ShmemClient import Sh... | Made the multi agent setup compatible with the latest changes in json loading | BYU-PCCL_holodeck | train |
99cfe6fa22b95beba3dbb3524a39d0adf9287585 | diff --git a/azkaban-common/src/main/java/azkaban/executor/ExecutionFlowDao.java b/azkaban-common/src/main/java/azkaban/executor/ExecutionFlowDao.java
index <HASH>..<HASH> 100644
--- a/azkaban-common/src/main/java/azkaban/executor/ExecutionFlowDao.java
+++ b/azkaban-common/src/main/java/azkaban/executor/ExecutionFlowDa... | Remove unnecessary code (#<I>) | azkaban_azkaban | train |
3e56c493bae0653c12b2454001c3afa798d3c331 | diff --git a/tests/profiles/googlefonts_test.py b/tests/profiles/googlefonts_test.py
index <HASH>..<HASH> 100644
--- a/tests/profiles/googlefonts_test.py
+++ b/tests/profiles/googlefonts_test.py
@@ -4081,3 +4081,21 @@ def test_check_description_urls():
good_desc = check["description"].replace(">https://", ">")
... | Code-test for check/metadata/unsupported_subsets
(issue #<I>) | googlefonts_fontbakery | train |
c73b2bc3cbc0667ea8e29eec1ebe30af69b6b0b1 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -64,13 +64,17 @@ $barbeQ = new BarbeQ($adapter, $messageDispatcher, $dispatcher);
$testConsumer = new TestConsumer();
$barbeQ->addConsumer('test', $testConsumer);
-$barbeQ->eat(
- 'test',
- 5,
- function($i,... | Removed closure since event listeners are already used. Added an addListener method to BarbeQ + Updated README code example | benjamindulau_BarbeQ | train |
d1a72fc5e189f332e96c0855b0f1e5305418fd27 | diff --git a/scandir.py b/scandir.py
index <HASH>..<HASH> 100644
--- a/scandir.py
+++ b/scandir.py
@@ -12,23 +12,14 @@ the full license text.
from __future__ import division
-import collections
import ctypes
-import fnmatch
import os
import stat
import sys
-import warnings
__version__ = '0.2'
__all__ = ['s... | Fix a few issues that pylint noticed. | benhoyt_scandir | train |
fb074813ea68faae1293c8054e365dc52153ace8 | diff --git a/lib/raven/rack.rb b/lib/raven/rack.rb
index <HASH>..<HASH> 100644
--- a/lib/raven/rack.rb
+++ b/lib/raven/rack.rb
@@ -34,7 +34,7 @@ module Raven
end
if env['rack.exception']
- evt = Event.capture_rack_exception(e, env)
+ evt = Event.capture_rack_exception(env['rack.exception']... | Correct rack.exception behavior and add corresponding test | getsentry_raven-ruby | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.