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 |
|---|---|---|---|---|---|
c3d088c78ae5e8397267da75962890f4cf6c487d | diff --git a/src/Codeception/Module/Laravel4.php b/src/Codeception/Module/Laravel4.php
index <HASH>..<HASH> 100644
--- a/src/Codeception/Module/Laravel4.php
+++ b/src/Codeception/Module/Laravel4.php
@@ -30,9 +30,11 @@ use Illuminate\Support\MessageBag;
*
* ## Config
*
- * * start: `bootstrap/start.php` - relative... | Fixed docblock for Laravel4 Module. | Codeception_base | train | php |
83d0232304a16fc7431b6778f80e42cc073b3600 | diff --git a/railties/lib/rails/generators/testing/assertions.rb b/railties/lib/rails/generators/testing/assertions.rb
index <HASH>..<HASH> 100644
--- a/railties/lib/rails/generators/testing/assertions.rb
+++ b/railties/lib/rails/generators/testing/assertions.rb
@@ -2,6 +2,8 @@ module Rails
module Generators
mo... | Extract method declaration regexp into a constant | rails_rails | train | rb |
9597f2a7fd538a0dbad6ba4ba0a3b650ae03d958 | diff --git a/colorsys.js b/colorsys.js
index <HASH>..<HASH> 100644
--- a/colorsys.js
+++ b/colorsys.js
@@ -276,7 +276,7 @@ colorsys.hsv2Hsl = function (h, s, v) {
}
}
- return { h, s, l }
+ return { h: h, s: s, l: l }
}
colorsys.hsv_to_hsl = colorsys.hsvToHsl = colorsys.hsv2Hsl | hsv2Hsl- fix for ie<I> + uglify js plugin - both dont work with ES6 well (#<I>) | netbeast_colorsys | train | js |
0349010c7cd1b6e4074aac316ea4e028f4aed0b6 | diff --git a/carrot/backends/base.py b/carrot/backends/base.py
index <HASH>..<HASH> 100644
--- a/carrot/backends/base.py
+++ b/carrot/backends/base.py
@@ -67,7 +67,7 @@ class BaseBackend(object):
def ack(self, delivery_tag):
pass
- def reject(self, delivery_tag, requeue):
+ def reject(self, delive... | Backend.reject does not take requeue argument, that's what Backend.requeue is
for. Closes #8. Thanks to gregoirecachet | ask_carrot | train | py |
4bd4f8e9f7dcaf435106e136a19e2cd2ea81acbe | diff --git a/lib/edfize/edf.rb b/lib/edfize/edf.rb
index <HASH>..<HASH> 100644
--- a/lib/edfize/edf.rb
+++ b/lib/edfize/edf.rb
@@ -107,9 +107,7 @@ module Edfize
puts "\nSignal Information"
signals.each_with_index do |signal, index|
puts "\n Position : #{index + 1}"
- S... | Pushed printing of signal header into signal model | nsrr_edfize | train | rb,rb |
70d59d0d6b98dc6db1f32e9d9b30ab1c13719b14 | diff --git a/visidata/freeze.py b/visidata/freeze.py
index <HASH>..<HASH> 100644
--- a/visidata/freeze.py
+++ b/visidata/freeze.py
@@ -14,6 +14,7 @@ Sheet.resetCache = resetCache
def StaticColumn(rows, col):
c = deepcopy(col)
+ c.type = anytype
frozenData = {}
@asyncthread
def _calcRows(sheet)... | [freeze] frozen columns start as anytype | saulpw_visidata | train | py |
d46fefd74a5b1318058740868bde0ddc96635645 | diff --git a/tests/tabular_output/test_preprocessors.py b/tests/tabular_output/test_preprocessors.py
index <HASH>..<HASH> 100644
--- a/tests/tabular_output/test_preprocessors.py
+++ b/tests/tabular_output/test_preprocessors.py
@@ -127,3 +127,20 @@ def test_format_float():
float_format=',')
... | Test that formatting doesn't happen without format strings/types. | dbcli_cli_helpers | train | py |
3a316d795598f429a1f55afa60c6ef4a2ac70fe9 | diff --git a/config/typescript/tsconfig.js b/config/typescript/tsconfig.js
index <HASH>..<HASH> 100644
--- a/config/typescript/tsconfig.js
+++ b/config/typescript/tsconfig.js
@@ -3,6 +3,7 @@ const { paths } = require('../../context');
module.exports = () => ({
compilerOptions: {
+ skipLibCheck: true, // Fixes ... | fix(lint): Suppress global type clash between Jest and Cypress (#<I>) | seek-oss_sku | train | js |
2169575a7c839007a0c680b797b977aafcba4f85 | diff --git a/cli.go b/cli.go
index <HASH>..<HASH> 100644
--- a/cli.go
+++ b/cli.go
@@ -99,11 +99,11 @@ func Colorize(str string, a ...interface{}) string {
"{_C": getParam(Bold) + getBgColor(Cyan),
"{i": getParam(Italic),
"{u": getParam(Underline),
- "{0": getParam(Reset),
"{s": ClearScreen,
}
for ... | Fixed convenience, no more need to place {0 before changing colour | mtfelian_cli | train | go |
257622ac68690ee7f0589f452a6b0f8309df1444 | diff --git a/snapshot-service-impl/src/main/java/org/duracloud/snapshot/service/impl/RestoreJobBuilder.java b/snapshot-service-impl/src/main/java/org/duracloud/snapshot/service/impl/RestoreJobBuilder.java
index <HASH>..<HASH> 100644
--- a/snapshot-service-impl/src/main/java/org/duracloud/snapshot/service/impl/RestoreJo... | Sets duracloud chunk sync endpoint to use GBs rather than GiBs. | duracloud_snapshot | train | java |
65418dd40b6cb5da74987feeb39ed1afac5544c7 | diff --git a/pgmpy/factors/CPD.py b/pgmpy/factors/CPD.py
index <HASH>..<HASH> 100644
--- a/pgmpy/factors/CPD.py
+++ b/pgmpy/factors/CPD.py
@@ -267,10 +267,11 @@ class TabularCPD(Factor):
"""
Modifies the cpd table with marginalized values.
- Paramters
+ Parameters
---------
- ... | fixes docstrings of a few methods in TabularCPD | pgmpy_pgmpy | train | py |
08a342ed2b7f7d09cc787062246a10b5994ac27f | diff --git a/library/src/main/java/de/mrapp/android/preference/activity/PreferenceActivity.java b/library/src/main/java/de/mrapp/android/preference/activity/PreferenceActivity.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/de/mrapp/android/preference/activity/PreferenceActivity.java
+++ b/library/src/main... | Fixed bug #<I>: The activity is now layouted correctly on tablets, even if no custom navigation width is specified. | michael-rapp_AndroidPreferenceActivity | train | java |
1d239b7c916d67f655a3e1f4e85b9e2e816a0e32 | diff --git a/mqtt/client/connection.go b/mqtt/client/connection.go
index <HASH>..<HASH> 100644
--- a/mqtt/client/connection.go
+++ b/mqtt/client/connection.go
@@ -12,7 +12,8 @@ type connection struct {
r *bufio.Reader
// w is the buffered writer.
w *bufio.Writer
- // disconnected is true if the Network Connection... | Update mqtt/client/connection.go | yosssi_gmq | train | go |
a18e03cacd5e74cdd2fc6f72dbb9fc48796a2804 | diff --git a/src-modules/org/opencms/workplace/tools/sites/CmsSitesFaviconUpload.java b/src-modules/org/opencms/workplace/tools/sites/CmsSitesFaviconUpload.java
index <HASH>..<HASH> 100644
--- a/src-modules/org/opencms/workplace/tools/sites/CmsSitesFaviconUpload.java
+++ b/src-modules/org/opencms/workplace/tools/sites/... | Lock the favicon file before perform a resource replacement. | alkacon_opencms-core | train | java |
bc1830d8eb43a87968da6a484d0e35f704adb3f5 | diff --git a/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/FileUtils.java b/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/FileUtils.java
index <HASH>..<HASH> 100644
--- a/dependency-check-utils/src/main/java/org/owasp/dependencycheck/utils/FileUtils.java
+++ b/dependency-ch... | Removed redundant call to length for substring. | jeremylong_DependencyCheck | train | java |
8f94756470fe1f4c2b360bc2f3f38221fb9c4718 | diff --git a/lib/sandbox/execute.js b/lib/sandbox/execute.js
index <HASH>..<HASH> 100644
--- a/lib/sandbox/execute.js
+++ b/lib/sandbox/execute.js
@@ -64,6 +64,7 @@ module.exports = function (bridge, glob) {
// prepare the scope's environment variables
scope.import(new StubTimers(console));
s... | Made Buffer to move out of legacy and be always available | postmanlabs_postman-sandbox | train | js,js |
8b16c8331f3e37318ff657218bbdd38236b22c90 | diff --git a/lib/srv/db/proxyserver.go b/lib/srv/db/proxyserver.go
index <HASH>..<HASH> 100644
--- a/lib/srv/db/proxyserver.go
+++ b/lib/srv/db/proxyserver.go
@@ -324,7 +324,7 @@ func (s *ProxyServer) handleConnection(conn net.Conn) error {
return trace.Wrap(err)
}
switch proxyCtx.Identity.RouteToDatabase.Protoc... | Fix tunnel mode for CockroachDB (#<I>) | gravitational_teleport | train | go |
954dc2a7e2ac0b01fb409c3adbef3d8ba3477531 | diff --git a/spec/mongoid/copyable_spec.rb b/spec/mongoid/copyable_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mongoid/copyable_spec.rb
+++ b/spec/mongoid/copyable_spec.rb
@@ -99,14 +99,14 @@ describe Mongoid::Copyable do
end
end
- pending "when saving the copy" do
+ conte... | Fixing busted up spec around JRuby and validations with respect to what seems to be too aggressive inlining. | mongodb_mongoid | train | rb |
1f86baa6e1dbf0b9c2e961c0919c8028074cdd1c | diff --git a/lib/faml/stats.rb b/lib/faml/stats.rb
index <HASH>..<HASH> 100644
--- a/lib/faml/stats.rb
+++ b/lib/faml/stats.rb
@@ -8,6 +8,7 @@ module Faml
Info = Struct.new(
:empty_attribute_count,
:static_attribute_count,
+ :static_id_or_class_attribute_count,
:dynamic_attribute_count,
... | Exclude id or class only attributes from static attributes | eagletmt_faml | train | rb |
2b68817aed5945ec5ba73887a67e21bb1c6902f2 | diff --git a/client/lib/cart/store/cart-synchronizer.js b/client/lib/cart/store/cart-synchronizer.js
index <HASH>..<HASH> 100644
--- a/client/lib/cart/store/cart-synchronizer.js
+++ b/client/lib/cart/store/cart-synchronizer.js
@@ -70,7 +70,7 @@ function CartSynchronizer( cartKey, wpcom ) {
Emitter( CartSynchronizer.... | Cart Synchronizer: rewrite handleDispatch method to classic function (#<I>)
Arrow function has the wrong `this` and throws exception when trying to call
`this.pause()` or `this.resume()`. Regressed in #<I>. | Automattic_wp-calypso | train | js |
0221e256908f5456f45c55b458a28df4a09cfc90 | diff --git a/src/styles/text/text_settings.js b/src/styles/text/text_settings.js
index <HASH>..<HASH> 100644
--- a/src/styles/text/text_settings.js
+++ b/src/styles/text/text_settings.js
@@ -69,9 +69,6 @@ const TextSettings = {
style.transform = draw.font.transform;
- // original size (not currently... | fix use of JS functions for font `size`
(compiled function debug variable was being sent cross-thread, causing a worker clone error) | tangrams_tangram | train | js |
62b84216805360fd7bd0931194863ddf7018addb | diff --git a/test/integration_test.rb b/test/integration_test.rb
index <HASH>..<HASH> 100644
--- a/test/integration_test.rb
+++ b/test/integration_test.rb
@@ -137,7 +137,7 @@ module SpriteFactory
#----------------------------------------------------------------------------
def test_generate_sprite_from_othe... | Uncomment a failing spec that was fixed by recent master branch sync | jakesgordon_sprite-factory | train | rb |
64649ee5231f897d336be4c3d17ad965900d07fd | diff --git a/views/js/richPassage/xincludeRendererAddStyles.js b/views/js/richPassage/xincludeRendererAddStyles.js
index <HASH>..<HASH> 100644
--- a/views/js/richPassage/xincludeRendererAddStyles.js
+++ b/views/js/richPassage/xincludeRendererAddStyles.js
@@ -40,9 +40,10 @@ define(['lodash', 'jquery', 'uri', 'util/url',... | fix: format CSS on Item authoring | oat-sa_extension-tao-mediamanager | train | js |
92e3660a8e7353a50cd0648820c6ebd08be3f698 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,7 +4,7 @@ import os
import glob
from setuptools import setup
-VERSION = "0.9.6"
+VERSION = "0.9.7"
def find_data_files(source, target, patterns):
@@ -48,7 +48,7 @@ setup(
url='https://github.com/revarbat/pymuv... | Repackage with fb7 includes | revarbat_pymuv | train | py |
713b3743419555e7fde24204ad8549cf372d037a | diff --git a/core/src/main/java/hudson/slaves/SlaveComputer.java b/core/src/main/java/hudson/slaves/SlaveComputer.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/slaves/SlaveComputer.java
+++ b/core/src/main/java/hudson/slaves/SlaveComputer.java
@@ -42,7 +42,7 @@ import java.io.FileOutputStream;
impor... | StreamTaskListener(Writer) uses WriterOutputStream and unnecessarily make the pipeline longer.
This also caused the log blockage for the Selenium plugin
git-svn-id: <URL> | jenkinsci_jenkins | train | java |
01e35043498fd85b0158f7da720f2a081fe4f04b | diff --git a/src/drawer.multicanvas.js b/src/drawer.multicanvas.js
index <HASH>..<HASH> 100644
--- a/src/drawer.multicanvas.js
+++ b/src/drawer.multicanvas.js
@@ -174,11 +174,6 @@ WaveSurfer.util.extend(WaveSurfer.Drawer.MultiCanvas, {
var scale = length / width;
- this.canvases[0].waveCtx.fillStyle... | Removed unused code in multicanvas bar drawer that caused an exception on first draw (#<I>) | katspaugh_wavesurfer.js | train | js |
caf320abef1dfd351b58617d278f61aa234ea811 | diff --git a/src/Extensions/FormFieldExtension.php b/src/Extensions/FormFieldExtension.php
index <HASH>..<HASH> 100644
--- a/src/Extensions/FormFieldExtension.php
+++ b/src/Extensions/FormFieldExtension.php
@@ -139,6 +139,10 @@ class FormFieldExtension extends Extension
*/
public function getCalendarEnabled(... | Disable picker when field is readonly or disabled | praxisnetau_silverware-calendar | train | php |
de6ea2a6a01e9f2ae0eb722297cec8c7b21eacd3 | diff --git a/src/GDAO/Model/CollectionInterface.php b/src/GDAO/Model/CollectionInterface.php
index <HASH>..<HASH> 100644
--- a/src/GDAO/Model/CollectionInterface.php
+++ b/src/GDAO/Model/CollectionInterface.php
@@ -164,7 +164,7 @@ interface CollectionInterface extends \ArrayAccess, \Countable, \IteratorAggrega
* ... | Changed the CollectionInterface's save method to saveAll and preSave and postSave to preSaveAll and postSaveAll. | rotexsoft_gdao | train | php |
7854ac8c9c5e1b4b1f9aec5c2d200ba2728c974b | diff --git a/docker_squash/version.py b/docker_squash/version.py
index <HASH>..<HASH> 100644
--- a/docker_squash/version.py
+++ b/docker_squash/version.py
@@ -1 +1 @@
-version = "1.0.0dev"
+version = "1.0.0rc6" | <I>rc6 release | goldmann_docker-squash | train | py |
44e911ce90721ebb5ad32f790b866396c044473c | diff --git a/src/Installer/Form/AdditionalComponentsForm.php b/src/Installer/Form/AdditionalComponentsForm.php
index <HASH>..<HASH> 100644
--- a/src/Installer/Form/AdditionalComponentsForm.php
+++ b/src/Installer/Form/AdditionalComponentsForm.php
@@ -132,7 +132,6 @@ class AdditionalComponentsForm extends FormBase {
... | Issue #<I>: Custom installer for Droopler | droptica_droopler | train | php |
eab40a5974206421705faed08e538c958806acbf | diff --git a/cli/config/config.go b/cli/config/config.go
index <HASH>..<HASH> 100644
--- a/cli/config/config.go
+++ b/cli/config/config.go
@@ -46,6 +46,11 @@ func SetDir(dir string) {
configDir = dir
}
+// Path returns the path to a file relative to the config dir
+func Path(p ...string) string {
+ return filepath... | cli/config: Add a helper to resolve a file within the config dir | docker_cli | train | go,go |
d1fbe2ceb9bf8fda5dea6a215589ac321b30e409 | diff --git a/ng-annotate-main.js b/ng-annotate-main.js
index <HASH>..<HASH> 100644
--- a/ng-annotate-main.js
+++ b/ng-annotate-main.js
@@ -329,7 +329,9 @@ function matchRegular(node, ctx) {
args.length === 1 && args[0] :
args.length === 2 && args[0].type === "Literal" && is.string(args[0].value) && ar... | bugfix setting a property on false (caused crash in io.js) | olov_ng-annotate | train | js |
72f904a34b0eedd425abd06c0869404a632b1b57 | diff --git a/lib/optimize/RuntimeChunkPlugin.js b/lib/optimize/RuntimeChunkPlugin.js
index <HASH>..<HASH> 100644
--- a/lib/optimize/RuntimeChunkPlugin.js
+++ b/lib/optimize/RuntimeChunkPlugin.js
@@ -8,7 +8,7 @@ module.exports = class RuntimeChunkPlugin {
constructor(options) {}
apply(compiler) {
- compiler.hooks... | run splitChunks and runtimeChunk only on main compiliation | webpack_webpack | train | js,js |
52e7137fc039c3df2ede5cc14d33e5368c1fd9f0 | diff --git a/lxd/patches.go b/lxd/patches.go
index <HASH>..<HASH> 100644
--- a/lxd/patches.go
+++ b/lxd/patches.go
@@ -3787,7 +3787,7 @@ func patchNetworkCearBridgeVolatileHwaddr(name string, d *Daemon) error {
}
for _, networkName := range networks {
- _, net, err := d.cluster.GetNetworkInAnyState(projectName, ... | lxd/patches: d.cluster.GetNetworkInAnyState usage | lxc_lxd | train | go |
e8cbe7ad7f5080db9e239916a3688eddbf90f404 | diff --git a/civicpy/tests/test_civic.py b/civicpy/tests/test_civic.py
index <HASH>..<HASH> 100644
--- a/civicpy/tests/test_civic.py
+++ b/civicpy/tests/test_civic.py
@@ -8,10 +8,11 @@ ELEMENTS = [
def setup_module():
- if civic.cache_file_present():
- civic.load_cache()
- else:
- civic.update_... | hard load tests due to underlying change to data model | griffithlab_civicpy | train | py |
aad9cb1851316edeefcb3386999503af3a484346 | diff --git a/provider/digitalocean.py b/provider/digitalocean.py
index <HASH>..<HASH> 100644
--- a/provider/digitalocean.py
+++ b/provider/digitalocean.py
@@ -54,7 +54,7 @@ def destroy_layer(layer):
conn = _create_digitalocean_connection(layer['creds'])
name = "deis-{formation}-{id}".format(**layer)
# re... | fix(providers): update dop calls
Before dop <I>, the call to get all SSH keys listed on your
account was called all_ssh_keys(). In <I>, they introduced a
couple of breaking changes, including the change to rename
all_ssh_keys() to ssh_keys().
ref: <URL> | deis_controller-sdk-go | train | py |
f1ed5158b03ede0586cbb335e47fc8d669125fc1 | diff --git a/salt/modules/tls.py b/salt/modules/tls.py
index <HASH>..<HASH> 100644
--- a/salt/modules/tls.py
+++ b/salt/modules/tls.py
@@ -26,7 +26,7 @@ HAS_SSL = False
try:
import OpenSSL
HAS_SSL = True
- OpenSSL_version = OpenSSL.__dict__.get('__version__', None)
+ OpenSSL_version = OpenSSL.__dict__.... | If I'm going to use floats for version comparison, it behoves me to provide
something for float() to work with. | saltstack_salt | train | py |
4c9935e343091080005b175e14160b916bf35490 | diff --git a/tests/Weew/HttpClient/blueprint.php b/tests/Weew/HttpClient/blueprint.php
index <HASH>..<HASH> 100644
--- a/tests/Weew/HttpClient/blueprint.php
+++ b/tests/Weew/HttpClient/blueprint.php
@@ -3,13 +3,12 @@
use Weew\Http\Cookie;
use Weew\Http\HttpResponse;
use Weew\Http\HttpStatusCode;
-use Weew\HttpBluepr... | Updating to the latest blueprint version. | weew_http-client | train | php |
8733f4f080b3b9941d062c9052415e590486dcde | diff --git a/galpy/df_src/evolveddiskdf.py b/galpy/df_src/evolveddiskdf.py
index <HASH>..<HASH> 100644
--- a/galpy/df_src/evolveddiskdf.py
+++ b/galpy/df_src/evolveddiskdf.py
@@ -179,10 +179,14 @@ class evolveddiskdf:
orb_array[2,ii])
... | icnrease dR further for now | jobovy_galpy | train | py |
37848062444e3e27b03a4f06df6c31a90b251682 | diff --git a/lib/slimmer.rb b/lib/slimmer.rb
index <HASH>..<HASH> 100644
--- a/lib/slimmer.rb
+++ b/lib/slimmer.rb
@@ -131,6 +131,25 @@ module Slimmer
end
end
+ class SectionInserter
+ def filter(src,dest)
+ meta_name = dest.at_css('meta[name="x-section-name"]')
+ meta_link = dest.at_css('meta[n... | Set up "breadcrumbs" appropriately
If a page has the meta tags x-section-name and x-section-link we can build the appropriate content for the "breadcrumb" trail | alphagov_slimmer | train | rb |
50697c341deef6c0f394874baf294bb2081dc730 | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -41,7 +41,7 @@ function Genius(accessToken) {
if (typeof options === "function") {
callback = options;
}
-
+
var request = {
url: "https://api.genius.com/artists/" + artistId + ... | added options arg to getSong function | bookercodes_node-genius | train | js |
385ccaa1dc61e33ce2b0ed2668d07b8e84c2db14 | diff --git a/lib/sshkit/backends/netssh.rb b/lib/sshkit/backends/netssh.rb
index <HASH>..<HASH> 100644
--- a/lib/sshkit/backends/netssh.rb
+++ b/lib/sshkit/backends/netssh.rb
@@ -1,6 +1,18 @@
require 'net/ssh'
require 'net/scp'
+module Net
+ module SSH
+ class Config
+ class << self
+ def default_fi... | Look for ./.ssh/config in local directory | capistrano_sshkit | train | rb,rb |
c2d4e3ee62ece72639ec3cd59a33332704ff5247 | diff --git a/lib/Phactory.php b/lib/Phactory.php
index <HASH>..<HASH> 100755
--- a/lib/Phactory.php
+++ b/lib/Phactory.php
@@ -34,7 +34,7 @@ class Phactory
return new HasOneRelationship($name, $type, $override);
}
- public function uses($dependancy)
+ public static function uses($dependancy)
{
return new De... | Fix E_STRICT errors in PHactory | rbone_phactory | train | php |
4ac9f445719a2ed8b522d4246938129c265bcfe4 | diff --git a/src/Composer/DependencyResolver/PoolBuilder.php b/src/Composer/DependencyResolver/PoolBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Composer/DependencyResolver/PoolBuilder.php
+++ b/src/Composer/DependencyResolver/PoolBuilder.php
@@ -265,8 +265,7 @@ class PoolBuilder
$constraint = $rootReq... | Clear up PoolBuilder comment after code move | composer_composer | train | php |
0c70df90150db603101801b988cb002787869f65 | diff --git a/doradus-server/src/com/dell/doradus/search/FieldSetCreator.java b/doradus-server/src/com/dell/doradus/search/FieldSetCreator.java
index <HASH>..<HASH> 100644
--- a/doradus-server/src/com/dell/doradus/search/FieldSetCreator.java
+++ b/doradus-server/src/com/dell/doradus/search/FieldSetCreator.java
@@ -129,1... | Spider: fixed NPE when getting fields for non-existing object | QSFT_Doradus | train | java |
25b885a16ecd04ee5bc1ee9545041367b4e98127 | diff --git a/java/integration-tests/src/test/java/io/joynr/integration/AccessControllerEnd2EndTest.java b/java/integration-tests/src/test/java/io/joynr/integration/AccessControllerEnd2EndTest.java
index <HASH>..<HASH> 100644
--- a/java/integration-tests/src/test/java/io/joynr/integration/AccessControllerEnd2EndTest.jav... | [Java] Temporarily disable AccessControllerEnd2EndTest
* AccessControllerEnd2EndTest is failing because joynr providers
in the joynr backend services are not registered reliably.
* Temporarily disable affected tests until the problem is fully
understood and fixed. | bmwcarit_joynr | train | java |
3a753ffb42cc2b701e643b7ce81e4561384ebc5b | diff --git a/dispute.go b/dispute.go
index <HASH>..<HASH> 100644
--- a/dispute.go
+++ b/dispute.go
@@ -77,10 +77,11 @@ type DisputeEvidenceParams struct {
// DisputeListParams is the set of parameters that can be used when listing disputes.
// For more details see https://stripe.com/docs/api#list_disputes.
type Disp... | Add payment_intent filter for listing disputes | stripe_stripe-go | train | go |
237c8f1c762b3a60e29959b08784dcc35b5dd4e9 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -42,7 +42,8 @@ var JSCSFilter = function(inputTree, _options) {
if (this.enabled) {
this.rules = config.load(this.configPath || '.jscsrc') || this.config || {};
- if (!(this.bypass = !Object.keys(this.rules).lengt... | Simplify bypass assignment
No need to be so cryptic here | kellyselden_broccoli-jscs | train | js |
34c43896fa91a3b4d90632d380a0d985ba7f8744 | diff --git a/lib/logger.js b/lib/logger.js
index <HASH>..<HASH> 100644
--- a/lib/logger.js
+++ b/lib/logger.js
@@ -18,9 +18,9 @@ Logger.prototype = {
log: function (msg, type) {
if (this.backend == 'stdout') {
if (!type) {
- type = 'DEBUG: ';
+ type = 'DEBUG';
}
- this.util.log(... | Tweak logging to add space and colon between type and msg | statsd_statsd | train | js |
0e37e19707e42f1d313947eaad7b1f549fdee667 | diff --git a/ext/psych/extconf.rb b/ext/psych/extconf.rb
index <HASH>..<HASH> 100644
--- a/ext/psych/extconf.rb
+++ b/ext/psych/extconf.rb
@@ -41,6 +41,7 @@ if yaml_source
Dir.mkdir(yaml) unless File.directory?(yaml)
unless system(yaml_configure, "-q",
"--enable-#{$enable_shared || !$static ? 'sh... | Propagate the host configuration to libyaml | ruby_psych | train | rb |
fba178ddbf3ef2706cb1ea1565412ec6ed08c82f | diff --git a/build/client.js b/build/client.js
index <HASH>..<HASH> 100644
--- a/build/client.js
+++ b/build/client.js
@@ -2,6 +2,7 @@
// Dependencies
var Fs = require("fs")
, GitHubColors = require("github-colors")
+ , UglifyJS = require("uglify-js")
;
const TEMPLATE = "(function (root) {\n"
@@ -16,7 +17,7... | Syntax and uglify code | IonicaBizau_node-gh-polyglot | train | js |
352a6f17e822dec8e6570e87840e716acd743437 | diff --git a/tests/frontend/org/voltdb/regressionsuites/TestSaveRestoreSysprocSuite.java b/tests/frontend/org/voltdb/regressionsuites/TestSaveRestoreSysprocSuite.java
index <HASH>..<HASH> 100644
--- a/tests/frontend/org/voltdb/regressionsuites/TestSaveRestoreSysprocSuite.java
+++ b/tests/frontend/org/voltdb/regressions... | For ENG-<I>, fix test case and modify to cover another type of restore bug | VoltDB_voltdb | train | java |
b0a8dfa9bb24756c1dd0cc14369d9084fe920ad3 | diff --git a/js/date-picker/js/lumx.date_picker_directive.js b/js/date-picker/js/lumx.date_picker_directive.js
index <HASH>..<HASH> 100644
--- a/js/date-picker/js/lumx.date_picker_directive.js
+++ b/js/date-picker/js/lumx.date_picker_directive.js
@@ -32,12 +32,14 @@ angular.module('lumx.date-picker', [])
thi... | fix date-picker: move isDefined checking to controller | lumapps_lumX | train | js |
1afa648cbc980a0832cb2261f4401dffe9b00fe8 | diff --git a/bioutils/accessions.py b/bioutils/accessions.py
index <HASH>..<HASH> 100644
--- a/bioutils/accessions.py
+++ b/bioutils/accessions.py
@@ -60,10 +60,6 @@ def chr22XY(c):
'chrX'
>>> chr22XY("M")
'chrM'
- >>> chr22XY("å")
- 'chrå'
- >>> chr22XY("β")
- 'chrβ'
"""
c = str(... | removed unicode chr<I>XY() doctests | biocommons_bioutils | train | py |
658f71cf144b365bbcec295756aa2c41c215d4fd | diff --git a/src/ORM/EagerLoader.php b/src/ORM/EagerLoader.php
index <HASH>..<HASH> 100644
--- a/src/ORM/EagerLoader.php
+++ b/src/ORM/EagerLoader.php
@@ -368,8 +368,8 @@ class EagerLoader {
$contain = $meta['associations'];
$alias = $meta['instance']->source()->alias();
- $isSelect = $meta['instance']->str... | Using the API instead of re-implementing | cakephp_cakephp | train | php |
84763b1257c82beb71b1063fd980698fe7f3b2ff | diff --git a/crispy_forms/utils.py b/crispy_forms/utils.py
index <HASH>..<HASH> 100644
--- a/crispy_forms/utils.py
+++ b/crispy_forms/utils.py
@@ -81,7 +81,8 @@ def render_field(field, form, form_style, context, template=None, labelclass=Non
# We save the Layout object's bound fields in the layout object's `bo... | Passing full context to the field rendering
Otherwise we don't have access to helper variables in the field rendering.
We might want to add some helper variable that determines field rendering
behavior. | django-crispy-forms_django-crispy-forms | train | py |
82a77b7af4b605c7deac1eca6ce5b6e4f3a36077 | diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -8,7 +8,7 @@ describe User do
@user.delete
end
it "should have a login" do
- @user.login.should == "testuser"
+ @user.login.should == "jilluser"
... | fixing user spec to use new login | samvera_hyrax | train | rb |
f7fd1f310e2f41291bfc1d6427dff3971da23ab3 | diff --git a/loader.js b/loader.js
index <HASH>..<HASH> 100644
--- a/loader.js
+++ b/loader.js
@@ -48,13 +48,17 @@ module.exports = function(source, inputSourceMap) {
if (sourceMapEnabled && inputSourceMap) {
if (annotateResult.map) {
var annotateMap = JSON.parse(annotateResult.map);
- annotateM... | #<I> fix some build-stopper issues after merge | huston007_ng-annotate-loader | train | js |
21440c837471d39c07d48855810e3cd84cfba50f | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -22,8 +22,8 @@ function getLocale(locale) {
if (!locale && ['LANG', 'LANGUAGE'].some(Object.hasOwnProperty, process.env)) {
return (process.env.LANG ||
process.env.LANGUAGE ||
- ... | fix would-be TypeError
phew. had this clause ever hit, it would have been a TypeError. you cant regex place on an Object. | moimikey_locale2 | train | js |
d7ef0224fcd17edee621abfe8ece8c37b6d5b8ba | diff --git a/plugins/Monolog/Formatter/LineMessageFormatter.php b/plugins/Monolog/Formatter/LineMessageFormatter.php
index <HASH>..<HASH> 100644
--- a/plugins/Monolog/Formatter/LineMessageFormatter.php
+++ b/plugins/Monolog/Formatter/LineMessageFormatter.php
@@ -76,6 +76,9 @@ class LineMessageFormatter implements Forma... | Fix possible notice in lineMessageFormatter when trace has less than <I> records (#<I>) | matomo-org_matomo | train | php |
3060c8b0f9d3186f379f9afea68a9aa4244bcc86 | diff --git a/src/merchant/Collection.php b/src/merchant/Collection.php
index <HASH>..<HASH> 100644
--- a/src/merchant/Collection.php
+++ b/src/merchant/Collection.php
@@ -12,6 +12,7 @@
namespace hipanel\modules\finance\merchant;
use hipanel\modules\finance\models\Merchant;
+use hiqdev\hiart\ErrorResponseException;
... | Collection::fetchMerchants() - added a check for a case, when no available payment methods found | hiqdev_hipanel-module-finance | train | php |
1303a8812f1f35f76053c35494df357b20657756 | diff --git a/bin/user-config.js b/bin/user-config.js
index <HASH>..<HASH> 100644
--- a/bin/user-config.js
+++ b/bin/user-config.js
@@ -10,7 +10,7 @@ function getConfig() {
}
return config;
} catch (err) {
- console.error('No configuration file provided, using defaults.', err);
+ console.warn('No conf... | do not report error in case of no config provided | bdefore_universal-redux | train | js |
b79e31e5a52b73b445ee27c5272a0ad213f26ae8 | diff --git a/lib/handlebars/compiler/javascript-compiler.js b/lib/handlebars/compiler/javascript-compiler.js
index <HASH>..<HASH> 100644
--- a/lib/handlebars/compiler/javascript-compiler.js
+++ b/lib/handlebars/compiler/javascript-compiler.js
@@ -1,4 +1,4 @@
-import { COMPILER_REVISION, REVISION_CHANGES, log } from "..... | Remove disassemble log statement
Fixes #<I> | wycats_handlebars.js | train | js |
a73adccc4d0519a6ba19c4cde0305ff681ad3e09 | diff --git a/cumulusci/core/tasks.py b/cumulusci/core/tasks.py
index <HASH>..<HASH> 100644
--- a/cumulusci/core/tasks.py
+++ b/cumulusci/core/tasks.py
@@ -151,7 +151,7 @@ class BaseTask(object):
tags = {"task class": self.__class__.__name__}
if self.org_config:
tags["org usern... | Make flake8 happy with cci.py | SFDO-Tooling_CumulusCI | train | py |
303de520cef5a46d61a7a8646e9d83aa079af20a | diff --git a/mac.js b/mac.js
index <HASH>..<HASH> 100644
--- a/mac.js
+++ b/mac.js
@@ -95,7 +95,8 @@ module.exports = {
})
}
- series(operations, function () {
+ series(operations, function (err) {
+ if (err) return callback(err)
common.moveApp(opts, tempPath, callback)
... | Restore error reporting for darwin and win<I> targets | electron-userland_electron-packager | train | js,js |
ca2986694c6479cd9902c4805400226f03237289 | diff --git a/command/auth.go b/command/auth.go
index <HASH>..<HASH> 100644
--- a/command/auth.go
+++ b/command/auth.go
@@ -87,6 +87,9 @@ func (c *AuthCommand) Run(args []string) int {
return 1
}
+ c.Ui.Output(fmt.Sprintf(
+ "Successfully authenticated!"))
+
return 0
}
diff --git a/command/meta.go b/command... | command/meta: add token to client if we have it | hashicorp_vault | train | go,go |
b58d98a6f5d824747cee0ee1fd724bff90b35b0c | diff --git a/src/Resize-Handler.js b/src/Resize-Handler.js
index <HASH>..<HASH> 100644
--- a/src/Resize-Handler.js
+++ b/src/Resize-Handler.js
@@ -1,17 +1,17 @@
class ResizeHandler {
constructor() {
this._queue = []
- this.update = this.update.bind(this)
+ this._isTicking = false
this.create()
}
... | added requestAnimationFrame to resize handler | souporserious_react-drop | train | js |
7bfe5565aa545600ef623166e4b3c2dacfc4d68c | diff --git a/lib/mongoid/multi_parameter_attributes.rb b/lib/mongoid/multi_parameter_attributes.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/multi_parameter_attributes.rb
+++ b/lib/mongoid/multi_parameter_attributes.rb
@@ -52,6 +52,7 @@ module Mongoid
if attrs
errors = []
attributes = attrs... | inherited attrs permit status | mongodb_mongoid | train | rb |
17c5befd8202e16df21a4691f66fe30c8bf6227f | diff --git a/polls/models.py b/polls/models.py
index <HASH>..<HASH> 100644
--- a/polls/models.py
+++ b/polls/models.py
@@ -4,6 +4,12 @@ from django.db import models
class Poll(models.Model):
question = models.CharField(max_length=255)
+ def __unicode__(self):
+ return self.question
+
class Choice(mod... | add unicode function to poll and choice models | byteweaver_django-polls | train | py |
b1701b09bdd95b07cd11fea77d54117383bb4397 | diff --git a/createWebpackConfig.js b/createWebpackConfig.js
index <HASH>..<HASH> 100644
--- a/createWebpackConfig.js
+++ b/createWebpackConfig.js
@@ -29,11 +29,24 @@ module.exports = function createWebpackConfig(_options) {
config.output.filename = options.filename;
if (options.minify) {
- config.plugins.pu... | Build the minified version in production mode
This is probably not the way to do this, I may want to just have
multiple versions, dev+production * full+min | substantial_updeep | train | js,js |
a1be6bfb503bbfbf51748ebc86c9c5cbba9a4a69 | diff --git a/thermo/utils/t_dependent_property.py b/thermo/utils/t_dependent_property.py
index <HASH>..<HASH> 100644
--- a/thermo/utils/t_dependent_property.py
+++ b/thermo/utils/t_dependent_property.py
@@ -1706,7 +1706,8 @@ class TDependentProperty(object):
@method.setter
def method(self, method):
i... | a few more details in method setter error | CalebBell_thermo | train | py |
4fe1980e1a13df9543327d2894feac266aa7acec | diff --git a/lib/drizzlepac/tweakreg.py b/lib/drizzlepac/tweakreg.py
index <HASH>..<HASH> 100644
--- a/lib/drizzlepac/tweakreg.py
+++ b/lib/drizzlepac/tweakreg.py
@@ -12,8 +12,8 @@ import util
# of the modules below, so that those modules can use the values
# from these variable definitions, allowing the values to be... | This update corrects memory problems in the C extension function for building the 2D histogram matrix. (File with new version id checked in now.)
git-svn-id: <URL> | spacetelescope_drizzlepac | train | py |
4496e03bcdad28c89e76fdd11d1d36f07f6fff31 | diff --git a/Trustly/Api/signed.php b/Trustly/Api/signed.php
index <HASH>..<HASH> 100644
--- a/Trustly/Api/signed.php
+++ b/Trustly/Api/signed.php
@@ -1201,6 +1201,28 @@ class Trustly_Api_Signed extends Trustly_Api {
}
/**
+ * Call the getWithdrawals API Method.
+ *
+ * Get a list of withdrawals from an execut... | Add the getwithdrawals() signed api call for GetWithdrawals. | trustly_trustly-client-php | train | php |
f1f88e255620569f40d237ccdb4c0e5786f06c0e | diff --git a/activesupport/lib/active_support/lazy_load_hooks.rb b/activesupport/lib/active_support/lazy_load_hooks.rb
index <HASH>..<HASH> 100644
--- a/activesupport/lib/active_support/lazy_load_hooks.rb
+++ b/activesupport/lib/active_support/lazy_load_hooks.rb
@@ -68,7 +68,7 @@ module ActiveSupport
if opti... | A Class is a Module so we remove one conditional | rails_rails | train | rb |
b5d1ce76601c98c0f3228da937e90492e62ecfac | diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php
index <HASH>..<HASH> 100755
--- a/DependencyInjection/Configuration.php
+++ b/DependencyInjection/Configuration.php
@@ -30,13 +30,13 @@ class Configuration implements ConfigurationInterface
$rootNode
->chi... | CampaignChain/campaignchain-custom#7 Refactor Update scripts | CampaignChain_update | train | php |
f1e7405836be9518c48924871fc02a5c99962a3a | diff --git a/lib/codemirror.js b/lib/codemirror.js
index <HASH>..<HASH> 100644
--- a/lib/codemirror.js
+++ b/lib/codemirror.js
@@ -1226,7 +1226,7 @@ var CodeMirror = (function() {
var match = (pos >= 0 && matching[line.text.charAt(pos)]) || matching[line.text.charAt(++pos)];
if (!match) return;
var... | small fix in matchBrackets | codemirror_CodeMirror | train | js |
d966ece6f65eea31c412415606672b6ec50d8038 | diff --git a/executor.go b/executor.go
index <HASH>..<HASH> 100644
--- a/executor.go
+++ b/executor.go
@@ -547,7 +547,7 @@ func resolveField(eCtx *ExecutionContext, parentType *Object, source interface{}
returnType = fieldDef.Type
resolveFn := fieldDef.Resolve
if resolveFn == nil {
- resolveFn = defaultResolveFn... | Expose DefaultResolveFn to make it wrappable outside the library. | graphql-go_graphql | train | go |
df2894e3744da9e64010c62c1f9de76838307918 | diff --git a/test/test_func.py b/test/test_func.py
index <HASH>..<HASH> 100644
--- a/test/test_func.py
+++ b/test/test_func.py
@@ -1,14 +1,10 @@
import os
import unittest
-from django.conf import settings
from logilab.common import testlib
from pylint.testutils import make_tests, LintTestUsingModule, LintTestUsin... | Removing the spurious django settings configuration. It was added to attempt to get astroid to correctly infer and resolve the name "models" but did not in fact help | PyCQA_pylint-django | train | py |
c55dec8b4c504b2411e1b5f375386fe03ac1f143 | diff --git a/src/pybel/canonicalize.py b/src/pybel/canonicalize.py
index <HASH>..<HASH> 100644
--- a/src/pybel/canonicalize.py
+++ b/src/pybel/canonicalize.py
@@ -246,7 +246,7 @@ def to_bel_lines(graph):
# sort by citation, then supporting text
qualified_edges_iter = filter_provenance_edges(graph)
- qual... | Fix tuple unpacking | pybel_pybel | train | py |
ec5b20c6547e30fec6210b26eb3991d676e21b94 | diff --git a/scss/tool.py b/scss/tool.py
index <HASH>..<HASH> 100644
--- a/scss/tool.py
+++ b/scss/tool.py
@@ -17,7 +17,7 @@ def complete(text, state):
else:
state -= 1
-def main():
+def main(argv=None):
try:
import atexit
@@ -67,7 +67,7 @@ The location of the generated C... | added argv param to main command function for passing args optionally | klen_python-scss | train | py |
1fc35b215cdc1587476fbbcebab2308ef95b65ce | diff --git a/write.go b/write.go
index <HASH>..<HASH> 100644
--- a/write.go
+++ b/write.go
@@ -85,9 +85,12 @@ func (n *Narcissus) writeMapField(field reflect.Value, fieldType reflect.StructF
if value.Kind() == reflect.Struct {
err := n.writeSimpleField(k, p, fieldType.Tag)
if err != nil {
- return fmt.Err... | Check errors when writing map structs | raphink_narcissus | train | go |
818d3512ae26f7137b629303b83f8312e3334c97 | diff --git a/system/modules/generalDriver/DcGeneral/Data/ModelInterface.php b/system/modules/generalDriver/DcGeneral/Data/ModelInterface.php
index <HASH>..<HASH> 100644
--- a/system/modules/generalDriver/DcGeneral/Data/ModelInterface.php
+++ b/system/modules/generalDriver/DcGeneral/Data/ModelInterface.php
@@ -14,6 +14,... | phpDoc in ModelInterface. | contao-community-alliance_dc-general | train | php |
7b251b2ea7faca8fe626ace46abe7fea1f8811d3 | diff --git a/lib/mk_time/consts.rb b/lib/mk_time/consts.rb
index <HASH>..<HASH> 100644
--- a/lib/mk_time/consts.rb
+++ b/lib/mk_time/consts.rb
@@ -39,6 +39,7 @@ module MkTime
["20120701", -35],
["20150701", -36],
["20170101", -37],
+ ["201901... | UPD: Changed a treaty of newest data. | komasaru_mk_time | train | rb |
6463baa6d697059b4232b6321f6adf1c6d0a7b77 | diff --git a/Model/FilePayload.php b/Model/FilePayload.php
index <HASH>..<HASH> 100644
--- a/Model/FilePayload.php
+++ b/Model/FilePayload.php
@@ -788,7 +788,7 @@ class FilePayload
'value' => (int) $this->contactClient->getId(),
];
$filter['force'][] = [
- 'column' => 'f.file'... | Correct alias in queue filter. | TheDMSGroup_mautic-contact-client | train | php |
d28535b3dc90812acc46703f1a9b05bfe70e8686 | diff --git a/lib/chef/knife/community_release.rb b/lib/chef/knife/community_release.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/knife/community_release.rb
+++ b/lib/chef/knife/community_release.rb
@@ -40,6 +40,12 @@ module KnifeCommunity
:boolean => true,
:description => "Odd-numbered development cycle.... | Make pushing to git remote optional (push will still happen by default)
You may want to delay pushing release commit/tag to configure remote. | miketheman_knife-community | train | rb |
a3d42800486a5ad74e0b603391ce71c0e16456d1 | diff --git a/register.go b/register.go
index <HASH>..<HASH> 100644
--- a/register.go
+++ b/register.go
@@ -60,4 +60,27 @@ type TestFunction struct {
// This is the most general registration mechanism. Most users will want
// RegisterTestSuite, which is a wrapper around this function that requires
// less boilerplate... | Implemented Register. The registered suites are currently ignored. | jacobsa_ogletest | train | go |
3ed4da0b3f3ab045d2dbbbc2ec9ae7ba05b9343b | diff --git a/classes/controller/cms/assets.php b/classes/controller/cms/assets.php
index <HASH>..<HASH> 100755
--- a/classes/controller/cms/assets.php
+++ b/classes/controller/cms/assets.php
@@ -11,6 +11,30 @@
class Controller_Cms_Assets extends Controller_Cms
{
/**
+ * Show assets by tag
+ *
+ * @todo Use the tag... | Added cms assets controller method to find assets which have had a tag applied to them | boomcms_boom-core | train | php |
83d2d0f7ca27d0bc9ac109f388307221401399c9 | diff --git a/lib/request.js b/lib/request.js
index <HASH>..<HASH> 100644
--- a/lib/request.js
+++ b/lib/request.js
@@ -63,7 +63,7 @@ function request(session, action, options, callback) {
jar: cookiejar, // Preserve Cookies
rejectUnauthorized: false // Ignore invalid (expired, self-signed) certificate... | Adding hoop function to request so response body is captured. | retsr_rets.js | train | js |
5bd793cd25fc6e22f52645e1d0562b0098c17c4f | diff --git a/lib/page-object.rb b/lib/page-object.rb
index <HASH>..<HASH> 100644
--- a/lib/page-object.rb
+++ b/lib/page-object.rb
@@ -3,6 +3,7 @@ require 'page-object/accessors'
require 'page-object/platforms'
require 'page-object/element_locators'
require 'page-object/nested_elements'
+require 'page-object/page_fa... | Ensure gem loads the PageFactory module.
Since the page-object.rb base file wasn't loading the PageFactory
module, attempting to include PageObject::PageFactory would throw
an error. | cheezy_page-object | train | rb |
0357c36fffc7243dd87a0f257903a79215a4f252 | diff --git a/rest_framework_jwt/views.py b/rest_framework_jwt/views.py
index <HASH>..<HASH> 100644
--- a/rest_framework_jwt/views.py
+++ b/rest_framework_jwt/views.py
@@ -1,7 +1,5 @@
from rest_framework.views import APIView
from rest_framework import status
-from rest_framework import parsers
-from rest_framework imp... | Removed parser_classes and renderer_classes from JSONWebTokenAPIView | GetBlimp_django-rest-framework-jwt | train | py |
7fe6e45fdd44b58825aeea31bec752046abfdb74 | diff --git a/pkg/kubelet/kubelet.go b/pkg/kubelet/kubelet.go
index <HASH>..<HASH> 100644
--- a/pkg/kubelet/kubelet.go
+++ b/pkg/kubelet/kubelet.go
@@ -2294,7 +2294,7 @@ func (kl *Kubelet) syncLoopIteration(configCh <-chan kubetypes.PodUpdate, handle
glog.V(2).Infof("SyncLoop (ADD, %q): %q", u.Source, format.Pods(u.... | Fix typo: rejcted -> rejected | kubernetes_kubernetes | train | go |
73f019d1bea85649721faf166ab822fa22169f47 | diff --git a/keyring.go b/keyring.go
index <HASH>..<HASH> 100644
--- a/keyring.go
+++ b/keyring.go
@@ -58,6 +58,17 @@ func NewKeyring(keys [][]byte, primaryKey []byte) (*Keyring, error) {
return keyring, nil
}
+// ValidateKey will check to see if the key is valid and returns an error if not.
+//
+// key should be ... | Expose a method to validate a gossip encryption key before use. | hashicorp_memberlist | train | go |
221a6c054df862afb6c5a16b09eee6b4f144a274 | diff --git a/packages/building-webpack/modern-and-legacy-config.js b/packages/building-webpack/modern-and-legacy-config.js
index <HASH>..<HASH> 100644
--- a/packages/building-webpack/modern-and-legacy-config.js
+++ b/packages/building-webpack/modern-and-legacy-config.js
@@ -126,7 +126,7 @@ function createConfig(options... | fix(building-webpack): always multi-build in dev mode (#<I>) | open-wc_open-wc | train | js |
1f8ec96cfdd9201f4f3c586a09ec60f5348bb14d | diff --git a/tests/adapter/mongo/test_event_handling.py b/tests/adapter/mongo/test_event_handling.py
index <HASH>..<HASH> 100644
--- a/tests/adapter/mongo/test_event_handling.py
+++ b/tests/adapter/mongo/test_event_handling.py
@@ -584,6 +584,32 @@ def test_remove_hpo(hpo_database, institute_obj, case_obj, user_obj):
... | reintroduced a comment event test I wrongly removed | Clinical-Genomics_scout | train | py |
c060ee893f361a62e22da48b9c0ec3eac050f730 | diff --git a/hazelcast/src/main/java/com/hazelcast/nio/tcp/TcpIpConnectionManager.java b/hazelcast/src/main/java/com/hazelcast/nio/tcp/TcpIpConnectionManager.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/nio/tcp/TcpIpConnectionManager.java
+++ b/hazelcast/src/main/java/com/hazelcast/nio/t... | Resolved findbugs issue TcpIpConnectionManager (exposing array is supressed) | hazelcast_hazelcast | train | java |
8154ba71c0071c89f25a42e19becc18579073779 | diff --git a/src/hamster/utils/i18n.py b/src/hamster/utils/i18n.py
index <HASH>..<HASH> 100644
--- a/src/hamster/utils/i18n.py
+++ b/src/hamster/utils/i18n.py
@@ -6,7 +6,7 @@ import locale, gettext
def setup_i18n():
#determine location of po files
try:
- import defs
+ from .. import defs
e... | defs have moved one level up (or rather we have moved one level depeer) - doing relative import | projecthamster_hamster | train | py |
d9ca37c0de9b14ba8a5254983cb96dfaed5d2881 | diff --git a/examples/basic_get_options.py b/examples/basic_get_options.py
index <HASH>..<HASH> 100644
--- a/examples/basic_get_options.py
+++ b/examples/basic_get_options.py
@@ -1 +1,5 @@
from webpype.client import WebPypeClient
+
+if __name__ == '__main__':
+ webpipe = WebPypeClient()
+ webpipe.print_options("... | Added code for basic_get_options.py | ajvb_webpype | train | py |
0246a69729418ec915fd3f571113033ba801cb56 | diff --git a/rt.py b/rt.py
index <HASH>..<HASH> 100644
--- a/rt.py
+++ b/rt.py
@@ -104,6 +104,13 @@ class ActorOwnManualLoop(AbstractActor):
return eventloop.individual_loop_step(self.queue, self)
-#Actor = ActorOwnLoop
+class Wait(ActorOwnManualLoop):
+
+ @initial_behavior
+ def wait_beh(sel... | Add simple actor for synchronization
Sync with main thread by replying to the Wait actor and then making it 'act'. | waltermoreira_tartpy | train | py |
db9adef945b1cbd50549b5d08b09f4ff11b8c0ef | diff --git a/script/jekyllmarkdowngen.py b/script/jekyllmarkdowngen.py
index <HASH>..<HASH> 100644
--- a/script/jekyllmarkdowngen.py
+++ b/script/jekyllmarkdowngen.py
@@ -481,7 +481,7 @@ class JekyllMarkdownGenerator(MarkdownGenerator):
ref = type_curie.split('/')[-1]
type_uri ... | code review fix - change to elif | biolink_biolink-model | train | py |
efd87248d257998736f30a8d9118f5b0452c05c3 | diff --git a/suds/transport/https.py b/suds/transport/https.py
index <HASH>..<HASH> 100644
--- a/suds/transport/https.py
+++ b/suds/transport/https.py
@@ -91,9 +91,9 @@ class WindowsHttpAuthenticated(HttpAuthenticated):
def u2handlers(self):
# try to import ntlm support
try:
- from ntl... | Added NTLM compatibility for Python 3
Changed the ntlm package to the ntlm3 package which is python3 compatible | cackharot_suds-py3 | 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.