hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
b122b37be778619ebcda2fe32f7a36b33437a5b1 | diff --git a/src/Symfony/Component/Security/Http/Event/InteractiveLoginEvent.php b/src/Symfony/Component/Security/Http/Event/InteractiveLoginEvent.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Security/Http/Event/InteractiveLoginEvent.php
+++ b/src/Symfony/Component/Security/Http/Event/InteractiveLoginEve... | [Security] tweaked previous merge | symfony_symfony | train | php |
f09b4e5a3b73965ba3464186970b48635b73edda | diff --git a/core/resource/DependsOnPropertyCollection.php b/core/resource/DependsOnPropertyCollection.php
index <HASH>..<HASH> 100644
--- a/core/resource/DependsOnPropertyCollection.php
+++ b/core/resource/DependsOnPropertyCollection.php
@@ -26,8 +26,27 @@ use ArrayIterator;
use core_kernel_classes_Property;
/**
-... | feat: add equal method to dependd on property collections | oat-sa_generis | train | php |
2ea3c1bbf2e1dccd2a7f432b7a4c85a19196a7ee | diff --git a/structr-ui/src/main/resources/structr/js/graph.js b/structr-ui/src/main/resources/structr/js/graph.js
index <HASH>..<HASH> 100644
--- a/structr-ui/src/main/resources/structr/js/graph.js
+++ b/structr-ui/src/main/resources/structr/js/graph.js
@@ -880,7 +880,6 @@ var _Graph = {
var nodeTypesBox = $('#node... | Added a filter for relationships in the node type box (necessary for now because the schemainfo now also returns relationships) | structr_structr | train | js |
aa5f9edd3f7c6c8b12fff3861f4a183e325c134f | diff --git a/src/Provider/OrbitronDevResourceOwner.php b/src/Provider/OrbitronDevResourceOwner.php
index <HASH>..<HASH> 100644
--- a/src/Provider/OrbitronDevResourceOwner.php
+++ b/src/Provider/OrbitronDevResourceOwner.php
@@ -93,6 +93,13 @@ class OrbitronDevResourceOwner implements ResourceOwnerInterface
if (... | Update <I>
^ Return active address when there is only one | D3strukt0r_oauth2-orbitrondev | train | php |
4b10d9b54de2fb375a06a67381f5a442f15e6948 | diff --git a/policies/track-duplicated-fields.js b/policies/track-duplicated-fields.js
index <HASH>..<HASH> 100644
--- a/policies/track-duplicated-fields.js
+++ b/policies/track-duplicated-fields.js
@@ -5,8 +5,6 @@ const _ = require('lodash');
const config = require('../config');
const Q = require('q');
-const hand... | Swapped to using findByIdAndUpdate for improved performance. | JKHeadley_rest-hapi | train | js |
a266a1a07b4c1bfb0250b57142a4c993f0982ad5 | diff --git a/cohort/locallib.php b/cohort/locallib.php
index <HASH>..<HASH> 100644
--- a/cohort/locallib.php
+++ b/cohort/locallib.php
@@ -126,7 +126,7 @@ class cohort_existing_selector extends user_selector_base {
if (!$this->is_validating()) {
$potentialmemberscount = $DB->count_records_sql($c... | MDL-<I> Cohorts: Use maxusersperpage for list of current users. | moodle_moodle | train | php |
916983a107455fccc49805eb63759c71a620d62b | diff --git a/fuzzywuzzy/tests.py b/fuzzywuzzy/tests.py
index <HASH>..<HASH> 100644
--- a/fuzzywuzzy/tests.py
+++ b/fuzzywuzzy/tests.py
@@ -132,9 +132,9 @@ class RatioTest(unittest.TestCase):
s3 = "LSINJHUANG DISTRIC"
s4 = "SINJHUANG DISTRICT"
- self.assertGreater(partial_ratio(s1, s2), 75)
- ... | assertGreater did not exist in python <I> | seatgeek_fuzzywuzzy | train | py |
bb7eab6325f7d18dddad0d40ddb88b060b332cdf | diff --git a/metator/partition.py b/metator/partition.py
index <HASH>..<HASH> 100644
--- a/metator/partition.py
+++ b/metator/partition.py
@@ -201,6 +201,7 @@ def generate_fasta(assembly, bins, contigs_data, size, output_dir, tmpdir):
assembly, contigs_file, output_file
)
proc... | Wait until pyfastx extract has finished before to continue to execute python script. | koszullab_metaTOR | train | py,py |
fb91ee00a7603f06bad0df7222955bf1f59bc2a9 | diff --git a/spec/lib/services/configuration-spec.js b/spec/lib/services/configuration-spec.js
index <HASH>..<HASH> 100644
--- a/spec/lib/services/configuration-spec.js
+++ b/spec/lib/services/configuration-spec.js
@@ -71,10 +71,6 @@ describe(require('path').basename(__filename), function () {
describe('ba... | fixed dup mock error in unit test | RackHD_on-core | train | js |
3ada129bc131484e7d29e6c652fe2f631c63e020 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -623,11 +623,13 @@ Peer.prototype._createOffer = function () {
Peer.prototype._requestMissingTransceivers = function () {
var self = this
- self._pc.getTransceivers().forEach(transceiver => {
- if (!transceiver.mid &... | skip requesting transceivers on unsupported ends (node-webrtc, react-native) | feross_simple-peer | train | js |
3f44be0d31f5c7e96b9d35e2480e8af9b681bc26 | diff --git a/test/eth/Cdp.spec.js b/test/eth/Cdp.spec.js
index <HASH>..<HASH> 100644
--- a/test/eth/Cdp.spec.js
+++ b/test/eth/Cdp.spec.js
@@ -168,7 +168,10 @@ describe('a cdp with collateral', () => {
});
describe('with drip', () => {
- afterAll(() => cdpService.get('price').setMkrPrice(0));
+ af... | Test wipe with non-zero stability fee | makerdao_dai.js | train | js |
7767975a8f34b0d830ab2abc7e40a761caa22480 | diff --git a/saltcloud/cli.py b/saltcloud/cli.py
index <HASH>..<HASH> 100644
--- a/saltcloud/cli.py
+++ b/saltcloud/cli.py
@@ -222,10 +222,14 @@ class SaltCloud(parsers.SaltCloudParser):
if self.config.get('map', None) and self.selected_query_option is None:
if len(mapper.map) == 0:
- ... | better error reporting when creating from a map | saltstack_salt | train | py |
8e3e7cb875ac8e17ec9635a01c634d3ac9407622 | diff --git a/spec/audited/adapters/active_record/auditor_spec.rb b/spec/audited/adapters/active_record/auditor_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/audited/adapters/active_record/auditor_spec.rb
+++ b/spec/audited/adapters/active_record/auditor_spec.rb
@@ -194,6 +194,17 @@ describe Audited::Auditor, :adapter ... | Ensure { dependent: :destroy } association destructions are audited | collectiveidea_audited | train | rb,rb |
29873cfe617235119665cace3219cccfe1bde424 | diff --git a/app/models/landable/page_revision.rb b/app/models/landable/page_revision.rb
index <HASH>..<HASH> 100644
--- a/app/models/landable/page_revision.rb
+++ b/app/models/landable/page_revision.rb
@@ -84,8 +84,19 @@ module Landable
end
def add_screenshot!
- if preview_url and screenshot = Screens... | retries for page revision screenshots | enova_landable | train | rb |
32797a39bf289f2932ce85420fe2daedc0b4af05 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -37,6 +37,7 @@ setup_params = dict(
] + pytest_runner + sphinx + wheel,
tests_require=[
'pytest>=2.8',
+ 'pmxbot',
],
classifiers=[
"Development Status :: 5 - Production/Stable", | Include pmxbot in test requirements to allow tests to pass. | jaraco_wolframalpha | train | py |
6484ac7941a2a0bae4fc27ee7de4c84abb0de684 | diff --git a/django_messages/utils.py b/django_messages/utils.py
index <HASH>..<HASH> 100644
--- a/django_messages/utils.py
+++ b/django_messages/utils.py
@@ -2,7 +2,6 @@ import re
import django
from django.utils.text import wrap
from django.utils.translation import ugettext, ugettext_lazy as _
-from django.contrib.... | Import Site model only if necessary (#<I>)
When not using the Django sites framework, you get a RuntimeError
because it is not installed, even if you set DJANGO_MESSAGES_NOTIFY to
False.
This can be avoided by importing the site model only when necessary. | arneb_django-messages | train | py |
b7af418d8df4bd70ae589be3053e8c7a1074f4b0 | diff --git a/Console/Processor/AlgorithmListProcessor.php b/Console/Processor/AlgorithmListProcessor.php
index <HASH>..<HASH> 100644
--- a/Console/Processor/AlgorithmListProcessor.php
+++ b/Console/Processor/AlgorithmListProcessor.php
@@ -39,13 +39,13 @@ class AlgorithmListProcessor implements AlgorithmListProcessorInt... | Change output for algorithm list to service name instead of class name | picodexter_PcdxParameterEncryptionBundle | train | php |
94ff2b3d0f488d04c871b91e4108250c7211d6f9 | diff --git a/pyaxo.py b/pyaxo.py
index <HASH>..<HASH> 100644
--- a/pyaxo.py
+++ b/pyaxo.py
@@ -65,7 +65,7 @@ class Axolotl:
try:
self.db = self.openDB()
except sqlite3.OperationalError:
- print 'Bad sql! Is the database encrypted?'
+ print 'Bad sql! Password problem ... | added passlib to setup.py | rxcomm_pyaxo | train | py,py |
2f33c23492e29acf2f28e8018986a736ffdb6bb2 | diff --git a/auth/mnet/auth.php b/auth/mnet/auth.php
index <HASH>..<HASH> 100644
--- a/auth/mnet/auth.php
+++ b/auth/mnet/auth.php
@@ -285,7 +285,7 @@ class auth_plugin_mnet extends auth_plugin_base {
$firsttime = false;
// get the local record for the remote user
- $localuser = get_record('u... | MDL-<I> : An additional addslashes() that was in Petr's patch but didn't get committed. Tested and required. | moodle_moodle | train | php |
a4dca6001fa07e07feb767af710fde30e296547f | diff --git a/src/path.js b/src/path.js
index <HASH>..<HASH> 100644
--- a/src/path.js
+++ b/src/path.js
@@ -31,10 +31,8 @@ var Path = function Path(path, opts) {
};
Path.prototype.value = function value() {
- var computedStyle = window.getComputedStyle(this._path, null);
- var offset = computedStyle.getPropert... | Refactor computed dash offset to method | kimmobrunfeldt_progressbar.js | train | js |
40bc69bc4218917be58712a81ad9131df0adc685 | diff --git a/lib/autotune/index.js b/lib/autotune/index.js
index <HASH>..<HASH> 100644
--- a/lib/autotune/index.js
+++ b/lib/autotune/index.js
@@ -16,9 +16,9 @@ function generate (inputs) {
if (pumpprofile) { pump_isf_profile = pumpprofile.isfProfile; }
if (pump_isf_profile && pump_isf_profile.sensitivities[0... | only set pumpCSF if setting pumpISF | openaps_oref0 | train | js |
ab39a29a7979146bc6a587c10bf58a123f16c226 | diff --git a/estnltk/core.py b/estnltk/core.py
index <HASH>..<HASH> 100644
--- a/estnltk/core.py
+++ b/estnltk/core.py
@@ -1,3 +1,7 @@
+#
+# This module contains constants, paths and functions commonly used in the EstNLTK library.
+# TODO: consider renaming the module 'core' --> 'base_utils' or 'common_utils'... | Commented estnltk.core | estnltk_estnltk | train | py |
3d8883c75a89843194bb6c92abba0ee2c34c5079 | diff --git a/doc/js/picker.js b/doc/js/picker.js
index <HASH>..<HASH> 100644
--- a/doc/js/picker.js
+++ b/doc/js/picker.js
@@ -292,7 +292,8 @@
},
_build: function(){
- var triggerText = this.config.texts.trigger;
+ var firstOptText = this.$elem.find('option:eq(0)').text()
+ ... | Suppose fix for #<I> | AuHau_select-picker | train | js |
02b6e07bc32825c44589210585af0f6e4bbcd0db | diff --git a/jumeaux/models.py b/jumeaux/models.py
index <HASH>..<HASH> 100644
--- a/jumeaux/models.py
+++ b/jumeaux/models.py
@@ -139,7 +139,7 @@ class Response(OwlMixin):
return Response.from_dict({
'body': res.content,
'encoding': res.encoding,
- 'text': res.text,
+ ... | :arrow_upper_right: Fix performance issue (requests.text is slow) | tadashi-aikawa_jumeaux | train | py |
1f58890b3ea7a8683bc21594a7dc773443102893 | diff --git a/pyflakes/checker.py b/pyflakes/checker.py
index <HASH>..<HASH> 100644
--- a/pyflakes/checker.py
+++ b/pyflakes/checker.py
@@ -619,6 +619,8 @@ class Checker(object):
ast.GeneratorExp: GeneratorScope,
ast.DictComp: GeneratorScope,
}
+ if PY35_PLUS:
+ _ast_node_scope[ast.Async... | Set the proper scope for `async def` | PyCQA_pyflakes | train | py,py |
76b179ab101dfd4cf9873ff5f4d0efd575cf419e | diff --git a/esptool.py b/esptool.py
index <HASH>..<HASH> 100755
--- a/esptool.py
+++ b/esptool.py
@@ -30,7 +30,7 @@ import base64
import zlib
import shlex
-__version__ = "2.0-beta1"
+__version__ = "2.0-beta2"
MAX_UINT32 = 0xffffffff
MAX_UINT24 = 0xffffff | Tag <I>beta2 (not a release published to pypi) | espressif_esptool | train | py |
0adee1b6ab054b643c289c529a619acd7758aa93 | diff --git a/topydo/commands/TagCommand.py b/topydo/commands/TagCommand.py
index <HASH>..<HASH> 100644
--- a/topydo/commands/TagCommand.py
+++ b/topydo/commands/TagCommand.py
@@ -109,7 +109,7 @@ class TagCommand(Command):
self.todolist.set_dirty()
def _set(self):
- if len(self.current_values)... | Allow for multiple tags with the same key | bram85_topydo | train | py |
f1bae9f1eb801c4c65e6fb160783864b3f14809c | diff --git a/lib/vagrant.rb b/lib/vagrant.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant.rb
+++ b/lib/vagrant.rb
@@ -68,12 +68,11 @@ if ENV["VAGRANT_LOG"] && ENV["VAGRANT_LOG"] != ""
date_pattern: "%F %T"
)
end
- # Cloud gem uses RestClient to make HTTP requests, so
- # log them if debug is... | Remove level conditional for RestClient logging | hashicorp_vagrant | train | rb |
3adc311c1cc0f534c782a11d2cdaeb2133e5113a | diff --git a/cmd/admin-router.go b/cmd/admin-router.go
index <HASH>..<HASH> 100644
--- a/cmd/admin-router.go
+++ b/cmd/admin-router.go
@@ -144,5 +144,6 @@ func registerAdminRouter(router *mux.Router, enableConfigOps, enableIAMOps bool)
adminV1Router.Methods(http.MethodGet).Path("/kms/key/status").HandlerFunc(httpTrac... | Fix regression in admin router when no route matches (#<I>)
When `mc admin user add` is attempted in gateway mode without
etcd setup, NoSuchBucket error is returned instead of MethodNotAllowed.
Regression from commit - e<I>ddc<I>d0a<I>f<I>a<I>a<I>d8eaa<I>bfe2 | minio_minio | train | go |
2a832b0941f0a6f5ec024dc2c527f6ed95e8114c | diff --git a/pmagpy/convert_2_magic.py b/pmagpy/convert_2_magic.py
index <HASH>..<HASH> 100644
--- a/pmagpy/convert_2_magic.py
+++ b/pmagpy/convert_2_magic.py
@@ -882,6 +882,7 @@ def cit(dir_path=".", input_dir_path="", magfile="", user="", meas_file="measure
if input_dir_path == '':
input_dir_path = '.'
... | one more fix for cit_magic | PmagPy_PmagPy | train | py |
755a86ce439633093514f8a89f6ee2c03a79346a | diff --git a/future/tests/test_builtins.py b/future/tests/test_builtins.py
index <HASH>..<HASH> 100644
--- a/future/tests/test_builtins.py
+++ b/future/tests/test_builtins.py
@@ -1325,7 +1325,7 @@ class BuiltinTest(unittest.TestCase):
fp.close()
unlink(TESTFN)
- @unittest.expectedFailure
... | Mark some more tests as failing on Py2 only | PythonCharmers_python-future | train | py |
0f92824eb204b0c96cffffcdeb3bd07035cf81f9 | diff --git a/functional/platform/nspawn.go b/functional/platform/nspawn.go
index <HASH>..<HASH> 100644
--- a/functional/platform/nspawn.go
+++ b/functional/platform/nspawn.go
@@ -466,6 +466,11 @@ func (nc *nspawnCluster) createMember(id string) (m Member, err error) {
0644,
},
{
+ "/etc/machine-id",
+ nm.... | functional: write machine ID into nspawn container
As systemd <I> or newer requires /etc/machine-id on a nspawn container,
we need to write the container's own machine ID into /etc/machine-id.
Otherwise, functional tests don't start at all like:
--- FAIL: TestKnownHostsVerification (<I>s)
client_test.go:<I>: un... | coreos_fleet | train | go |
469a9024bf853703e30ad5803926d06a0787b201 | diff --git a/test/PeriodExtensionTest.php b/test/PeriodExtensionTest.php
index <HASH>..<HASH> 100644
--- a/test/PeriodExtensionTest.php
+++ b/test/PeriodExtensionTest.php
@@ -84,6 +84,7 @@ class PeriodExtensionTest extends PHPUnit_Framework_TestCase
$this->getTestDataForNow('P1Y'),
$this->getT... | added a skipped case for day , month and year all are same | united-asian_twig-i18n-extension | train | php |
6e4789990278b04297f20e6edcae587cce057193 | diff --git a/Classes/Service/PublishService.php b/Classes/Service/PublishService.php
index <HASH>..<HASH> 100644
--- a/Classes/Service/PublishService.php
+++ b/Classes/Service/PublishService.php
@@ -9,6 +9,8 @@ namespace SFC\Staticfilecache\Service;
use SFC\Staticfilecache\Cache\StaticFileBackend;
use TYPO3\CMS\Cor... | Add Signal call for the Publish slot | lochmueller_staticfilecache | train | php |
9f37951680051a7f13da4bc4dc9bb69e032fb7bf | diff --git a/benchmarks/src/main/java/io/grpc/benchmarks/qps/ClientConfiguration.java b/benchmarks/src/main/java/io/grpc/benchmarks/qps/ClientConfiguration.java
index <HASH>..<HASH> 100644
--- a/benchmarks/src/main/java/io/grpc/benchmarks/qps/ClientConfiguration.java
+++ b/benchmarks/src/main/java/io/grpc/benchmarks/qp... | benchmarks: honor transport in AsyncClient | grpc_grpc-java | train | java |
382f9a8f6bf62a660213cd219d7a737d5a0de5bb | diff --git a/tests/unit/conftest.py b/tests/unit/conftest.py
index <HASH>..<HASH> 100644
--- a/tests/unit/conftest.py
+++ b/tests/unit/conftest.py
@@ -50,10 +50,11 @@ def sensors(request, kernel_module_dir): # pylint: disable=redefined-outer-name
for sensor_conf in request.param:
sensor_type = se... | Calculate bits from temp for cli tests | timofurrer_w1thermsensor | train | py |
72462a72fbcf5226ecad371adf0825b5705856d8 | diff --git a/etcdserver/cluster.go b/etcdserver/cluster.go
index <HASH>..<HASH> 100644
--- a/etcdserver/cluster.go
+++ b/etcdserver/cluster.go
@@ -424,7 +424,6 @@ func ValidateClusterAndAssignIDs(local *cluster, existing *cluster) error {
sort.Sort(MembersByPeerURLs(lms))
for i := range ems {
- // TODO: Remove U... | etcdserver: remove TODO to delete URLStringsEqual
Discovery SRV supports to compare IP addresses with domain names,
so we need URLStringsEqual function. | etcd-io_etcd | train | go,go |
1862e14534c0c04c3efd17a1f6d5ec068882a37c | diff --git a/symphony/Mml/__init__.py b/symphony/Mml/__init__.py
index <HASH>..<HASH> 100644
--- a/symphony/Mml/__init__.py
+++ b/symphony/Mml/__init__.py
@@ -32,6 +32,7 @@ class Mml():
for mention in mentions:
mentions_c.append(mention['uid'])
msg_string = soup.messageml.text.strip()
+ ... | adding some debug logging to Mml Class methods | symphonyoss_python-symphony | train | py |
98c45ab5348dd649d87e0c9c7362a2d5df9e4b86 | diff --git a/src/configuration/helpers.js b/src/configuration/helpers.js
index <HASH>..<HASH> 100644
--- a/src/configuration/helpers.js
+++ b/src/configuration/helpers.js
@@ -45,7 +45,13 @@ export function getApplicationConfig(applicationConfigPath, directory = process.
// Return correct project configuration with... | Added a warning when a roc.config file is empty | rocjs_roc | train | js |
e2dbc12030cbfea6b70b22989171d6fbb29db999 | diff --git a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/SipApplicationDispatcherImpl.java b/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/SipApplicationDispatcherImpl.java
index <HASH>..<HASH> 100644
--- a/sip-servlets-impl/src/main/java/org/mobicents/servlet/sip/core/SipApplication... | Fix for TCK regressions and cleaning the application data on invalidation to avoid problems with B2BUA
git-svn-id: <URL> | RestComm_sip-servlets | train | java |
1d3a78d0fe12a10c7a212be1b7f49972c009b550 | diff --git a/lib/command-t/scanner/ruby.rb b/lib/command-t/scanner/ruby.rb
index <HASH>..<HASH> 100644
--- a/lib/command-t/scanner/ruby.rb
+++ b/lib/command-t/scanner/ruby.rb
@@ -43,6 +43,8 @@ module CommandT
end
end
end
+ rescue Errno::EACCES
+ # skip over directories for w... | Ruby scanner: skip over inaccessible directories | wincent_command-t | train | rb |
abf374d1484ba18d9ad4f6930a7e8c6738919f43 | diff --git a/Swat/SwatString.php b/Swat/SwatString.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatString.php
+++ b/Swat/SwatString.php
@@ -545,7 +545,9 @@ class SwatString
* Formats a number using locale seperators and in a UTF-8 safe way.
*
* @param float $value the value to format.
- * @param int $decimals ... | Fixed comments.
svn commit r<I> | silverorange_swat | train | php |
7b5319fce06d461d44c45743a01c1d37c7593520 | diff --git a/receive.go b/receive.go
index <HASH>..<HASH> 100644
--- a/receive.go
+++ b/receive.go
@@ -177,13 +177,16 @@ func (c *Conversation) notifyDataMessageError(err error) {
var e ErrorCode
if err == errMessageNotInPrivate {
- e = ErrorCodeMessageNotInPrivate
- } else if isConflict(err) {
+ return
+ }
+
+... | Fix most of the coyim#<I> - stop the OTR flood from happening. | coyim_otr3 | train | go |
a91e5bf2dc2ac7e0932639a11de46e0e8fd78c4b | diff --git a/dockerfabric/cli.py b/dockerfabric/cli.py
index <HASH>..<HASH> 100644
--- a/dockerfabric/cli.py
+++ b/dockerfabric/cli.py
@@ -32,6 +32,8 @@ class DockerCliClient(DockerUtilityMixin):
self._call_method = sudo
else:
self._call_method = run
+ self.api_version = None
+... | Store API version in client config. | merll_docker-fabric | train | py |
668eadc4b616802fd82bbb95cb988f99434bf897 | diff --git a/src/Common/ClientFactory.php b/src/Common/ClientFactory.php
index <HASH>..<HASH> 100644
--- a/src/Common/ClientFactory.php
+++ b/src/Common/ClientFactory.php
@@ -359,8 +359,7 @@ class ClientFactory
private function handle_profile($value, array &$args)
{
- $provider = Provider::ini($args[... | Modifying profile credentials for better error messages | aws_aws-sdk-php | train | php |
1acaffc57399924bd9e8f0a58be7734d934ee9bd | diff --git a/src/main/java/org/mariadb/jdbc/internal/util/exceptions/ExceptionFactory.java b/src/main/java/org/mariadb/jdbc/internal/util/exceptions/ExceptionFactory.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/mariadb/jdbc/internal/util/exceptions/ExceptionFactory.java
+++ b/src/main/java/org/mariadb/jdbc/... | CONJ-<I> - includeThreadDumpInDeadlockExceptions always includes the thread dump, even when it is not a deadlock exception | MariaDB_mariadb-connector-j | train | java |
04673eb3b5a2ea30cd27f015a77e1092de8bee76 | diff --git a/glamkit_collections/contrib/work_creator/api_serializers.py b/glamkit_collections/contrib/work_creator/api_serializers.py
index <HASH>..<HASH> 100644
--- a/glamkit_collections/contrib/work_creator/api_serializers.py
+++ b/glamkit_collections/contrib/work_creator/api_serializers.py
@@ -140,6 +140,14 @@ clas... | Permit WorkCreator.role to be created and linked via API | ic-labs_django-icekit | train | py |
079c580e7292f8e76004963e32cf92bcd2322bbf | diff --git a/openxc/sources/usb.py b/openxc/sources/usb.py
index <HASH>..<HASH> 100644
--- a/openxc/sources/usb.py
+++ b/openxc/sources/usb.py
@@ -85,8 +85,8 @@ class UsbDataSource(BytestreamDataSource):
read_size=DEFAULT_READ_REQUEST_SIZE):
timeout = timeout or self.DEFAULT_READ_TIMEOUT
... | renamed temp variable to something more appropriate | openxc_openxc-python | train | py |
9ab5ab262d973097314c252a3fc293fbb2877c5d | diff --git a/engarde/checks.py b/engarde/checks.py
index <HASH>..<HASH> 100644
--- a/engarde/checks.py
+++ b/engarde/checks.py
@@ -11,6 +11,7 @@ Each function in here should
import numpy as np
import pandas as pd
import pandas.util.testing as tm
+import six
from engarde import generic
from engarde.generic import... | Add exception chaining for both py2 and py3 using the six library | TomAugspurger_engarde | train | py,py |
b9a37d3446bc7c2669dc1324afe456d47bf6de0e | diff --git a/event/absolute.go b/event/absolute.go
index <HASH>..<HASH> 100644
--- a/event/absolute.go
+++ b/event/absolute.go
@@ -25,7 +25,7 @@ func (e Absolute) Payload() interface{} {
// Stats returns an array of StatsD events as they travel over UDP
func (e Absolute) Stats() []string {
- ret := make([]string, l... | fix bug pointed out by quipo's review | quipo_statsd | train | go,go |
69d680697f6d97b3a317202ad32ab4f5467ef064 | diff --git a/lib/Core/Values/Layout/Layout.php b/lib/Core/Values/Layout/Layout.php
index <HASH>..<HASH> 100644
--- a/lib/Core/Values/Layout/Layout.php
+++ b/lib/Core/Values/Layout/Layout.php
@@ -91,6 +91,11 @@ class Layout extends ValueObject implements APILayout
return $this->name;
}
+ /**
+ * R... | LAYOUTS-<I>: add docblock on method implementation | netgen-layouts_layouts-core | train | php |
96170a76eb2d68e109216adf747d08c0041dccac | diff --git a/prow/github/client.go b/prow/github/client.go
index <HASH>..<HASH> 100644
--- a/prow/github/client.go
+++ b/prow/github/client.go
@@ -149,7 +149,6 @@ func (c *Client) requestRetry(method, path string, body interface{}) (*http.Resp
// If we are out of API tokens, sleep first. The X-RateLimit-Reset
/... | Move the resp.Close() to after the break statement.
If that break was being hit then we were trying to read a closed
response body. This doesn't actually change the behavior of request(),
but it makes it return a less-helpful error message. | kubernetes_test-infra | train | go |
1b77ba0bcc883637391b64fb67837e7641204a0b | diff --git a/kie-internal/src/main/java/org/kie/internal/task/api/model/TaskEvent.java b/kie-internal/src/main/java/org/kie/internal/task/api/model/TaskEvent.java
index <HASH>..<HASH> 100644
--- a/kie-internal/src/main/java/org/kie/internal/task/api/model/TaskEvent.java
+++ b/kie-internal/src/main/java/org/kie/internal... | JBPM-<I> - Audit Mode should apply to task log information (#<I>) | kiegroup_drools | train | java |
407209a2e10a98a8f74ce2f0b7caf291dff716d4 | diff --git a/buffer-group.js b/buffer-group.js
index <HASH>..<HASH> 100644
--- a/buffer-group.js
+++ b/buffer-group.js
@@ -50,9 +50,12 @@ module.exports = function(OffsetBuffer, logger) {
var extract_buffer = new OffsetBuffer(size),
new_group = [],
new_length = 0,
- size_le... | changed from forEach to for loop adds for speed (+ ~ <I>k ops/sec on local box) | matanamir_buffer-group | train | js |
c9cb688a5c1d3b2c47f5d63695046ddb30dcb1e0 | diff --git a/java/client/src/org/openqa/selenium/support/ui/ExpectedConditions.java b/java/client/src/org/openqa/selenium/support/ui/ExpectedConditions.java
index <HASH>..<HASH> 100644
--- a/java/client/src/org/openqa/selenium/support/ui/ExpectedConditions.java
+++ b/java/client/src/org/openqa/selenium/support/ui/Expec... | Update javadoc for ExpectedConditions.not to explain a gotcha that can occur.
Resolves #<I> | SeleniumHQ_selenium | train | java |
94e402206a440db6be32ac5316f6bbf08236e4a3 | diff --git a/soccer/main.py b/soccer/main.py
index <HASH>..<HASH> 100644
--- a/soccer/main.py
+++ b/soccer/main.py
@@ -138,9 +138,9 @@ def main(league, time, standings, team, live, use12hour, players,
\b
- CL: Champions League
- - PL: England Premier League
- - EL1: England League One
- - ELC: Engl... | Fix inconsistent demonym. German, French, England?
Also The Championship comes above League One. | architv_soccer-cli | train | py |
57cdfdb9ab0c62df5f0296b1bd131111052c6949 | diff --git a/modules/statistics/hooks/hook_frontpage.php b/modules/statistics/hooks/hook_frontpage.php
index <HASH>..<HASH> 100644
--- a/modules/statistics/hooks/hook_frontpage.php
+++ b/modules/statistics/hooks/hook_frontpage.php
@@ -10,7 +10,7 @@ function statistics_hook_frontpage(&$links) {
$links['links'][] = a... | temporary translation of login link in statistics module | simplesamlphp_saml2 | train | php |
4e6496d500e2c10965eebd171d85d32b79535171 | diff --git a/lib/bassline.js b/lib/bassline.js
index <HASH>..<HASH> 100644
--- a/lib/bassline.js
+++ b/lib/bassline.js
@@ -34,7 +34,9 @@ function Bassline(options) {
// save reference of app
- _app.models = {};
+ _app.models = {
+ Model: bases.models
+ };
_app.collections = {};
bases.views.prototype.app = ... | Use base model class if model is not found. And removed a console.log. Goddamn pesky console.logs. | thecodebureau_ridge | train | js,js,js |
da643d08eea584db785f78c51d8531e060d4f841 | diff --git a/router/substituters.go b/router/substituters.go
index <HASH>..<HASH> 100644
--- a/router/substituters.go
+++ b/router/substituters.go
@@ -35,6 +35,9 @@ func substitute(
return newObj
}
+// substituteEnvVars performs a key-value substitutions on `data`. Substituations have the
+// following format: `$... | Documented substituteEnvVars and substituteFields methods | Clever_kayvee-go | train | go |
502cf8a7c53b7b2eada9aadea5599b12ce4c1367 | diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/SelectorEngine.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/SelectorEngine.java
index <HASH>..<HASH> 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/SelectorEngine.java
+++ b/gwtquery-core/src/main/java/com/googl... | applied patch in Issue_<I> with fixes a bug when the node is in an iframe | ArcBees_gwtquery | train | java |
b316a35ce9a40393fe5802444a6e46da17c2699a | diff --git a/src/Http/Controllers/ApiController.php b/src/Http/Controllers/ApiController.php
index <HASH>..<HASH> 100644
--- a/src/Http/Controllers/ApiController.php
+++ b/src/Http/Controllers/ApiController.php
@@ -122,6 +122,8 @@ class ApiController extends Controller
{
if (method_exists(Auth::user(), 'c... | If method doesn't exist, assume open and return true. | taskforcedev_crud-api | train | php |
123e5a56230e6b4290cf5218a4663c479f22b3c1 | diff --git a/src/Parser/Block/ListParser.php b/src/Parser/Block/ListParser.php
index <HASH>..<HASH> 100644
--- a/src/Parser/Block/ListParser.php
+++ b/src/Parser/Block/ListParser.php
@@ -107,7 +107,7 @@ class ListParser extends AbstractBlockParser
$lines = explode("\n", $content->getString());
... | Fix indent of ordered list content. | fluxbb_commonmark | train | php |
19de5556c0a29f386612b31887134a3c68842512 | diff --git a/django_blog_it/django_blog_it/static/js/jquery.smartmenus.js b/django_blog_it/django_blog_it/static/js/jquery.smartmenus.js
index <HASH>..<HASH> 100644
--- a/django_blog_it/django_blog_it/static/js/jquery.smartmenus.js
+++ b/django_blog_it/django_blog_it/static/js/jquery.smartmenus.js
@@ -35,7 +35,7 @@
... | docs: Fix simple typo, unintentianally -> unintentionally (#<I>)
There is a small typo in django_blog_it/django_blog_it/static/js/jquery.smartmenus.js.
Should read `unintentionally` rather than `unintentianally`. | MicroPyramid_django-blog-it | train | js |
ce789e21d312bec5fcf3a55bf62c9a6c5f75c712 | diff --git a/lib/Stats.js b/lib/Stats.js
index <HASH>..<HASH> 100644
--- a/lib/Stats.js
+++ b/lib/Stats.js
@@ -124,8 +124,8 @@ Stats.prototype.toJson = function toJson(options, forToString) {
warnings: compilation.warnings.map(formatError)
};
- //We just hint other renderers since actually omitting errors/warnin... | Appveyor timed out again | webpack_webpack | train | js |
3991acb9b8ea66941c0baa5b59f888c571cbed60 | diff --git a/src/main/com/sailthru/client/NullSerializingMapSerializer.java b/src/main/com/sailthru/client/NullSerializingMapSerializer.java
index <HASH>..<HASH> 100644
--- a/src/main/com/sailthru/client/NullSerializingMapSerializer.java
+++ b/src/main/com/sailthru/client/NullSerializingMapSerializer.java
@@ -15,7 +15,... | change to use JsonNull.INSTANCE, since JsonNull() is deprecated | sailthru_sailthru-java-client | train | java |
ad1ad7123d8793bc5f12d65e497e887be3438bae | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -30,6 +30,9 @@ module.exports = function (list, callback) {
}
if (!len && !err) return callback(null, result);
};
- fn(cb);
+ var _cb = (function (len, result, i) {
+ return cb;
+ })(len, resul... | pass proper scopes to the callback | madhums_lll | train | js |
f65a3b699b653b2f7e8f8d6568521d1b4657671c | diff --git a/addon/-private/router-ext.js b/addon/-private/router-ext.js
index <HASH>..<HASH> 100644
--- a/addon/-private/router-ext.js
+++ b/addon/-private/router-ext.js
@@ -15,11 +15,13 @@ const {
} = Ember;
Router.reopen({
- assetLoader: Ember.inject.service(),
-
init() {
this._super(...arguments);
... | Lookup asset loader instead of injecting it | ember-engines_ember-engines | train | js |
0564fce8ad87b7038884cb81a3df11d916cba74b | diff --git a/src/test/java/com/suse/saltstack/netapi/client/SaltStackClientTest.java b/src/test/java/com/suse/saltstack/netapi/client/SaltStackClientTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/suse/saltstack/netapi/client/SaltStackClientTest.java
+++ b/src/test/java/com/suse/saltstack/netapi/client/Sa... | SaltStackClientTest: tabs to spaces | SUSE_salt-netapi-client | train | java |
5f1b52b26c1dbdc9c26f4effc0392df3f7d838a1 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -76,6 +76,7 @@ module.exports = function (opts) {
}
return p = {
+ ended: false,
//message with no response, or stream
message: function (obj) {
p.read(obj)
@@ -100,7 +101,9 @@ module.exports = func... | expose ended state, ignore any further messages when ended | ssbc_packet-stream | train | js |
f96cb49f5215bc1bc773f79da57a1f10d1d21a3a | diff --git a/app/models/shipit/pull_request.rb b/app/models/shipit/pull_request.rb
index <HASH>..<HASH> 100644
--- a/app/models/shipit/pull_request.rb
+++ b/app/models/shipit/pull_request.rb
@@ -184,6 +184,7 @@ module Shipit
end
def all_status_checks_passed?
+ return false unless head
StatusChec... | Fix `PullRequest.all_status_checks_passed?` when head us known | Shopify_shipit-engine | train | rb,rb |
a9765c54ea17153a69932730e1f5291c1f0055b0 | diff --git a/actionpack/test/controller/url_for_test.rb b/actionpack/test/controller/url_for_test.rb
index <HASH>..<HASH> 100644
--- a/actionpack/test/controller/url_for_test.rb
+++ b/actionpack/test/controller/url_for_test.rb
@@ -287,12 +287,12 @@ module AbstractController
# We need to create a new class in... | helper methods are public, so we can just call them
also if you want a path from a named helper, you should call
helper_path, not helper_url(:only_path => true). | rails_rails | train | rb |
735e6447bd1502602da911bafd7dc5a8d4789361 | diff --git a/test/test-plate.js b/test/test-plate.js
index <HASH>..<HASH> 100644
--- a/test/test-plate.js
+++ b/test/test-plate.js
@@ -23,6 +23,11 @@ t.teq (Plate.format ('Your base belongs to {{-us|me|i;\n' +
'Your base belongs to \n- John Connor ; \n- Paul Irish ; \n' +
'- Ash William ; ');
+t.teq (Plate.... | Identified failed test case for Plate.js | espadrine_sc | train | js |
5c4ef6011dfdd29001a360605e091a2687286273 | diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js
index <HASH>..<HASH> 100644
--- a/lib/OpenLayers/Map.js
+++ b/lib/OpenLayers/Map.js
@@ -492,6 +492,9 @@ OpenLayers.Map.prototype = {
addLayer: function (layer) {
for(var i=0; i < this.layers.length; i++) {
if (this.layers[i] == layer)... | patch from #<I> - warn users if they try to add a layer that has already been added
git-svn-id: <URL> | openlayers_openlayers | train | js |
01209075d4214b4e7104cd5c0ca5fb09b7724cbe | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -34,7 +34,7 @@ setup(name='pyOpenSSL', version=__version__,
maintainer_email = 'exarkun@twistedmatrix.com',
url = 'https://github.com/pyca/pyopenssl',
license = 'APL2',
- install_requires=["cryptograp... | Tentatively bump the required version of cryptography necessary for the new OpenSSL API. | pyca_pyopenssl | train | py |
ee7044615b12787a37c33baa24abbbbe5eefcaf0 | diff --git a/extensions/mentions/src/UserMentionsParser.php b/extensions/mentions/src/UserMentionsParser.php
index <HASH>..<HASH> 100644
--- a/extensions/mentions/src/UserMentionsParser.php
+++ b/extensions/mentions/src/UserMentionsParser.php
@@ -2,5 +2,5 @@
class UserMentionsParser extends MentionsParserAbstract
{... | Make sure we don't parse post mentions as user mentions | flarum_core | train | php |
530913a490c9c54d66971a2b22b550e1cf117d5b | diff --git a/spec/walmart_open/item_spec.rb b/spec/walmart_open/item_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/walmart_open/item_spec.rb
+++ b/spec/walmart_open/item_spec.rb
@@ -2,9 +2,6 @@ require "spec_helper"
require "walmart_open/item"
describe WalmartOpen::Item do
- let(:large_image_url) { "http://i.walm... | Delete extra let in item_spec.rb | listia_walmart_open | train | rb |
2b8bbced17bbb20e9daebcb6bbd340ec88244c99 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ except ImportError:
setup(
name='apns2',
- version='0.1.1',
+ version='0.1.2',
packages=['apns2'],
install_requires=dependencies,
url='https://github.com/Pr0Ger/PyAPNs2', | version bump -> <I> | Pr0Ger_PyAPNs2 | train | py |
9ac91c69bd4f8239eb56808d66b86d9a96fd608f | diff --git a/src/Adapter/Symfony/DependencyInjection/Compiler/CollectEventSubscribersPass.php b/src/Adapter/Symfony/DependencyInjection/Compiler/CollectEventSubscribersPass.php
index <HASH>..<HASH> 100644
--- a/src/Adapter/Symfony/DependencyInjection/Compiler/CollectEventSubscribersPass.php
+++ b/src/Adapter/Symfony/De... | [SymfonyEventDispatcher] Fix coding standard in CollectEventSubscribersPass | DeprecatedPackages_SymfonyEventDispatcher | train | php |
c6c8d8840a3ed30d66460a7f1e49db4f95186e31 | diff --git a/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java b/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java
index <HASH>..<HASH> 100644
--- a/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java
+++ b/src/jdk.jshell/share/classes/jdk/inte... | <I>: 'Alt-Enter v'/'Alt-Enter i' not working on some terminals
Summary: Registering an additional code sequence for Alt-Enter
Reviewed-by: rfield | google_error-prone-javac | train | java |
83ff61a1ecb3441f95b2c7d859b0be6c0586c16b | diff --git a/test/adb_test.py b/test/adb_test.py
index <HASH>..<HASH> 100644
--- a/test/adb_test.py
+++ b/test/adb_test.py
@@ -34,7 +34,7 @@ def generate_tmp_file():
"""Generates temp file and pushes it to target"""
global tmp_file
if not tmp_file:
- tmp_file = tempfile.NamedTemporaryFile(delete=F... | Activate tmp file deletion on host | vmalyi_adb_android | train | py |
cf8ce7c12b19c8fe6810c1e0b12c3850b9f2791f | diff --git a/src/main/java/org/zwave4j/NativeLibraryLoader.java b/src/main/java/org/zwave4j/NativeLibraryLoader.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/zwave4j/NativeLibraryLoader.java
+++ b/src/main/java/org/zwave4j/NativeLibraryLoader.java
@@ -115,6 +115,6 @@ public class NativeLibraryLoader {
}... | Make the amd<I> architecture check for strict to avoid catching ia<I> | OpenZWave_zwave4j | train | java |
939d112d9ce4c04f6e38516c6759caf21aa7f406 | diff --git a/resources/views/media/manager.blade.php b/resources/views/media/manager.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/media/manager.blade.php
+++ b/resources/views/media/manager.blade.php
@@ -327,7 +327,7 @@
<div class="modal-header">
<button type="butt... | Remove offputting warning icon on Crop Image modal (#<I>) | the-control-group_voyager | train | php |
e8306b349f084cf613fe1a82a8bf89cea78b505f | diff --git a/core/src/main/java/io/undertow/server/handlers/PathHandler.java b/core/src/main/java/io/undertow/server/handlers/PathHandler.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/io/undertow/server/handlers/PathHandler.java
+++ b/core/src/main/java/io/undertow/server/handlers/PathHandler.java
@@ -86,10... | Remove unnecessary string builder in PathHandler | undertow-io_undertow | train | java |
371377ebfc8d82bf48703d954c34d31e6238fe12 | diff --git a/lib/vagrant/machine/remote.rb b/lib/vagrant/machine/remote.rb
index <HASH>..<HASH> 100644
--- a/lib/vagrant/machine/remote.rb
+++ b/lib/vagrant/machine/remote.rb
@@ -98,7 +98,16 @@ module Vagrant
end
def state
- client.machine_state
+ # TODO: this should be using the vagrant g... | Use provider to get current state for now | hashicorp_vagrant | train | rb |
490ebbdcf7f6e1171058fded5db6cb231d18636d | diff --git a/pytorch_transformers/modeling_utils.py b/pytorch_transformers/modeling_utils.py
index <HASH>..<HASH> 100644
--- a/pytorch_transformers/modeling_utils.py
+++ b/pytorch_transformers/modeling_utils.py
@@ -373,7 +373,8 @@ class PreTrainedModel(nn.Module):
if config is None:
config, model_... | Fix PretrainedModel.from_pretrained not passing cache_dir forward | huggingface_pytorch-pretrained-BERT | train | py |
d31262021a2477a68fbdcb8177c8b6d7860dfe49 | diff --git a/mod/forum/subscribe.php b/mod/forum/subscribe.php
index <HASH>..<HASH> 100644
--- a/mod/forum/subscribe.php
+++ b/mod/forum/subscribe.php
@@ -70,7 +70,7 @@
redirect($returnto, get_string("everyoneissubscribed", "forum"), 1);
}
- $info->name = "$user->firstname $user->lastname";
+ $in... | Minor tweaks I forgot to check in from a long time ago | moodle_moodle | train | php,php |
f05070115cfbd0ee59d4f7b43c8b4d2e96b75265 | diff --git a/file.php b/file.php
index <HASH>..<HASH> 100644
--- a/file.php
+++ b/file.php
@@ -49,7 +49,12 @@
header("Content-disposition: inline; filename=$filename");
header("Content-length: ".filesize($pathname));
header("Content-type: $mimetype");
- readfile("$pathname");
+
+ ... | If the uploaded file is HTML, then put it through the filters | moodle_moodle | train | php |
c9cf8fc4b372384719f4da4e9f42e100fc402ef2 | diff --git a/lib/active_remote/persistence.rb b/lib/active_remote/persistence.rb
index <HASH>..<HASH> 100644
--- a/lib/active_remote/persistence.rb
+++ b/lib/active_remote/persistence.rb
@@ -184,9 +184,14 @@ module ActiveRemote
# errors from the response.
#
def create
- execute(:create, attr... | Need to slice out the :guid field when creating records since not all create requests follow the Active Remote pattern. | liveh2o_active_remote | train | rb,rb |
35a31940f645f6138df7eb2d13073e8b8983ecd4 | diff --git a/rb/__init__.py b/rb/__init__.py
index <HASH>..<HASH> 100644
--- a/rb/__init__.py
+++ b/rb/__init__.py
@@ -14,7 +14,7 @@ from rb.router import BaseRouter, ConsistentHashingRouter, PartitionRouter, \
from rb.promise import Promise
-__version__ = '1.0'
+__version__ = '1.1.dev.0'
__all__ = [
# clu... | This is <I>.de<I> | getsentry_rb | train | py |
3ac246d611957f997f32a12351d4745e5d92af92 | diff --git a/packer/rpc/provisioner.go b/packer/rpc/provisioner.go
index <HASH>..<HASH> 100644
--- a/packer/rpc/provisioner.go
+++ b/packer/rpc/provisioner.go
@@ -26,7 +26,7 @@ type ProvisionerPrepareArgs struct {
func (p *provisioner) Prepare(configs ...interface{}) (err error) {
args := &ProvisionerPrepareArgs{c... | packer/rpc: don't reply with arbitrary error | hashicorp_packer | train | go |
d7bcdc2db69bda49059594a82be260ed72b4c21e | diff --git a/lib/HttpClient.js b/lib/HttpClient.js
index <HASH>..<HASH> 100644
--- a/lib/HttpClient.js
+++ b/lib/HttpClient.js
@@ -19,8 +19,7 @@ const https = require('https')
class HttpError extends Error {
constructor (message, request, statusCode, statusMessage) {
super(message)
- /** @member {HttpReques... | Update HttpClient.js
- Make sure the response always includes a `body` (which could be `null`).
- Improve documentation. | ebaauw_homebridge-lib | train | js |
c381a5c1839229f77d876e5a0243180f5b579eaa | diff --git a/uwsgiit/api.py b/uwsgiit/api.py
index <HASH>..<HASH> 100644
--- a/uwsgiit/api.py
+++ b/uwsgiit/api.py
@@ -92,6 +92,9 @@ class UwsgiItClient:
params = None
return self.get("domains", params)
+ def domain(self, id):
+ return self.get(["domains", id])
+
def update_me(sel... | Add helper for getting a domain by id
client.domain(domain_id) | xrmx_uwsgiit-py | train | py,py |
f0710dce4b043333a29043a6cdf46f0fa30d460f | diff --git a/src/Kisma.php b/src/Kisma.php
index <HASH>..<HASH> 100644
--- a/src/Kisma.php
+++ b/src/Kisma.php
@@ -156,11 +156,18 @@ class Kisma
{
if ( !empty( static::$_cache ) )
{
- $_data = static::$_cache->get( CoreSettings::CACHE_KEY );
+ try
+ {
+ ... | Add try/catch around wakeup cache restoration. | lucifurious_kisma | train | php |
32c8d4e75a2e6ef0f742697469472b94035b5979 | diff --git a/src/Illuminate/Routing/Router.php b/src/Illuminate/Routing/Router.php
index <HASH>..<HASH> 100755
--- a/src/Illuminate/Routing/Router.php
+++ b/src/Illuminate/Routing/Router.php
@@ -801,8 +801,11 @@ class Router implements HttpKernelInterface, RouteFiltererInterface {
$action = $this->getControllerActi... | Clean up code and rename method. | laravel_framework | train | php |
07c3875a159aec79abacfe037719e3d2569ed840 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -40,9 +40,6 @@ For older changes, see
"""
-from ez_setup import use_setuptools
-use_setuptools()
-
from setuptools import setup, find_packages
doclines = __doc__.splitlines() | Removed dependency on ez_setup
Confirmed install with python <I> | eventable_vobject | train | py |
187b0cdd2ba7c14b17614e12bf46ed76fc583598 | diff --git a/codekit/cli/github_fork_repos.py b/codekit/cli/github_fork_repos.py
index <HASH>..<HASH> 100755
--- a/codekit/cli/github_fork_repos.py
+++ b/codekit/cli/github_fork_repos.py
@@ -28,6 +28,10 @@ def parse_args():
default='~/.sq_github_token',
help='Use a token (made with github-auth) in a n... | add --token flag to be consistent with other commands | lsst-sqre_sqre-codekit | train | py |
a6603ced72ea8284becfd96d3912e7115be3368f | diff --git a/conway.py b/conway.py
index <HASH>..<HASH> 100755
--- a/conway.py
+++ b/conway.py
@@ -28,13 +28,13 @@ def main():
width = term.width
height = term.height
board = random_board(width - 1, height - 1)
- cells = colored_cells(term)
+ cells = cell_strings(term)
print term.civis, # h... | Improve clarity of the code a bit. | erikrose_conway | train | py |
2d6fbb9af021676eab2ba5a532383e81d77c3aa1 | diff --git a/lib/html/pipeline/camo_filter.rb b/lib/html/pipeline/camo_filter.rb
index <HASH>..<HASH> 100644
--- a/lib/html/pipeline/camo_filter.rb
+++ b/lib/html/pipeline/camo_filter.rb
@@ -86,7 +86,7 @@ module HTML
# Private: helper to hexencode a string. Each byte ends up encoded into
# two characters,... | CamoFilter: use String#unpack to hexencode URLs
ruby's benchmark with <I>_<I> iterations report some performance
improvement (up to <I>x on my machine) over iterating over each byte.
<URL> | jch_html-pipeline | train | rb |
da22c896a9d9142e9c2fa1fde467ea5072f0dff9 | diff --git a/nutch/nutch.py b/nutch/nutch.py
index <HASH>..<HASH> 100644
--- a/nutch/nutch.py
+++ b/nutch/nutch.py
@@ -429,8 +429,8 @@ class SeedClient():
"seedUrls": [seedUrl(uid, url) for uid, url in enumerate(seedList)]
}
- # see https://issues.apache.org/jira/browse/NUTCH-2123
- ... | /seed/create - Accept: text/plain (#NUTCH-<I>) | chrismattmann_nutch-python | train | py |
95ea93ba1b16b57c9e05ee2870c98cd2d397c525 | diff --git a/lib/oneview-sdk/resource/api200/lig_uplink_set.rb b/lib/oneview-sdk/resource/api200/lig_uplink_set.rb
index <HASH>..<HASH> 100644
--- a/lib/oneview-sdk/resource/api200/lig_uplink_set.rb
+++ b/lib/oneview-sdk/resource/api200/lig_uplink_set.rb
@@ -44,7 +44,7 @@ module OneviewSDK
# @param [String] inte... | Fixing enclosure index type validation for FC interconnects | HewlettPackard_oneview-sdk-ruby | train | rb |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.