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 |
|---|---|---|---|---|---|
5de53f07e1ac386579735c146c5c61565e04ac86 | diff --git a/webroot/js/embedded.js b/webroot/js/embedded.js
index <HASH>..<HASH> 100644
--- a/webroot/js/embedded.js
+++ b/webroot/js/embedded.js
@@ -156,7 +156,7 @@ var embedded = embedded || {};
/*
get typeahead field
*/
- $field = $('input[name=' + ... | select label field by id (task #<I>) | QoboLtd_cakephp-csv-migrations | train | js |
bedb8633b7239cf11ac009ddd7fb9962829ce565 | diff --git a/shell_test.go b/shell_test.go
index <HASH>..<HASH> 100644
--- a/shell_test.go
+++ b/shell_test.go
@@ -28,6 +28,26 @@ func TestAdd(t *testing.T) {
is.Equal(mhash, "QmUfZ9rAdhV5ioBzXKdUTh2ZNsz9bzbkaLVyQ8uc8pj21F")
}
+func TestAddWithCat(t *testing.T) {
+ is := is.New(t)
+ s := NewShell(shellUrl)
+ s.Set... | Add test to make sure a file can be `cat`ted after `add`ing it | ipfs_go-ipfs-api | train | go |
cd599f4b048c13d6f21a6060b253ade28a24006e | diff --git a/lib/commands/submit.js b/lib/commands/submit.js
index <HASH>..<HASH> 100644
--- a/lib/commands/submit.js
+++ b/lib/commands/submit.js
@@ -57,7 +57,8 @@ cmd.handler = function(argv) {
// show beat ratio
if (ok) {
core.getSubmission({id: result.id}, function(e, submission) {
- ... | fixes #<I>: don't panic if failed t get submission. | skygragon_leetcode-cli | train | js |
3883cc6b1c7d8dae828ab912e05a2a470776d5da | diff --git a/classes/PodsInit.php b/classes/PodsInit.php
index <HASH>..<HASH> 100644
--- a/classes/PodsInit.php
+++ b/classes/PodsInit.php
@@ -1286,6 +1286,10 @@ class PodsInit {
$save_transient = ! did_action( 'pods_init' ) && ( doing_action( 'init' ) || did_action( 'init' ) );
+ if ( $save_transient ) {
+ P... | Do an enqueue() when we need to | pods-framework_pods | train | php |
1f8c611adcbcd0a633e26203edbafd45b23bc453 | diff --git a/flatten_json.py b/flatten_json.py
index <HASH>..<HASH> 100644
--- a/flatten_json.py
+++ b/flatten_json.py
@@ -109,8 +109,17 @@ def unflatten(flat_dict, separator='_'):
dic[keys[-1]] = value
- for item in flat_dict:
- _unflatten(unflattened_dict, item.split(separator), flat_dict[item]... | Fix unflatten for dataframe with duplicate columns
Adding fix for unflattening from pandas dataframe records. See here: <URL> | amirziai_flatten | train | py |
1a2d95abbf51e3bfc8fe6cf5dad10c01737adb12 | diff --git a/DataCleaner-core/src/main/java/org/eobjects/datacleaner/windows/DataSetWindow.java b/DataCleaner-core/src/main/java/org/eobjects/datacleaner/windows/DataSetWindow.java
index <HASH>..<HASH> 100644
--- a/DataCleaner-core/src/main/java/org/eobjects/datacleaner/windows/DataSetWindow.java
+++ b/DataCleaner-core... | Prevented dataset window from resizing if already maximized | datacleaner_DataCleaner | train | java |
4817d5ad05bbc87bb9bf1ff85a01d3252d833748 | diff --git a/src/Warp/Core/Configuration.php b/src/Warp/Core/Configuration.php
index <HASH>..<HASH> 100644
--- a/src/Warp/Core/Configuration.php
+++ b/src/Warp/Core/Configuration.php
@@ -11,6 +11,7 @@ namespace Warp\Core;
use Warp\Core\Application;
use Warp\Data\Database;
use Warp\Data\DatabaseConfiguration;
+use Wa... | Corrected reference of IConfiguration in Configuration | jakejosol_warp-framework | train | php |
cd8f5312b80fc671fa2f4a158babe8b429367d51 | diff --git a/core/src/com/haulmont/yarg/reporting/Reporting.java b/core/src/com/haulmont/yarg/reporting/Reporting.java
index <HASH>..<HASH> 100644
--- a/core/src/com/haulmont/yarg/reporting/Reporting.java
+++ b/core/src/com/haulmont/yarg/reporting/Reporting.java
@@ -83,9 +83,7 @@ public class Reporting implements Repor... | revert workaround for mutable map | cuba-platform_yarg | train | java |
dc2548f00b33bc53bec9650430c2a48278c77f3d | diff --git a/marshmallow/validate.py b/marshmallow/validate.py
index <HASH>..<HASH> 100644
--- a/marshmallow/validate.py
+++ b/marshmallow/validate.py
@@ -383,6 +383,8 @@ class ContainsOnly(OneOf):
if not value and choices:
raise ValidationError(self._format_error(value))
+ # We check lis... | Add comment which explains why list.index was used. | marshmallow-code_marshmallow | train | py |
5e66c03590d72ff926b3d998170e160c993ec15f | diff --git a/lib/openapi3_parser/node_factories/schema.rb b/lib/openapi3_parser/node_factories/schema.rb
index <HASH>..<HASH> 100644
--- a/lib/openapi3_parser/node_factories/schema.rb
+++ b/lib/openapi3_parser/node_factories/schema.rb
@@ -63,11 +63,15 @@ module Openapi3Parser
end
def required_factory(co... | Set specific Schema arrays to default to nil
These ones have expectations that being present adds meaning, therefore
it feels more natural for these to be nil when not provided. | kevindew_openapi3_parser | train | rb |
96fb28dcf9f616d226f9bb25fe52a1a4f17368f9 | diff --git a/plugins/provisioners/ansible/provisioner.rb b/plugins/provisioners/ansible/provisioner.rb
index <HASH>..<HASH> 100644
--- a/plugins/provisioners/ansible/provisioner.rb
+++ b/plugins/provisioners/ansible/provisioner.rb
@@ -18,7 +18,15 @@ module VagrantPlugins
options << "--limit=#{as_list_argument(... | Support different verbosity levels with 'ansible.verbose' | hashicorp_vagrant | train | rb |
b88ef97a4f366bf0e6142658193a51aba2b838ef | diff --git a/src/Resque/Redis.php b/src/Resque/Redis.php
index <HASH>..<HASH> 100644
--- a/src/Resque/Redis.php
+++ b/src/Resque/Redis.php
@@ -199,14 +199,14 @@ class Redis
}
// setup predis client options
- $options = [];
+ $options = array();
if (!empty($config['phpiredis'])... | Fix BC break
New array syntax requires PHP <I>+, while we still support <I>. | mjphaynes_php-resque | train | php |
b3a425d5d76315f2037cfeb89a58c947293a5dcb | diff --git a/examples/export_model_as_xsd.py b/examples/export_model_as_xsd.py
index <HASH>..<HASH> 100644
--- a/examples/export_model_as_xsd.py
+++ b/examples/export_model_as_xsd.py
@@ -200,7 +200,7 @@ def build_class(m, o_obj):
'''
Build an xsd complex element out of a O_OBJ, including its O_ATTR.
'''
... | xsd example: classes should have minOccurs set to zero. | xtuml_pyxtuml | train | py |
9b839274a04e4f5a077e87d3bfd836e281c5b55a | diff --git a/lib/Kaba.js b/lib/Kaba.js
index <HASH>..<HASH> 100644
--- a/lib/Kaba.js
+++ b/lib/Kaba.js
@@ -466,7 +466,15 @@ class Kaba
// resolve
resolve: {
// TS is potentially added below
- extensions: [".ts", ".tsx", ".js", ".jsx", ".json"],
+ ... | Fix import order
To avoid some typescript compilation issues | Becklyn_kaba | train | js |
e85851d07babcb33476559d8bb08dcec222912df | diff --git a/static/sw.js b/static/sw.js
index <HASH>..<HASH> 100644
--- a/static/sw.js
+++ b/static/sw.js
@@ -88,6 +88,11 @@ function requestAccepts(request, contentType) {
function ampByExampleHandler(request, values) {
// for samples show offline page if offline and samples are not cached
if (requestAccepts(r... | Don't cache amp-live-list updates
Our service worker uses a one-behind caching model for all html requests
to the ampbyexample.com domain. This means amp-live-list update requests
are always one-behind as well. | ampproject_amp-by-example | train | js |
b9e4b62374dfaaf5e50321f79ee80e4371e325a8 | diff --git a/zipline/assets/assets.py b/zipline/assets/assets.py
index <HASH>..<HASH> 100644
--- a/zipline/assets/assets.py
+++ b/zipline/assets/assets.py
@@ -900,14 +900,11 @@ class AssetFinderCachedEquities(AssetFinder):
fuzzy_symbol, []
).append(asset)
- def _convert_row_to_equity(... | PERF: Fewer conversions in _convert_row_to_equity. | quantopian_zipline | train | py |
9e35dc22c61a72c9bbb5075c412af7f94a39f873 | diff --git a/state.go b/state.go
index <HASH>..<HASH> 100644
--- a/state.go
+++ b/state.go
@@ -201,7 +201,7 @@ func (m *Memberlist) probeNode(node *nodeState) {
defer metrics.MeasureSince([]string{"memberlist", "probeNode"}, time.Now())
// Send a ping to the node
- ping := ping{SeqNo: m.nextSeqNo()}
+ ping := pin... | Provide the target name when sending ping or indirect ping | hashicorp_memberlist | train | go |
7622c3e1c539d94afda331fd3ea80389822b7180 | diff --git a/repository/src/main/java/org/apache/hadoop/metadata/services/DefaultMetadataService.java b/repository/src/main/java/org/apache/hadoop/metadata/services/DefaultMetadataService.java
index <HASH>..<HASH> 100755
--- a/repository/src/main/java/org/apache/hadoop/metadata/services/DefaultMetadataService.java
+++ ... | ISSUE <I> - throw exception if type created with invalid JSON | apache_incubator-atlas | train | java |
681143cfb196bfeade745252fcc67fa04bb87d80 | diff --git a/js/demo/demo.js b/js/demo/demo.js
index <HASH>..<HASH> 100644
--- a/js/demo/demo.js
+++ b/js/demo/demo.js
@@ -250,10 +250,9 @@ $(function () {
top: coordinates.y * pixelRatio,
sourceWidth: coordinates.w * pixelRatio,
sourceHeight: coordinates.h * pixelRatio,
- minW... | Demo: take pixelRatio into account when cropping.
Use contain:true instead of specifying both minWidth and maxWidth.
Remove unnecessary downsamplingRatio option for cropping. | blueimp_JavaScript-Load-Image | train | js |
24d58fa9223255260e0996aae24949d94fb014b5 | diff --git a/src/old-ui/Alertbar.js b/src/old-ui/Alertbar.js
index <HASH>..<HASH> 100644
--- a/src/old-ui/Alertbar.js
+++ b/src/old-ui/Alertbar.js
@@ -2,14 +2,12 @@ var React = require('react/addons');
var classnames = require('classnames');
var ViewContent = require('./ViewContent');
-var alertTypes = ['default', ... | move alertTypes directly to the propType for clarity and consistency | touchstonejs_touchstonejs | train | js |
a86bbae85145a22d0ed7f259fe86fe82b86dd7ff | diff --git a/src/js/html5.js b/src/js/html5.js
index <HASH>..<HASH> 100644
--- a/src/js/html5.js
+++ b/src/js/html5.js
@@ -82,9 +82,6 @@ const html5 = {
triggerEvent.call(player, player.media, 'qualitychange', false, {
quality: input,
});
-
- // Save... | Only save quality setting when it's updated by the user. Fixes bug in html5 player where it would override the settings if the current video does not support the given quality. | sampotts_plyr | train | js,js |
5e5fcc3f54192fe38909005b3b8720d7d4022e6c | diff --git a/src/inscriptis/metadata.py b/src/inscriptis/metadata.py
index <HASH>..<HASH> 100644
--- a/src/inscriptis/metadata.py
+++ b/src/inscriptis/metadata.py
@@ -4,4 +4,4 @@ __author__ = 'Albert Weichselbraun, Fabian Odoni'
__author_email__ = 'albert.weichselbraun@fhgr.ch, fabian.odoni@fhgr.ch'
__copyright__ = '... | fix: bumped version number. (#<I>) | weblyzard_inscriptis | train | py |
4cd4a30183ccdb63c97fc6419a7c1ee530bbb377 | diff --git a/lib/molmod/graphs.py b/lib/molmod/graphs.py
index <HASH>..<HASH> 100644
--- a/lib/molmod/graphs.py
+++ b/lib/molmod/graphs.py
@@ -669,8 +669,12 @@ class Graph(object):
def get_node_fingerprints(self, node_strings, pair_strings, num_iter=None):
import sha
- str2array = lambda x: numpy... | Older versions of numpy.frombuffer don't work well on empty buffers. | molmod_molmod | train | py |
bf9f44d6baa211e14cd7992a4b0ee3ab4a6efdc3 | diff --git a/tdl/__init__.py b/tdl/__init__.py
index <HASH>..<HASH> 100755
--- a/tdl/__init__.py
+++ b/tdl/__init__.py
@@ -116,12 +116,18 @@ def _format_char(char):
_utf32_codec = {'little': 'utf-32le', 'big': 'utf-32le'}[_sys.byteorder]
def _format_str(string):
- if isinstance(string, str):
- array =... | clear up draw_str issues with non-Unicode on Python 2 | libtcod_python-tcod | train | py |
f55fd6e053dde390e2539ecf6cef9922ee3ef7ca | diff --git a/js/app.js b/js/app.js
index <HASH>..<HASH> 100644
--- a/js/app.js
+++ b/js/app.js
@@ -40,10 +40,15 @@
function ($scope, $http) {
$scope.loadingFiles = true;
$http.get(url)
- .then(function (response) {
- $scope.loading... | Set loadingFiles to false if loading files failed. | blueimp_jQuery-File-Upload | train | js |
758763c281e8d4990bc268cd4333e80500efa64d | diff --git a/code/libraries/koowa/libraries/filter/abstract.php b/code/libraries/koowa/libraries/filter/abstract.php
index <HASH>..<HASH> 100644
--- a/code/libraries/koowa/libraries/filter/abstract.php
+++ b/code/libraries/koowa/libraries/filter/abstract.php
@@ -2,9 +2,9 @@
/**
* Nooku Framework - http://nooku.org/f... | re #<I> : Cleanup code and docblocks. | joomlatools_joomlatools-framework | train | php |
9ec872af005156e225f12246f3b62ef808d6dacc | diff --git a/lib/instance/cook/audit_logger.rb b/lib/instance/cook/audit_logger.rb
index <HASH>..<HASH> 100644
--- a/lib/instance/cook/audit_logger.rb
+++ b/lib/instance/cook/audit_logger.rb
@@ -28,10 +28,10 @@ module RightScale
# Audit logger formatter
class AuditLogFormatter < ::Logger::Formatter
- MASKED_... | acu<I> bring back the input name in the masked-input text | rightscale_right_link | train | rb |
dea57bc494f424b587a58876dbd56415a5e561e7 | diff --git a/src/Meteor.js b/src/Meteor.js
index <HASH>..<HASH> 100644
--- a/src/Meteor.js
+++ b/src/Meteor.js
@@ -88,7 +88,7 @@ module.exports = {
...options
});
- NetInfo.isConnected.addEventListener('change', isConnected=>{
+ NetInfo.isConnected.addEventListener('connectionChange', isConnected=>{... | NetInfo change event changed to connectionChange event. (#<I>) | inProgress-team_react-native-meteor | train | js |
1671976193a5f813a009c1fbeb816d0bfb554e43 | diff --git a/iota/__init__.py b/iota/__init__.py
index <HASH>..<HASH> 100644
--- a/iota/__init__.py
+++ b/iota/__init__.py
@@ -38,6 +38,9 @@ from .adapter import *
from .api import *
from .trits import *
+# Expose Seed on the top level package
+from .crypto.types import Seed
+
# :see: http://stackoverflow.com/a/20... | Expose `Seed` class in the top level iota package | iotaledger_iota.lib.py | train | py |
d18752359d1b5ba5cf42ed7db545401c088f1982 | diff --git a/lib/conf/utils/run_synced.js b/lib/conf/utils/run_synced.js
index <HASH>..<HASH> 100644
--- a/lib/conf/utils/run_synced.js
+++ b/lib/conf/utils/run_synced.js
@@ -3,9 +3,15 @@ var util = require('util'),
module.exports = function(cmd, args, opts, cb) {
+ var opts = opts || {};
+
+ // set detached s... | Set detached = true on run_synced (conf helper). | prey_prey-node-client | train | js |
508f8f3e8fa9c1086eb648c6860fae441265f552 | diff --git a/django_extensions/__init__.py b/django_extensions/__init__.py
index <HASH>..<HASH> 100644
--- a/django_extensions/__init__.py
+++ b/django_extensions/__init__.py
@@ -1,5 +1,5 @@
-VERSION = (0, 5,)
+VERSION = (0, 6,)
# Dynamically calculate the version based on VERSION tuple
if len(VERSION)>2 and VERS... | preparing for release, bumped version number to <I> | django-extensions_django-extensions | train | py,py |
507335ea694edc152200d81ffceb67058ed3d1ad | diff --git a/bin/check-requires.py b/bin/check-requires.py
index <HASH>..<HASH> 100644
--- a/bin/check-requires.py
+++ b/bin/check-requires.py
@@ -181,10 +181,13 @@ def check_requires(closure_lib, *filenames):
(filename, uses_linenos[missing_require],
missing_r... | Make check-requires.py exit 1 on missing/unused requires | openlayers_openlayers | train | py |
d0a1489073084d1c674b5ba2a449afd921915525 | diff --git a/packages/ui/webpack/webpack.js b/packages/ui/webpack/webpack.js
index <HASH>..<HASH> 100644
--- a/packages/ui/webpack/webpack.js
+++ b/packages/ui/webpack/webpack.js
@@ -90,16 +90,11 @@ class WebpackServer {
* Run webpack locally, assuming production environment.
*/
async initWebpackProd () {
- ... | style: Simplify production webpack build script. | cubic-js_cubic | train | js |
f63daca660147dd837d04a6705f10772a5017797 | diff --git a/src/pip_shims/shims.py b/src/pip_shims/shims.py
index <HASH>..<HASH> 100644
--- a/src/pip_shims/shims.py
+++ b/src/pip_shims/shims.py
@@ -143,6 +143,7 @@ class _shims(object):
for method_name, fn in methods:
new_functions[method_name] = classmethod(BaseFunc(fn, method_name))
+ ... | Make sure to encode classnames for class generators | sarugaku_pip-shims | train | py,py |
7cc14aa9ed6dcf3f8ae114c02a73f8bb0b4e1150 | diff --git a/Resources/public/js/al-inline-list.js b/Resources/public/js/al-inline-list.js
index <HASH>..<HASH> 100755
--- a/Resources/public/js/al-inline-list.js
+++ b/Resources/public/js/al-inline-list.js
@@ -26,6 +26,8 @@
$('body').data('al-active-inline-list', $this);
+ ... | added a callback called when the list is started end another one when the list is stopped | redkite-labs_RedKiteCmsBundle | train | js |
dc59c365903830c3355e1a963ece9390f36ae1f6 | diff --git a/mockserver_test.go b/mockserver_test.go
index <HASH>..<HASH> 100644
--- a/mockserver_test.go
+++ b/mockserver_test.go
@@ -115,7 +115,6 @@ func (s *server) serve() {
return
}
s.wg.Add(1)
- s.conns[conn] = struct{}{}
go s.handle(conn)
}
}
@@ -154,6 +153,9 @@ func (s *server) running() bool {... | Fixed data race in mock server
Fixed a data race in mock server on conns map. | multiplay_go-ts3 | train | go |
41dd33c51fc4e74c670508ed68f8b51b19cc5838 | diff --git a/beetle/builder.py b/beetle/builder.py
index <HASH>..<HASH> 100644
--- a/beetle/builder.py
+++ b/beetle/builder.py
@@ -122,7 +122,7 @@ def make_page(path, page_defaults):
_, extension = os.path.splitext(path)
page['extension'] = extension.strip('.')
with open(path) as f:
- raw = f.read... | Fixed splitting to not cut contents in half. | cknv_beetle | train | py |
7aa7eb3b27ddf4d27f62fb7e201f1cbf9b4a04e7 | diff --git a/detectem/ws.py b/detectem/ws.py
index <HASH>..<HASH> 100644
--- a/detectem/ws.py
+++ b/detectem/ws.py
@@ -16,4 +16,4 @@ def do_detection():
return get_detection_results(url, format='json')
-run(host='localhost', port=5723)
+run(host='0.0.0.0', port=5723) | Update webservice to listen at any interface | alertot_detectem | train | py |
3caad16ac5d7f6c7b788baf7bc5302025beaa08a | diff --git a/pandasqt/CustomDelegates.py b/pandasqt/CustomDelegates.py
index <HASH>..<HASH> 100644
--- a/pandasqt/CustomDelegates.py
+++ b/pandasqt/CustomDelegates.py
@@ -47,7 +47,7 @@ def setDelegatesFromDtype(tableView):
delegate = CustomDoubleSpinboxDelegate(floatInfo.min, floatInfo.max, decimals=mo... | fixed bug which overwrites default datetime delegate | draperjames_qtpandas | train | py |
7baf6a648dc86c3037f9547a8edc7c9a13b2ebf4 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -2,15 +2,28 @@
from __future__ import unicode_literals
from setuptools import setup
+import io
+import os
+
+pkg_dir = os.path.dirname(__file__)
# importing __<vars>__ into the namespace
#https://packaging.python.org/g... | feat: improve long description for a more complete pypi | opentargets_validator | train | py |
63bffbdb352597d7ad3bf57471232b5c69a160b0 | diff --git a/src/schema-list.js b/src/schema-list.js
index <HASH>..<HASH> 100644
--- a/src/schema-list.js
+++ b/src/schema-list.js
@@ -28,7 +28,8 @@ exports.bulletList = bulletList
// A list item node spec.
const listItem = {
parseDOM: [{tag: "li"}],
- toDOM() { return ["li", 0] }
+ toDOM() { return ["li", 0] },... | Add defining flag to appropriate nodes | ProseMirror_prosemirror-schema-list | train | js |
4a3af8c47d5567e64e8010efa54f705f6f5d20d1 | diff --git a/addon/initializers/component-styles.js b/addon/initializers/component-styles.js
index <HASH>..<HASH> 100644
--- a/addon/initializers/component-styles.js
+++ b/addon/initializers/component-styles.js
@@ -5,6 +5,7 @@ import getOwner from 'ember-getowner-polyfill';
const {
Component,
ComponentLookup,
+ ... | moving the class name that gets used for a given component into it's own computed property so that it can get overwritten | ebryn_ember-component-css | train | js |
60a03929cde4127ac6ea292ddb7c1019b9fd577c | diff --git a/js/inputmask.js b/js/inputmask.js
index <HASH>..<HASH> 100644
--- a/js/inputmask.js
+++ b/js/inputmask.js
@@ -1639,7 +1639,7 @@
if (unmaskedValue !== null) {
var bufferValue = (isRTL ? getBuffer().slice().reverse() : getBuffer()).join("");
if ($.isFunction(opts.onUnMask)) {
- ... | Bugfix for unresolved variable $input
$input variable is undefined in `unmaskedvalue` function. | RobinHerbots_Inputmask | train | js |
b5fe44b7425d75dfe9b60add5b39862872dc949b | diff --git a/res/sources/main.js b/res/sources/main.js
index <HASH>..<HASH> 100644
--- a/res/sources/main.js
+++ b/res/sources/main.js
@@ -244,9 +244,8 @@ gpf.require.define({
"#flavor@click": function () {
dialogs.prompt("Enter modifiers", "require")
.then(function (modifiers) {
... | Linter fix (#<I>) | ArnaudBuchholz_gpf-js | train | js |
b29b0833e9e68b7d20d46bb51cd061e663955b83 | diff --git a/redis/conn_test.go b/redis/conn_test.go
index <HASH>..<HASH> 100644
--- a/redis/conn_test.go
+++ b/redis/conn_test.go
@@ -38,10 +38,14 @@ type testConn struct {
writeDeadline time.Time
}
-func (*testConn) Close() error { return nil }
-func (*testConn) LocalAddr() net.Addr ... | fix: Formatting issues on tip (#<I>)
Fix some formatting issue when testing on tip. | gomodule_redigo | train | go |
faa31e57dc02b25a9e19fcb4d8a8091062e5307e | diff --git a/lib/base/property.js b/lib/base/property.js
index <HASH>..<HASH> 100644
--- a/lib/base/property.js
+++ b/lib/base/property.js
@@ -205,35 +205,3 @@ exports.properties = {
this._properties.properties.call(this, val)
}
}
-
-/**
- * @function getProperty
- * Returns property descriptor (maybe call get... | replaced get property value (saves a lot of speed) | vigour-io_vjs | train | js |
a776222b33b9c885e3f1dd19da14a629908f47a0 | diff --git a/cmd/admin-tier-add.go b/cmd/admin-tier-add.go
index <HASH>..<HASH> 100644
--- a/cmd/admin-tier-add.go
+++ b/cmd/admin-tier-add.go
@@ -20,6 +20,7 @@ package cmd
import (
"fmt"
"io/ioutil"
+ "strings"
"github.com/fatih/color"
"github.com/minio/cli"
@@ -341,7 +342,7 @@ func mainAdminTierAdd(ctx *cl... | Uppercase tier name in `admin tier add` cmd (#<I>) | minio_mc | train | go |
ad2bcc0d3fa1e2bd82efa472a4870a0211a5bd23 | diff --git a/robotics/src/main/java/org/androidrobotics/analysis/InjectionPointFactory.java b/robotics/src/main/java/org/androidrobotics/analysis/InjectionPointFactory.java
index <HASH>..<HASH> 100644
--- a/robotics/src/main/java/org/androidrobotics/analysis/InjectionPointFactory.java
+++ b/robotics/src/main/java/org/a... | renamed injection node builder variable | johncarl81_transfuse | train | java |
1ce7c70a503558578d58119e181cea58de696e6f | diff --git a/lib/multirepo/files/lock-entry.rb b/lib/multirepo/files/lock-entry.rb
index <HASH>..<HASH> 100644
--- a/lib/multirepo/files/lock-entry.rb
+++ b/lib/multirepo/files/lock-entry.rb
@@ -6,6 +6,10 @@ module MultiRepo
attr_accessor :folder_name
attr_accessor :head_hash
+ def to_s
+ "#{@fo... | Refactored lock file updating. | fortinmike_git-multirepo | train | rb,rb |
2d7b6eee0a90edccde517dab14c9f6c717695fc1 | diff --git a/src/YouTubeDownloader.php b/src/YouTubeDownloader.php
index <HASH>..<HASH> 100644
--- a/src/YouTubeDownloader.php
+++ b/src/YouTubeDownloader.php
@@ -49,6 +49,7 @@ class YouTubeDownloader
$video_id = Utils::extractVideoId($video_id);
$response = $this->client->get("https://www.youtube.c... | fixed fetching of get_video_info endpoint | Athlon1600_youtube-downloader | train | php |
b4224fe5756eea354807a59a83824f13541d8b3b | diff --git a/includes/entities/class-fs-plugin.php b/includes/entities/class-fs-plugin.php
index <HASH>..<HASH> 100755
--- a/includes/entities/class-fs-plugin.php
+++ b/includes/entities/class-fs-plugin.php
@@ -24,6 +24,10 @@
* @var string
*/
public $slug;
+ /**
+ * @var string 'plugin' or 'theme'
+ */
... | [module] Added code type property. | Freemius_wordpress-sdk | train | php |
9362325f11f2bbab695976669ea99818e6f8f6eb | diff --git a/src/tracing/tracks/canvas_based_track.js b/src/tracing/tracks/canvas_based_track.js
index <HASH>..<HASH> 100644
--- a/src/tracing/tracks/canvas_based_track.js
+++ b/src/tracing/tracks/canvas_based_track.js
@@ -146,11 +146,11 @@ base.exportTo('tracing.tracks', function() {
parseInt(style.paddingT... | In highdpi, we would constantly resize the canvas because of confusion about layout size vs device size. | catapult-project_catapult | train | js |
0f2ff740f208488c16ba048c60516d16aa6ab35a | diff --git a/lib/ninoxe/version.rb b/lib/ninoxe/version.rb
index <HASH>..<HASH> 100644
--- a/lib/ninoxe/version.rb
+++ b/lib/ninoxe/version.rb
@@ -1,3 +1,3 @@
module Ninoxe
- VERSION = "0.0.9"
+ VERSION = "0.1.0"
end | Bump to version <I> | afimb_ninoxe | train | rb |
d41c2503e7585bb36f0af82045c74266113483d0 | diff --git a/test/e2e_node/node_problem_detector.go b/test/e2e_node/node_problem_detector.go
index <HASH>..<HASH> 100644
--- a/test/e2e_node/node_problem_detector.go
+++ b/test/e2e_node/node_problem_detector.go
@@ -392,7 +392,7 @@ func getNodeTime() (time.Time, time.Time, error) {
// Get node boot time. NOTE that bec... | Cast system uptime to time.Duration to fix cross build. | kubernetes_kubernetes | train | go |
8604b586cdefdd586295c91feeb3d97a4984a345 | diff --git a/salt/modules/zypper.py b/salt/modules/zypper.py
index <HASH>..<HASH> 100644
--- a/salt/modules/zypper.py
+++ b/salt/modules/zypper.py
@@ -7,7 +7,7 @@ def __virtual__():
'''
Set the virtual pkg module if the os is openSUSE
'''
- return 'pkg' if __grains__['os'] == 'openSUSE' else False
+ ... | Use zypper for all Suse products instead of only for openSUSE | saltstack_salt | train | py |
63172c096d2e7035ff7e44a12f8dac28b70a4ac6 | diff --git a/test-support/page-object/properties/click-on-text.js b/test-support/page-object/properties/click-on-text.js
index <HASH>..<HASH> 100644
--- a/test-support/page-object/properties/click-on-text.js
+++ b/test-support/page-object/properties/click-on-text.js
@@ -45,8 +45,10 @@ export function clickOnText(select... | jsdoc doesn't support arrow function | san650_ember-cli-page-object | train | js,js |
aa359dcc796ef6535942bc04a9e0fac3d02bcfa7 | diff --git a/test/e2e_test.js b/test/e2e_test.js
index <HASH>..<HASH> 100644
--- a/test/e2e_test.js
+++ b/test/e2e_test.js
@@ -2,7 +2,6 @@ var should = require('chai').should();
var sep = require('path').sep;
var libFolder = __dirname + sep + 'lib' + sep;
-var async = require('async');
describe('end to end test'... | removed ref to async in tests | southbite_proc-stats | train | js |
fd278a2f8d5ccec8255ec496a472dc22188d9133 | diff --git a/metrics-core/src/main/java/org/rhq/metrics/core/SchemaManager.java b/metrics-core/src/main/java/org/rhq/metrics/core/SchemaManager.java
index <HASH>..<HASH> 100644
--- a/metrics-core/src/main/java/org/rhq/metrics/core/SchemaManager.java
+++ b/metrics-core/src/main/java/org/rhq/metrics/core/SchemaManager.ja... | Keyspaces inside C* are lowercase. So use lc for comparing. | hawkular_hawkular-metrics | train | java |
7c9bcb2b90a9080082be3bbf9afeff799c15110d | diff --git a/generators/wice_grid_assets/templates/initializers/wice_grid_config.rb b/generators/wice_grid_assets/templates/initializers/wice_grid_config.rb
index <HASH>..<HASH> 100644
--- a/generators/wice_grid_assets/templates/initializers/wice_grid_config.rb
+++ b/generators/wice_grid_assets/templates/initializers/w... | replaced UTF-8 characters with HTML entities | leikind_wice_grid | train | rb |
aba23e356bd741713d3844ffe52018ca47b6562c | diff --git a/client/stt.py b/client/stt.py
index <HASH>..<HASH> 100644
--- a/client/stt.py
+++ b/client/stt.py
@@ -457,7 +457,7 @@ class WitAiSTT(AbstractSTTEngine):
headers = {'Authorization': 'Bearer %s' % self.token,
'accept': 'application/json',
'Content-Type': 'audi... | Use latest wit.ai API version in STT engine | benhoff_vexbot | train | py |
12eaf0057e431e77ddba34715d138986e7039030 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -67,6 +67,7 @@ setup(
'Programming Language :: Python :: 3.7',
'Topic :: Utilities',
],
+ python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
test_suite='tests',
setup_requires=pyte... | Pass python_requires argument to setuptools (#<I>)
Helps pip decide what version of the library to install. This is
especially useful when removing support for EOL Python versions.
<URL>
> for the Python version, used to specify the Requires-Python defined in
> PEP <I>. | jpadilla_pyjwt | train | py |
866fdc4c028ac93ab2e8f9f7678093a3276672c9 | diff --git a/generators/generator-constants.js b/generators/generator-constants.js
index <HASH>..<HASH> 100644
--- a/generators/generator-constants.js
+++ b/generators/generator-constants.js
@@ -84,7 +84,7 @@ const DOCKER_GRAFANA = 'grafana/grafana:6.7.3';
const DOCKER_JENKINS = 'jenkins/jenkins:lts';
const DOCKER_SW... | Update quay.io/coreos/prometheus-operator docker image version to <I> | jhipster_generator-jhipster | train | js |
1951ae1cce795b5af11d37cb85201162d28232bc | diff --git a/src/test/java/org/owasp/dependencycheck/analyzer/FileNameAnalyzerTest.java b/src/test/java/org/owasp/dependencycheck/analyzer/FileNameAnalyzerTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/owasp/dependencycheck/analyzer/FileNameAnalyzerTest.java
+++ b/src/test/java/org/owasp/dependencycheck/... | fixed compilation issue due to changes in other classes
Former-commit-id: 1f<I>b<I>a2fab<I>b<I>a<I>c<I>cd | jeremylong_DependencyCheck | train | java |
20780809452e8c0350a1ce80c3bd441e321aa3eb | diff --git a/django_q/models.py b/django_q/models.py
index <HASH>..<HASH> 100644
--- a/django_q/models.py
+++ b/django_q/models.py
@@ -189,10 +189,10 @@ class Schedule(models.Model):
# Backwards compatibility for Django 1.7
-if get_version().split('.')[1] == '8':
- def decode_results(values):
- return va... | determines decode with django version | Koed00_django-q | train | py |
c82b1e3d7982076d47394873b6c2a7b896ab4203 | diff --git a/blueprints/blueprints-test/src/main/java/com/tinkerpop/blueprints/ExceptionConsistencyTest.java b/blueprints/blueprints-test/src/main/java/com/tinkerpop/blueprints/ExceptionConsistencyTest.java
index <HASH>..<HASH> 100644
--- a/blueprints/blueprints-test/src/main/java/com/tinkerpop/blueprints/ExceptionCons... | Add todo for consistency checks for GraphComputer exceptions. | apache_tinkerpop | train | java |
2da9272586aee565e8a6dfef4ae5a49bb5319493 | diff --git a/model/import/OwiImportForm.php b/model/import/OwiImportForm.php
index <HASH>..<HASH> 100644
--- a/model/import/OwiImportForm.php
+++ b/model/import/OwiImportForm.php
@@ -101,7 +101,7 @@ class OwiImportForm
$disableValidationElt->setOptions(array("on" => ""));
$this->form->addElement($disableValidatio... | Removed reference to inexisting element | oat-sa_extension-tao-itemhtml | train | php |
139849983cb93b250424c68eb9fcf4a4d6622123 | diff --git a/testCafe/questions/comment.js b/testCafe/questions/comment.js
index <HASH>..<HASH> 100644
--- a/testCafe/questions/comment.js
+++ b/testCafe/questions/comment.js
@@ -52,7 +52,7 @@ frameworks.forEach(framework => {
await t.hover(getComment);
});
- test(`change cols count`, async t => {
+ ... | Skipped `change cols count` since textarea is <I>% in the default theme now | surveyjs_survey-library | train | js |
953e071897eac87ffbe61a5636daba06f1773636 | diff --git a/spec/helper_spec.rb b/spec/helper_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/helper_spec.rb
+++ b/spec/helper_spec.rb
@@ -70,6 +70,8 @@ describe Bugsnag::Helpers do
end
context "an object will infinitely recurse if `to_s` is called" do
+ is_jruby = defined?(RUBY_ENGINE) && RUBY_ENGINE ... | Skip tests that aren't possible to run on JRuby | bugsnag_bugsnag-ruby | train | rb |
631d74bc5009f2590bae348fa3934f6f720e3ecf | diff --git a/src/Pdox.php b/src/Pdox.php
index <HASH>..<HASH> 100644
--- a/src/Pdox.php
+++ b/src/Pdox.php
@@ -741,6 +741,7 @@ class Pdox
else {
$this->cache = null;
$this->result = $cache;
+ $this->numRows = count($this->result);
}
$this->queryCount++; | Fixed numRows count for get Cache records. | izniburak_pdox | train | php |
8f3452558a3678f2adb3d214771c8733d1c720d9 | diff --git a/modules/@apostrophecms/permission/index.js b/modules/@apostrophecms/permission/index.js
index <HASH>..<HASH> 100644
--- a/modules/@apostrophecms/permission/index.js
+++ b/modules/@apostrophecms/permission/index.js
@@ -247,10 +247,15 @@ module.exports = {
}
permissions.push({
na... | archive and modify are separate permissions in the permissions list displayed when setting a role; | apostrophecms_apostrophe | train | js |
90b5c64376e9504892d6d49557a37f937e22eadc | diff --git a/cerberus/__init__.py b/cerberus/__init__.py
index <HASH>..<HASH> 100644
--- a/cerberus/__init__.py
+++ b/cerberus/__init__.py
@@ -8,7 +8,7 @@
"""
-__version__ = "0.2.0"
+__version__ = "0.3.0"
from .cerberus import Validator, ValidationError, SchemaError | Bumped version to <I> | pyeve_cerberus | train | py |
63a65449717e436c92b579ca10ccfe337f29833e | diff --git a/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/backup/impl/FileNameProducer.java b/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/backup/impl/FileNameProducer.java
index <HASH>..<HASH> 100644
--- a/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/... | JCR-<I>: [TESTING] Failures during functional testing eXo jcr.ext | exoplatform_jcr | train | java |
6e8640917e796a90fd529ea0f2a3b8b9b10f401f | diff --git a/addon/utils/leaflet-opacity.js b/addon/utils/leaflet-opacity.js
index <HASH>..<HASH> 100644
--- a/addon/utils/leaflet-opacity.js
+++ b/addon/utils/leaflet-opacity.js
@@ -26,7 +26,13 @@ let setLeafletLayerOpacity = function({ leafletLayer, opacity,
} else if (typeof leafletLayer.setStyle === 'function') ... | Fix considering opasity from style functions | Flexberry_ember-flexberry-gis | train | js |
1347ddf7ce5811b1c4b54c51eb2f39d521a62c49 | diff --git a/payu/calendar.py b/payu/calendar.py
index <HASH>..<HASH> 100644
--- a/payu/calendar.py
+++ b/payu/calendar.py
@@ -9,8 +9,8 @@ def int_to_date(date):
Convert an int of form yyyymmdd to a python date object.
"""
- year = date / 10**4
- month = date % 10**4 / 10**2
+ year = date // 10**4
... | Enforced integer divide in int_to_date for python3 compatibility | payu-org_payu | train | py |
25691a90245f179d24456c03b8972244d0ea499f | diff --git a/src/installers.php b/src/installers.php
index <HASH>..<HASH> 100644
--- a/src/installers.php
+++ b/src/installers.php
@@ -8,6 +8,7 @@ use Mediact\Composer\FileInstaller;
use Mediact\FileMapping\UnixFileMappingReader;
use Mediact\TestingSuite\Composer\Factory\ProcessFactory;
use Mediact\TestingSuite\Comp... | Add config installer to the installers | mediact_testing-suite | train | php |
7e858cc23a3861cee83e429c6fdef7ff64f63ae6 | diff --git a/lib/discordrb/data.rb b/lib/discordrb/data.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/data.rb
+++ b/lib/discordrb/data.rb
@@ -1122,7 +1122,7 @@ module Discordrb
# @param tts [true, false] Whether or not this message should be sent using Discord text-to-speech.
# @return [Message] the mess... | Remove server_id from Channel#send_message | meew0_discordrb | train | rb |
f58c07ff7ee685f4ea5b204f3988936c6a410760 | diff --git a/pynYNAB/ClientFactory.py b/pynYNAB/ClientFactory.py
index <HASH>..<HASH> 100644
--- a/pynYNAB/ClientFactory.py
+++ b/pynYNAB/ClientFactory.py
@@ -95,4 +95,8 @@ def clientfromargs(args, sync=True):
def clientfromkwargs(**kwargs):
- return nYnabClientFactory().create_client(**kwargs)
+ return nYna... | Fix clientfromkwargs, too. | rienafairefr_pynYNAB | train | py |
638127abb236f835010199852d6ae3c072a6a8b6 | diff --git a/django_mako_plus/static_files.py b/django_mako_plus/static_files.py
index <HASH>..<HASH> 100644
--- a/django_mako_plus/static_files.py
+++ b/django_mako_plus/static_files.py
@@ -246,7 +246,7 @@ class TemplateInfo(object):
except OSError:
self.jsm = None
-
+
def get_temp... | left a debugging line (True or!) in | doconix_django-mako-plus | train | py |
0cb7aa8aeb0bf7bcd26ee09af0c01fce37b619b1 | diff --git a/test/form_builder/general_test.rb b/test/form_builder/general_test.rb
index <HASH>..<HASH> 100644
--- a/test/form_builder/general_test.rb
+++ b/test/form_builder/general_test.rb
@@ -274,6 +274,7 @@ class FormBuilderTest < ActionView::TestCase
test 'builder does not generate url fields for columns that c... | Assert we get the correct input type | plataformatec_simple_form | train | rb |
c10b6793caaac5f5e6a37b51d643c9026d81176d | diff --git a/tensorflow_datasets/core/dataset_utils.py b/tensorflow_datasets/core/dataset_utils.py
index <HASH>..<HASH> 100644
--- a/tensorflow_datasets/core/dataset_utils.py
+++ b/tensorflow_datasets/core/dataset_utils.py
@@ -70,7 +70,7 @@ def _eager_dataset_element_to_numpy(
return t
if isinstance(t, tf.data.... | Avoid extra copy with `tfds.as_numpy()`
`t.numpy()` create an unnecessary copy.
PiperOrigin-RevId: <I> | tensorflow_datasets | train | py |
47e13546ee95e165a1ca517fabc576ef0e99c956 | diff --git a/salt/runners/virt.py b/salt/runners/virt.py
index <HASH>..<HASH> 100644
--- a/salt/runners/virt.py
+++ b/salt/runners/virt.py
@@ -25,7 +25,7 @@ def _determine_hyper(data, omit=''):
# to be much more complicated.
hyper = ''
bestmem = 0
- for hv_, comps in list(data.items()):
+ for hv_, ... | List call not needed. Changing it back to what it was | saltstack_salt | train | py |
819479cc2259b229d1ea33a5c56c84cd3a87d8e0 | diff --git a/pyipmi/picmg.py b/pyipmi/picmg.py
index <HASH>..<HASH> 100644
--- a/pyipmi/picmg.py
+++ b/pyipmi/picmg.py
@@ -450,19 +450,19 @@ class LedState:
req.led_id = self.led_id
req.color = self.override_color
- if self.led_function == self.FUNCTION_ON:
+ if self.local_function == ... | picmg: Fix reference to self.local_function in LedState.to_request
The variable is local_function not led_function in the LedState object. It
is however led_function in the request object. | kontron_python-ipmi | train | py |
f3262ac6a82ea4a7a2abfa27b62867111d8f8fb4 | diff --git a/trunk/JLanguageTool/website/include/help.php b/trunk/JLanguageTool/website/include/help.php
index <HASH>..<HASH> 100644
--- a/trunk/JLanguageTool/website/include/help.php
+++ b/trunk/JLanguageTool/website/include/help.php
@@ -84,4 +84,15 @@ function post_request($url, $data, $optional_headers=null) {
ret... | helper for demo (utf-8 aware string replacement) | languagetool-org_languagetool | train | php |
ac5e8fe6ba5c45866761bf446afc3c0d2ec421fd | diff --git a/js/coinmarketcap.js b/js/coinmarketcap.js
index <HASH>..<HASH> 100644
--- a/js/coinmarketcap.js
+++ b/js/coinmarketcap.js
@@ -110,6 +110,7 @@ module.exports = class coinmarketcap extends Exchange {
'Global Tour Coin': 'Global Tour Coin', // conflict with GTC (Game.com)
'GuccioneCo... | coinmarketcap HOT: Holo vs Hydro Protocol fix #<I> | ccxt_ccxt | train | js |
b5330b6cc343b29d8db61e9c2ab2b1e950260fc6 | diff --git a/snapshotdata/src/main/java/org/duracloud/snapshot/id/SnapshotIdentifier.java b/snapshotdata/src/main/java/org/duracloud/snapshot/id/SnapshotIdentifier.java
index <HASH>..<HASH> 100644
--- a/snapshotdata/src/main/java/org/duracloud/snapshot/id/SnapshotIdentifier.java
+++ b/snapshotdata/src/main/java/org/dur... | Exposes the independent parts of a snapshot ID | duracloud_duracloud | train | java |
076c2d10d6329aea86a70a8b4739d1eaafe488f2 | diff --git a/src/Sokil/Mongo/Collection.php b/src/Sokil/Mongo/Collection.php
index <HASH>..<HASH> 100644
--- a/src/Sokil/Mongo/Collection.php
+++ b/src/Sokil/Mongo/Collection.php
@@ -41,7 +41,13 @@ class Collection
return $this;
}
- public function getDocumentClassName()
+ /**
+ * Override... | pass document array to mathod which returns document's class name | sokil_php-mongo | train | php,php |
4aa62564872d9c7a1c494eba507fbbc6f99469d1 | diff --git a/src/main/java/org/scribe/extractors/JsonTokenExtractor.java b/src/main/java/org/scribe/extractors/JsonTokenExtractor.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/scribe/extractors/JsonTokenExtractor.java
+++ b/src/main/java/org/scribe/extractors/JsonTokenExtractor.java
@@ -10,7 +10,6 @@ public ... | Removed the @Override annotation as it resulted in a compilation error. | scribejava_scribejava | train | java |
b2726753b11e34cfd70d354976ef5fde94afe7f3 | diff --git a/src/FileReference.js b/src/FileReference.js
index <HASH>..<HASH> 100644
--- a/src/FileReference.js
+++ b/src/FileReference.js
@@ -20,6 +20,7 @@ class FileReference extends Node {
* Exports the file to other location
*
* @param {string} dir - The directory path of the exported file.
+ ... | support renaming during exporting files | oscarotero_node-sketch | train | js |
825ace3ea6fd2a14cc97c1ed907873f0b756d2fc | diff --git a/celery_progress/backend.py b/celery_progress/backend.py
index <HASH>..<HASH> 100644
--- a/celery_progress/backend.py
+++ b/celery_progress/backend.py
@@ -73,7 +73,7 @@ def _get_completed_progress():
}
def _get_unknown_progress():
- {
+ return {
'current': 0,
'total': 100,
... | Added missing return statement. Closing #<I>. | czue_celery-progress | train | py |
699aa199abb0b131ee72da1d9c44985d4caeb65d | diff --git a/tasks/port-pick.js b/tasks/port-pick.js
index <HASH>..<HASH> 100644
--- a/tasks/port-pick.js
+++ b/tasks/port-pick.js
@@ -19,7 +19,7 @@ module.exports = function(grunt) {
first = false,
last = false,
used = [],
- usePorts = [],
+ usePorts = false,
pp = this
// Don... | bug fix related to multiple portPick targets | devaos_grunt-port-pick | train | js |
9bcb0c0b6b65852e337c6dd1715f838fddddda15 | diff --git a/gson/src/main/java/com/google/gson/internal/Types.java b/gson/src/main/java/com/google/gson/internal/Types.java
index <HASH>..<HASH> 100644
--- a/gson/src/main/java/com/google/gson/internal/Types.java
+++ b/gson/src/main/java/com/google/gson/internal/Types.java
@@ -16,6 +16,8 @@
package com.google.gson.... | Use the internal copy of preconditions | google_gson | train | java |
adf4723b09d3e6bb1665dfc4079ee9c2a441d6ee | diff --git a/lib/ohai/plugins/linux/virtualization.rb b/lib/ohai/plugins/linux/virtualization.rb
index <HASH>..<HASH> 100644
--- a/lib/ohai/plugins/linux/virtualization.rb
+++ b/lib/ohai/plugins/linux/virtualization.rb
@@ -53,18 +53,19 @@ if File.exists?("/usr/sbin/dmidecode")
popen4("dmidecode") do |pid, stdin, std... | Moving the found_virt_manufacturer to the scope above the case, rather than making it an instance variable | chef_ohai | train | rb |
88a9ae848c4b310b1c53b5700893d890999dd930 | diff --git a/src/SAML2/Utils.php b/src/SAML2/Utils.php
index <HASH>..<HASH> 100644
--- a/src/SAML2/Utils.php
+++ b/src/SAML2/Utils.php
@@ -119,6 +119,15 @@ class Utils
return $key;
}
+ if (!in_array($algorithm, array(
+ XMLSecurityKey::RSA_SHA1,
+ XMLSecurityKey::RSA... | bugfix: Check for supported signature algorithms when casting a key. | simplesamlphp_saml2 | train | php |
80af140a1ebc22ff7de1b3a372706367a5a8b22b | diff --git a/test/output-file.js b/test/output-file.js
index <HASH>..<HASH> 100644
--- a/test/output-file.js
+++ b/test/output-file.js
@@ -11,14 +11,14 @@ describe('Output', function(){
});
it('should be an existing file', function(){
- expect( false ).to.be.true; // TODO
+ expect( true ).to.be.true; // T... | stub tests as passing for travis etc | cytoscape_cytosnap | train | js,js |
401afd4c936ac0f145039b1901970e3d40c93b9b | diff --git a/metrics/api/v1/model_handlers.go b/metrics/api/v1/model_handlers.go
index <HASH>..<HASH> 100644
--- a/metrics/api/v1/model_handlers.go
+++ b/metrics/api/v1/model_handlers.go
@@ -230,7 +230,7 @@ func addClusterMetricsRoutes(a clusterMetricsFetcher, ws *restful.WebService) {
if a.isRunningInKubernetes() ... | Fix a typo in Comment
od --> of | kubernetes-retired_heapster | train | go |
0da070691e4c8dc03ee4667b6f71bc62ba71f8dd | diff --git a/src/Propel/Common/Config/Loader/IniFileLoader.php b/src/Propel/Common/Config/Loader/IniFileLoader.php
index <HASH>..<HASH> 100644
--- a/src/Propel/Common/Config/Loader/IniFileLoader.php
+++ b/src/Propel/Common/Config/Loader/IniFileLoader.php
@@ -103,14 +103,12 @@ class IniFileLoader extends FileLoader
... | make buildNestedSection non-recursive and faster | propelorm_Propel2 | train | php |
f5f80c9cb66280e56cd34269974186c91329e63c | diff --git a/pyghmi/ipmi/command.py b/pyghmi/ipmi/command.py
index <HASH>..<HASH> 100644
--- a/pyghmi/ipmi/command.py
+++ b/pyghmi/ipmi/command.py
@@ -147,6 +147,7 @@ class Command(object):
def logged(self, response):
self.onlogon(response, self)
+ self.onlogon = None
@classmethod
def... | Discard reference when no longer needed
If an 'onlogon' handler is passed, discard it after being invoked. This allows
the objects to be garbage collected where otherwise they may not be.
Change-Id: I<I>adca<I>db5e<I>e2b<I>bd0c<I>d | openstack_pyghmi | train | py |
6201b8e5fb6af1bfcbe27e2cadc35fa717c512a8 | diff --git a/moult/pip_importer.py b/moult/pip_importer.py
index <HASH>..<HASH> 100644
--- a/moult/pip_importer.py
+++ b/moult/pip_importer.py
@@ -7,21 +7,23 @@ try:
from pip.utils import (dist_is_local, dist_in_usersite,
get_installed_distributions,
runnin... | freeze_excludes deprecated in pip
Fixes #1 | tweekmonster_moult | train | py |
e68cbd61015af33a50950417b7460661710bb0d6 | diff --git a/http.go b/http.go
index <HASH>..<HASH> 100644
--- a/http.go
+++ b/http.go
@@ -71,7 +71,6 @@ func (cat *HtCat) get() {
resp, err := cat.cl.Do(&req)
if err != nil {
- resp.Body.Close()
cat.defrag.cancel(err)
} | Fix crash bug: .Close on nil pointer
Closing an HTTP response body is not necessary when an error is
received. | htcat_htcat | train | go |
1badb761d58dbacb3671a65b98cfe7b5e88bb610 | diff --git a/sllurp/llrp.py b/sllurp/llrp.py
index <HASH>..<HASH> 100644
--- a/sllurp/llrp.py
+++ b/sllurp/llrp.py
@@ -865,8 +865,8 @@ class LLRPClient(LineReceiver):
if accessStopParam is None:
accessStopParam = {}
- accessStopParam['AccessSpecStopTriggerType'] = 1
- acces... | access: if no accessStopParam is provided, default to forever | ransford_sllurp | train | py |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.