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 |
|---|---|---|---|---|---|
fbbbeb3b6c5cd966f0af0ca614ac9314aff78aa1 | diff --git a/src/Illuminate/Foundation/Exceptions/Handler.php b/src/Illuminate/Foundation/Exceptions/Handler.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Foundation/Exceptions/Handler.php
+++ b/src/Illuminate/Foundation/Exceptions/Handler.php
@@ -325,7 +325,6 @@ class Handler implements ExceptionHandlerContract... | remove unnecessary commentted line (#<I>) | laravel_framework | train | php |
3414dd6985fd2559d1bad83a82d8683fb4cbc76c | diff --git a/lib/simplecov/configuration.rb b/lib/simplecov/configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/simplecov/configuration.rb
+++ b/lib/simplecov/configuration.rb
@@ -42,6 +42,11 @@ module SimpleCov
coverage_path
end
+ #
+ # Coverage results will always include files matched by this ... | Add track_files method documentation. | colszowka_simplecov | train | rb |
b5fb1240a8771f04d398c1c034728ec35bf18336 | diff --git a/aiger/aig.py b/aiger/aig.py
index <HASH>..<HASH> 100644
--- a/aiger/aig.py
+++ b/aiger/aig.py
@@ -81,9 +81,7 @@ class AIG:
return repr(self._to_aag())
def __getitem__(self, others):
- if not isinstance(others, tuple):
- return super().__getitem__(others)
-
+ assert ... | change getitem to only support substitute | mvcisback_py-aiger | train | py |
9e4b8759f754e542ffecdb61561bea0c25bf07e1 | diff --git a/master/buildbot/db/migrate/versions/001_initial.py b/master/buildbot/db/migrate/versions/001_initial.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/db/migrate/versions/001_initial.py
+++ b/master/buildbot/db/migrate/versions/001_initial.py
@@ -232,9 +232,8 @@ def import_changes(migrate_engine):
... | don't populate change_links in db version 1
This table and its contents are dropped in version <I>, so there's no
sense inserting into it during upgrades. | buildbot_buildbot | train | py |
6fb5ac61461edf84302f34a49bea5b2a035087cf | diff --git a/lib/oca-epak.rb b/lib/oca-epak.rb
index <HASH>..<HASH> 100644
--- a/lib/oca-epak.rb
+++ b/lib/oca-epak.rb
@@ -10,6 +10,21 @@ class Oca
@client = Savon.client(wsdl: WSDL_BASE_URI)
end
+ # Checks if the user has input valid credentials
+ #
+ # @param [String] Username (Email)
+ # @param [String... | Added check_credentials implementation. | ombulabs_oca-epak | train | rb |
666cadd1e47ad65c5408445341ae2f54c629612d | diff --git a/public/js/jquery.reloadable-modal.js b/public/js/jquery.reloadable-modal.js
index <HASH>..<HASH> 100644
--- a/public/js/jquery.reloadable-modal.js
+++ b/public/js/jquery.reloadable-modal.js
@@ -111,7 +111,7 @@
} else {
var href = options.remote
? options.remote
- ... | [Core] Fixes: Get href attribute of relatedTarget does not work. | yawik_core | train | js |
5474a52392c8a43983a0e61cf5f7b0838c6e29f7 | diff --git a/audio/export_test.go b/audio/export_test.go
index <HASH>..<HASH> 100644
--- a/audio/export_test.go
+++ b/audio/export_test.go
@@ -23,31 +23,6 @@ import (
)
type (
- dummyWriterContext struct{}
- dummyWriterPlayer struct{}
-)
-
-func (c *dummyWriterContext) NewPlayer() io.WriteCloser {
- return &dummyW... | audio: Bug fix: The tests failed
Updates #<I> | hajimehoshi_ebiten | train | go |
0068ce7e7a6e00ec92d587bd12c3b3ad973d487f | diff --git a/lib/memfs.rb b/lib/memfs.rb
index <HASH>..<HASH> 100644
--- a/lib/memfs.rb
+++ b/lib/memfs.rb
@@ -78,6 +78,9 @@ module MemFs
const_set :Dir, MemFs::Dir
const_set :File, MemFs::File
end
+
+ MemFs::File.umask(MemFs::OriginalFile.umask)
+ MemFs::FileSystem.instance.clear!
end
... | Setting up the MemFs boilerplate | simonc_memfs | train | rb,rb |
d182838b93a3e4288bd8ad1dab6a3f8ee450bc47 | diff --git a/src/Providers/ChuckConfigServiceProvider.php b/src/Providers/ChuckConfigServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/Providers/ChuckConfigServiceProvider.php
+++ b/src/Providers/ChuckConfigServiceProvider.php
@@ -27,7 +27,12 @@ class ChuckConfigServiceProvider extends ServiceProvider
... | fix for ConfigServiceProvider giving error on new installations | chuckbe_chuckcms | train | php |
bee9718ac16ee940eb2a0c7feb28507c134a78bf | diff --git a/commands/hugo.go b/commands/hugo.go
index <HASH>..<HASH> 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -199,7 +199,7 @@ func InitializeConfig() {
viper.Set("BaseURL", BaseURL)
}
- if viper.GetString("BaseURL") == "" {
+ if !viper.GetBool("RelativeURLs") && viper.GetString("BaseURL") == "" ... | Do not shout about missing baseURL if relativeURLs is set | gohugoio_hugo | train | go |
28b1cc17a6f7ed4e350246179888116077709d17 | diff --git a/cellpy/utils/helpers.py b/cellpy/utils/helpers.py
index <HASH>..<HASH> 100644
--- a/cellpy/utils/helpers.py
+++ b/cellpy/utils/helpers.py
@@ -337,6 +337,7 @@ def concatenate_summaries(b, rate=None,
Arguments:
b (cellpy.batch object): the batch with the cells.
+ rate (float): filter o... | start to improve helpers (concatenate summaries) | jepegit_cellpy | train | py |
35b565e17b50a16e850d76bd1b278d160d1507d7 | diff --git a/Tank/Core.py b/Tank/Core.py
index <HASH>..<HASH> 100644
--- a/Tank/Core.py
+++ b/Tank/Core.py
@@ -36,6 +36,7 @@ class TankCore:
self.log.debug("sys.path: %s", sys.path)
self.artifacts_base_dir = self.get_option(self.SECTION, "artifacts_base_dir", tempfile.gettempdir())
+ self.art... | Add ability to set artifacts dir | yandex_yandex-tank | train | py |
67e745c7837a9b50d1e318458433c460b629adcb | diff --git a/uptick/__main__.py b/uptick/__main__.py
index <HASH>..<HASH> 100644
--- a/uptick/__main__.py
+++ b/uptick/__main__.py
@@ -880,6 +880,48 @@ def disapprovewitness(ctx, witnesses, account):
))
+@main.command(
+ help="Approve committee member(s)"
+)
+@click.pass_context
+@onlineChain
+@click.argume... | [committee] approve/disapprove committe members | bitshares_uptick | train | py |
240b8fe653483683909c00e473b4c41e7bd51814 | diff --git a/asv_bench/benchmarks/arithmetic.py b/asv_bench/benchmarks/arithmetic.py
index <HASH>..<HASH> 100644
--- a/asv_bench/benchmarks/arithmetic.py
+++ b/asv_bench/benchmarks/arithmetic.py
@@ -466,7 +466,7 @@ class ApplyIndex:
self.rng = rng
def time_apply_index(self, offset):
- offset.appl... | solves ci issues with #<I> (#<I>) | pandas-dev_pandas | train | py |
401b03fd8ba7bf16447d9a6083c35a5da4644fbc | diff --git a/tests/functional_tests/expected_values/vk.py b/tests/functional_tests/expected_values/vk.py
index <HASH>..<HASH> 100644
--- a/tests/functional_tests/expected_values/vk.py
+++ b/tests/functional_tests/expected_values/vk.py
@@ -19,7 +19,7 @@ CONFIG = {
'//*[@id="install_allow"]',
'//*[@id="... | Increased wait time to 4 seconds. | authomatic_authomatic | train | py |
5d9cbf44a0f1252c2e656093c1c94425d21f7410 | diff --git a/horizon/version.py b/horizon/version.py
index <HASH>..<HASH> 100644
--- a/horizon/version.py
+++ b/horizon/version.py
@@ -19,13 +19,13 @@ version_info = {'branch_nick': u'LOCALBRANCH',
'revno': 0}
-HORIZON_VERSION = ['2012', '2']
-YEAR, COUNT = HORIZON_VERSION
+HORIZON_VERSION = ['2012... | Support revisions in version numbers
Introduce REVISION in versioning scheme, in order to support future
stable versioning (<I>.x).
Change-Id: I<I>cfbf<I>c<I>bbda8d<I>fdbd<I>b<I>a6b | openstack_horizon | train | py |
9abdd7bbdbb315d041c534e34c2186772e94bf58 | diff --git a/blog/models/blog_model.php b/blog/models/blog_model.php
index <HASH>..<HASH> 100644
--- a/blog/models/blog_model.php
+++ b/blog/models/blog_model.php
@@ -34,7 +34,7 @@ class NAILS_Blog_model extends NAILS_Model
public function get_associations( $post_id = NULL )
{
- $this->config->load( 'blog' );
+ ... | Loading blog config "absoloutely" | nails_module-blog | train | php |
8f4bf4ee3b12cd6705a8b8b4b955f3cf6e969177 | diff --git a/tests/unit/src/Graze/Monolog/Handler/WhoopsHandlerTest.php b/tests/unit/src/Graze/Monolog/Handler/WhoopsHandlerTest.php
index <HASH>..<HASH> 100644
--- a/tests/unit/src/Graze/Monolog/Handler/WhoopsHandlerTest.php
+++ b/tests/unit/src/Graze/Monolog/Handler/WhoopsHandlerTest.php
@@ -8,8 +8,8 @@ class WhoopsH... | Check whether class exists before testing whoops handler | graze_monolog-extensions | train | php |
631d5c454bf2e5799c25457e47f77169cb11d235 | diff --git a/opal/corelib/unsupported.rb b/opal/corelib/unsupported.rb
index <HASH>..<HASH> 100644
--- a/opal/corelib/unsupported.rb
+++ b/opal/corelib/unsupported.rb
@@ -207,3 +207,10 @@ module Kernel
alias private_instance_methods private_methods
end
+
+module Kernel
+ def eval(*)
+ raise NotImplementedErro... | Add Kernel#eval to unsupported
Will fail with proper instructions on how to enable the feature. | opal_opal | train | rb |
336950224f449876186791fa1c98002095a39545 | diff --git a/embedly/client.py b/embedly/client.py
index <HASH>..<HASH> 100644
--- a/embedly/client.py
+++ b/embedly/client.py
@@ -58,7 +58,8 @@ class Embedly(object):
url = 'http://api.embed.ly/1/services/python'
http = httplib2.Http(timeout=self.timeout)
- headers = {'User-Agent' : self.use... | close our HTTP request connections
Good practice and Python <I>/<I> had this to say, `embedly\client.py:<I>: ResourceWarning: unclosed <socket.socket object, ...>` | embedly_embedly-python | train | py |
2932c887af7455679740c17382a02f558a669f49 | diff --git a/src/Exception/HTTPException.php b/src/Exception/HTTPException.php
index <HASH>..<HASH> 100755
--- a/src/Exception/HTTPException.php
+++ b/src/Exception/HTTPException.php
@@ -42,6 +42,7 @@ class HTTPException extends \Exception
// store general error data
$this->errorStore = new ErrorStore... | Adding the correct HTTP code to its ErrorStore object | gte451f_phalcon-json-api-package | train | php |
9523e21e4f44c86c694b092384385408b6d295ca | diff --git a/test/test_roo.rb b/test/test_roo.rb
index <HASH>..<HASH> 100644
--- a/test/test_roo.rb
+++ b/test/test_roo.rb
@@ -1780,5 +1780,15 @@ Sheet 3:
assert_equal :date, oo.celltype(1,1)
end
end
+
+
+ def test_bad_excel_date
+ with_each_spreadsheet(:name=>'bad_exceL_date', :format=>:excel)... | add test case for excel date issue (monkey patch for spreadsheet) | roo-rb_roo | train | rb |
7414e9c35862ef843360c29ac7c1773b64c6ba41 | diff --git a/pydsl/Memory/Storage/File/Antlr.py b/pydsl/Memory/Storage/File/Antlr.py
index <HASH>..<HASH> 100644
--- a/pydsl/Memory/Storage/File/Antlr.py
+++ b/pydsl/Memory/Storage/File/Antlr.py
@@ -33,6 +33,9 @@ protectedwords = {"grammar": "GRAMMAR",
"options": "OPTIONS",
"language": "LANGUAGE",
... | distinguish between PARSERID and LEXERID | nesaro_pydsl | train | py |
2ee552d2b3a49077d1c3fa43a6252b6b6131f203 | diff --git a/src/Illuminate/Support/Collection.php b/src/Illuminate/Support/Collection.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Support/Collection.php
+++ b/src/Illuminate/Support/Collection.php
@@ -546,6 +546,16 @@ class Collection implements ArrayAccess, Arrayable, Countable, IteratorAggregate
}
... | Add isNotEmpty() method to Collection class (#<I>) | laravel_framework | train | php,php |
d832afb7675c2a70a42fecde5ab2be22ffafda35 | diff --git a/src/PeskyCMF/Config/helpers.php b/src/PeskyCMF/Config/helpers.php
index <HASH>..<HASH> 100644
--- a/src/PeskyCMF/Config/helpers.php
+++ b/src/PeskyCMF/Config/helpers.php
@@ -751,7 +751,7 @@ if (!function_exists('pickLocalizationFromJson')) {
*/
function pickLocalizationFromJson($translationsJson... | helpers - fixed crash in pickLocalizationFromJson() | swayok_PeskyCMF | train | php |
6ed65cfc2018799fae70fcb773ea87471df66dbe | diff --git a/src/widgets/SelectWidget.js b/src/widgets/SelectWidget.js
index <HASH>..<HASH> 100644
--- a/src/widgets/SelectWidget.js
+++ b/src/widgets/SelectWidget.js
@@ -332,11 +332,7 @@ OO.ui.SelectWidget.prototype.unbindKeyDownListener = function () {
* @return {OO.ui.OptionWidget|null} Outline item widget, `null`... | Simplify OO.ui.SelectWidget#getTargetItem
$#data can be called on an empty collection, so we can remove the length check.
Change-Id: Ic7fb<I>b<I>dd8f5d<I>f3ac<I>f<I>d<I>d7 | wikimedia_oojs-ui | train | js |
85e1e13bf57b13cc3b2a345d73d45d756d85ad07 | diff --git a/osmdroid-android/src/main/java/org/osmdroid/tileprovider/modules/MapTileDownloader.java b/osmdroid-android/src/main/java/org/osmdroid/tileprovider/modules/MapTileDownloader.java
index <HASH>..<HASH> 100644
--- a/osmdroid-android/src/main/java/org/osmdroid/tileprovider/modules/MapTileDownloader.java
+++ b/o... | Added check for http <I> status in MapTileDownloader. This prevents <I> errors from causing NPEs. Fixes issue <I>. | osmdroid_osmdroid | train | java |
6fd72499ea693790e6cf77c8dedfe12e8754a5e6 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
from setuptools import setup
setup(name='gomatic',
- version='0.3.26',
+ version='0.3.27',
description='API for configuring GoCD',
url='https://github.com/SpringerSBM/gomatic',
a... | new version - reorder template xml to avoid config thrash - i.e. to avoid changing xml in a way that makes no difference but still looks like a change | gocd-contrib_gomatic | train | py |
98d4fc3e82ebfd535b05b7f6e3abb4b03595c2dd | diff --git a/actionpack/lib/action_dispatch/journey/nodes/node.rb b/actionpack/lib/action_dispatch/journey/nodes/node.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_dispatch/journey/nodes/node.rb
+++ b/actionpack/lib/action_dispatch/journey/nodes/node.rb
@@ -32,7 +32,7 @@ module ActionDispatch
end
... | PERF: reduce retained objects in Journey
Before:
Total allocated: <I> bytes (<I> objects)
Total retained: <I> bytes (<I> objects)
After:
Total allocated: <I> bytes (<I> objects)
Total retained: <I> bytes (<I> objects)
---
Modest saving of <I> RVALUEs in the heap on Discourse boot
The larger the route file the ... | rails_rails | train | rb |
99467a9f7fe4116f7cf55b9e3dc98c3ecd3bf866 | diff --git a/mod/assign/gradingtable.php b/mod/assign/gradingtable.php
index <HASH>..<HASH> 100644
--- a/mod/assign/gradingtable.php
+++ b/mod/assign/gradingtable.php
@@ -373,7 +373,7 @@ class assign_grading_table extends table_sql implements renderable {
function col_timemarked(stdClass $row) {
$o = '-';... | MDL-<I>: Prevent locking an assignment submission from putting a grade of 0 in the gradebook | moodle_moodle | train | php,php |
fb6f237cd4613a6b92450f2056cd0098b84eba82 | diff --git a/src/rejester/support/test.py b/src/rejester/support/test.py
index <HASH>..<HASH> 100644
--- a/src/rejester/support/test.py
+++ b/src/rejester/support/test.py
@@ -40,6 +40,7 @@ Copyright 2012-2014 Diffeo, Inc.
import getpass
import hashlib
import os
+import re
import socket
import pytest
@@ -52,12 +5... | Fix the py.test namespace fixture for kvlayer
Cassandra has specific requirements on what kvlayer uses for a namespace;
normalize the test name further so that 'kvlayer_' + _rejester_namespace
always works for Cassandra | diffeo_rejester | train | py |
a080ce3e3622c2c036abba4b8d370702971f3117 | diff --git a/src/client/transport/local.js b/src/client/transport/local.js
index <HASH>..<HASH> 100644
--- a/src/client/transport/local.js
+++ b/src/client/transport/local.js
@@ -210,7 +210,7 @@ export function Local(opts) {
return transportOpts => {
let master;
- if (localMasters.has(transportOpts.gameKey... | fix: #<I> (#<I>) | nicolodavis_boardgame.io | train | js |
8a320bbe3eea2db0f91b99e68aea2d0175ff0bab | diff --git a/Core/Mods/router/class.router.php b/Core/Mods/router/class.router.php
index <HASH>..<HASH> 100644
--- a/Core/Mods/router/class.router.php
+++ b/Core/Mods/router/class.router.php
@@ -98,9 +98,6 @@ class Router extends Bus {
/**
* Load a controller
* @access public
- * @param String controller name
... | When a page is not found, from now on the router sends the function in the parameters so the not_found function can handle dynamic requests | FuzeWorks_Core | train | php |
a4a1229661c39b2059adbbacae9090e5ba664e01 | diff --git a/ecell4/util/simulation.py b/ecell4/util/simulation.py
index <HASH>..<HASH> 100644
--- a/ecell4/util/simulation.py
+++ b/ecell4/util/simulation.py
@@ -260,7 +260,10 @@ def run_simulation(
if not isinstance(t, collections.Iterable):
t = [float(t) * i / 100 for i in range(101)]
- obs = ecel... | :recycle: Prepare for the pybind<I> version of ecell4-base | ecell_ecell4 | train | py |
29629eeadb084049188338ed07a2270be6b6f51e | diff --git a/lxd/network/driver_common.go b/lxd/network/driver_common.go
index <HASH>..<HASH> 100644
--- a/lxd/network/driver_common.go
+++ b/lxd/network/driver_common.go
@@ -491,6 +491,12 @@ func (n *common) bgpSetup(oldConfig map[string]string) error {
return fmt.Errorf("Failed setting up BGP prefixes: %w", err)
... | lxd/network/driver/common: Include exporting forward addresses in bgpSetup
For consistency between ovn and bridge drivers. | lxc_lxd | train | go |
c524d35a1b703f0623f4033e4c886e86656813e4 | diff --git a/data/handleDB.php b/data/handleDB.php
index <HASH>..<HASH> 100644
--- a/data/handleDB.php
+++ b/data/handleDB.php
@@ -1984,5 +1984,5 @@ class DbHandleApplication extends Application
}
}
-$application = new DbHandleApplication('Database handler for CompatInfo', '1.26.0');
+$application = new DbHandl... | Bump new version <I> | llaville_php-compatinfo-db | train | php |
3c31c142abf6d7897cc32c599dde3fc3e650455a | diff --git a/lib/hydrater-tika/helpers/hydrate.js b/lib/hydrater-tika/helpers/hydrate.js
index <HASH>..<HASH> 100644
--- a/lib/hydrater-tika/helpers/hydrate.js
+++ b/lib/hydrater-tika/helpers/hydrate.js
@@ -28,12 +28,21 @@ module.exports = function(task, done) {
async.waterfall([
function(cb) {
var path ... | Listen to end and finish events on request stream | AnyFetch_anyfetch-hydrater.js | train | js |
8eda54c9bf87944763886e3959b92d05917a73e2 | diff --git a/lib/active_scaffold/helpers/list_column_helpers.rb b/lib/active_scaffold/helpers/list_column_helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/active_scaffold/helpers/list_column_helpers.rb
+++ b/lib/active_scaffold/helpers/list_column_helpers.rb
@@ -283,7 +283,7 @@ module ActiveScaffold
end
... | don't output title="" in column headings | activescaffold_active_scaffold | train | rb |
5e62ec7503e649c99fd42e02b0023fd44e31857d | diff --git a/sentry_sdk/utils.py b/sentry_sdk/utils.py
index <HASH>..<HASH> 100644
--- a/sentry_sdk/utils.py
+++ b/sentry_sdk/utils.py
@@ -169,20 +169,15 @@ def get_lines_from_file(filename, lineno, loader=None, module=None):
upper_bound = min(lineno + 1 + context_lines, len(source))
try:
- pre_conte... | chore: adapt output s.t. jan has less work | getsentry_sentry-python | train | py |
c9f0d9d6dea414dcfb66fb5b2a2b19b086140ca1 | diff --git a/lib/flor/unit/caller.rb b/lib/flor/unit/caller.rb
index <HASH>..<HASH> 100644
--- a/lib/flor/unit/caller.rb
+++ b/lib/flor/unit/caller.rb
@@ -353,20 +353,21 @@ module Flor
status = ProcessStatus.new(process, ex)
- fail SpawnNonZeroExitError.new(status, i.read, f.read) \
+ fail SpawnNon... | Rework caller SpawnError system (JRuby) | floraison_flor | train | rb |
8c4958dd60e2fe826476673ecc2829a171c22cc0 | diff --git a/etcdmain/etcd.go b/etcdmain/etcd.go
index <HASH>..<HASH> 100644
--- a/etcdmain/etcd.go
+++ b/etcdmain/etcd.go
@@ -178,10 +178,9 @@ func Main() {
if systemdutil.IsRunningSystemd() {
// At this point, the initialization of etcd is done.
// The listeners are listening on the TCP ports and ready
- // ... | etcdmain: notify systemd when etcd is ready to accept requests
Fixes #<I> | etcd-io_etcd | train | go |
d29d2fa074ce0ea58329829ada54ab7ac8b3ede9 | diff --git a/salt/config/__init__.py b/salt/config/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/config/__init__.py
+++ b/salt/config/__init__.py
@@ -2218,7 +2218,6 @@ def include_config(include, orig_path, verbose, exit_on_config_errors=False):
main config file.
'''
# Protect against empty option
-... | Fix incorrect invocation of salt.config.include_config
This was causing exit_on_config_errors to not be passed through, and
adding an `exit_on_config_errors` key to the master config. | saltstack_salt | train | py |
07c32f9f63edbe7e7ee232e24fec3822b40df8ba | diff --git a/src/playbacks/hls/hls.js b/src/playbacks/hls/hls.js
index <HASH>..<HASH> 100644
--- a/src/playbacks/hls/hls.js
+++ b/src/playbacks/hls/hls.js
@@ -97,7 +97,7 @@ class HLS extends Playback {
var currentLevel = this.getLevels()[level]
this.highDefinition = (currentLevel.height >= 720 || (currentLeve... | hls: expose level on bitrate event | clappr_clappr | train | js |
ad746f6924cef98474f476d3df55a59efb4a6c15 | diff --git a/metagenomefilter/automateCLARK.py b/metagenomefilter/automateCLARK.py
index <HASH>..<HASH> 100755
--- a/metagenomefilter/automateCLARK.py
+++ b/metagenomefilter/automateCLARK.py
@@ -400,8 +400,12 @@ class CLARK(object):
except AttributeError:
self.runmetadata = MetadataObject()
... | Updated CLARK script to work in a non-pipeline setting | lowandrew_OLCTools | train | py |
374f5641411fcd949c22f3b91ba5b8633fd590ad | diff --git a/error.go b/error.go
index <HASH>..<HASH> 100644
--- a/error.go
+++ b/error.go
@@ -45,8 +45,8 @@ type Error struct {
// Err contains an internal error with an additional level of granularity
// that can be used in some cases to get more detailed information about
- // what went wrong. For example, Err... | Update Error.Err field explanation.
Since there is no such thing as ChargeError, the comment on Error.Err is misleading. | stripe_stripe-go | train | go |
dd461ffeb614638a30d11e100530da410ed43f89 | diff --git a/lib/acl9/model_extensions.rb b/lib/acl9/model_extensions.rb
index <HASH>..<HASH> 100644
--- a/lib/acl9/model_extensions.rb
+++ b/lib/acl9/model_extensions.rb
@@ -49,7 +49,19 @@ module Acl9
include Acl9::ModelExtensions::ForSubject
end
-
+
+ # Deprecated and now removed from rai... | Added join_table_name from rails <I> to fix a deprecated / removed version from <I>.
This will make the gem backward compatible again by just using acts_as_authorization_subject | be9_acl9 | train | rb |
af4b49ec3635422175e57f91d7a26bdf16fe4309 | diff --git a/lib/mappable.rb b/lib/mappable.rb
index <HASH>..<HASH> 100644
--- a/lib/mappable.rb
+++ b/lib/mappable.rb
@@ -350,7 +350,6 @@ module Geokit
require 'forwardable'
class GeoLocs < SimpleDelegator
- include Enumerable
extend Forwardable
def_delegators :@a, :each, :push, :[], :si... | Enumerable is useless and has a conflict on :zip method | geokit_geokit | train | rb |
2e8880f9ab024a2cecaf6209145344c78283c874 | diff --git a/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/tagging/eo/EsperantoTagger.java b/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/tagging/eo/EsperantoTagger.java
index <HASH>..<HASH> 100644
--- a/trunk/JLanguageTool/src/java/de/danielnaber/languagetool/tagging/eo/EsperantoTagger.java
+++ ... | [eo] Esperanto word "pli-malpli" was incorrectly tagged as a infinitive verb
causing false positives. | languagetool-org_languagetool | train | java |
27346b64989c1cbed6cbba15c75bec456dd463e6 | diff --git a/thinc/neural/_classes/difference.py b/thinc/neural/_classes/difference.py
index <HASH>..<HASH> 100644
--- a/thinc/neural/_classes/difference.py
+++ b/thinc/neural/_classes/difference.py
@@ -46,11 +46,13 @@ def CauchySimilarity(ops, length):
diff = vec1-vec2
square_diff = diff ** 2
... | Apply a ReLu transform in the CauchyDifference, so we don't get negative sim | explosion_thinc | train | py |
a49ffcefdb54fa0f3adabd8d77178089c2ea7eda | diff --git a/gdapi.py b/gdapi.py
index <HASH>..<HASH> 100755
--- a/gdapi.py
+++ b/gdapi.py
@@ -292,7 +292,13 @@ class Client:
url = url + id
else:
url = "/".join([url, id])
- return self._get(url)
+ try:
+ return self._get(url)
+ except ApiError, e:
+ if e.error.code == "RESOURCE_N... | by_id should return None when not found | godaddy_gdapi-python | train | py |
fce670c4d2be3715d32345aec7d9dce0c6f47dbe | diff --git a/src/Config.php b/src/Config.php
index <HASH>..<HASH> 100644
--- a/src/Config.php
+++ b/src/Config.php
@@ -108,7 +108,7 @@ class Config extends ArrayConfig
*/
private function getRealPath($filePath)
{
- $filePath = realpath($filePath);
+ $filePath = stream_resolve_include_path(... | use stream_resolve_include_path
to retrieve files with include_path settings | Raphhh_puppy-config | train | php |
1a58b136ee482f7fb2daba00281b480c6ceec7b6 | diff --git a/svtplay_dl.py b/svtplay_dl.py
index <HASH>..<HASH> 100755
--- a/svtplay_dl.py
+++ b/svtplay_dl.py
@@ -1296,6 +1296,13 @@ class generic(object):
if i.handle(url):
return url, i
+ match = re.search("src=\"(http://player.vimeo.com/video/[0-9]+)\" ", data)
+ ... | generic: support for embeded vimeo files. | spaam_svtplay-dl | train | py |
c5c96f8a6311c8a787f0abd1d50363527bedb89e | diff --git a/salt/ssh/__init__.py b/salt/ssh/__init__.py
index <HASH>..<HASH> 100644
--- a/salt/ssh/__init__.py
+++ b/salt/ssh/__init__.py
@@ -14,10 +14,11 @@ class SSH(object):
'''
def __init__(self, opts):
self.opts = opts
+ tgt_type = self.opts['selected_target_option'] if self.opts['select... | selected target is None when defaulting to glob | saltstack_salt | train | py |
b962e4c95cdce0fb168ba1d41840c74020ef3ec4 | diff --git a/lib/travis/model/user.rb b/lib/travis/model/user.rb
index <HASH>..<HASH> 100644
--- a/lib/travis/model/user.rb
+++ b/lib/travis/model/user.rb
@@ -43,6 +43,10 @@ class User < Travis::Model
def with_github_token
where("github_oauth_token IS NOT NULL and github_oauth_token != ''")
end
+
+ ... | user: add method to find a user given an email address | travis-ci_travis-core | train | rb |
9f6c0baaffdaca2c01abc6828a09fbff051f40ff | diff --git a/src/main/java/org/glite/voms/contact/cli/VomsProxyInitClient.java b/src/main/java/org/glite/voms/contact/cli/VomsProxyInitClient.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/glite/voms/contact/cli/VomsProxyInitClient.java
+++ b/src/main/java/org/glite/voms/contact/cli/VomsProxyInitClient.java
@... | Console password support for VOMS Proxy Init client. | italiangrid_voms-api-java | train | java |
1e36443130c3b620d1b9ee7137a5425048b77295 | diff --git a/src/main/java/biweekly/io/scribe/property/DurationPropertyScribe.java b/src/main/java/biweekly/io/scribe/property/DurationPropertyScribe.java
index <HASH>..<HASH> 100644
--- a/src/main/java/biweekly/io/scribe/property/DurationPropertyScribe.java
+++ b/src/main/java/biweekly/io/scribe/property/DurationPrope... | No need to define a "_defaultDataType" method. | mangstadt_biweekly | train | java |
d15b412d094604a3492b967adb043b85ae05d9f5 | diff --git a/test/test_actual.py b/test/test_actual.py
index <HASH>..<HASH> 100644
--- a/test/test_actual.py
+++ b/test/test_actual.py
@@ -128,14 +128,14 @@ def test_ac_ex1_context(context):
cmip = cause_account[0].mip
assert cmip.mechanism == (0,)
- assert cmip.purview == (2,)
+ assert cmip.purview =... | Tweak test nondeterministic test results | wmayner_pyphi | train | py |
07068be9a33d3ef2f6dbe671942e3b2086783e16 | diff --git a/spec/lib/database.rb b/spec/lib/database.rb
index <HASH>..<HASH> 100644
--- a/spec/lib/database.rb
+++ b/spec/lib/database.rb
@@ -52,7 +52,7 @@ module ScopedSearch::RSpec::Database
end
end
- klass = Class.new(ActiveRecord::Base)
+ klass = ScopedSearch::RSpec::Database.const_set(table_na... | Make sure a named constant is created to keep AR2 happy. | wvanbergen_scoped_search | train | rb |
0dbceeed7f62aac75086949a982cd6f316c91007 | diff --git a/code/dataobjects/WorkflowInstance.php b/code/dataobjects/WorkflowInstance.php
index <HASH>..<HASH> 100644
--- a/code/dataobjects/WorkflowInstance.php
+++ b/code/dataobjects/WorkflowInstance.php
@@ -566,9 +566,9 @@ class WorkflowInstance extends DataObject {
*/
public function getVersionedConnection($r... | #<I> Escaped table and field names.
Applied escaping to table (SiteTree_versions) and field
(ID, WasPublished) identifiers to support PostgreSQL
conventions. | symbiote_silverstripe-advancedworkflow | train | php |
247d256cd8416436d36a529f52c2c9a506c58a42 | diff --git a/mutant/__init__.py b/mutant/__init__.py
index <HASH>..<HASH> 100644
--- a/mutant/__init__.py
+++ b/mutant/__init__.py
@@ -4,7 +4,7 @@ import logging
from django.utils.version import get_version
-VERSION = (0, 3, 0, 'alpha', 2)
+VERSION = (0, 3, 0, 'alpha', 3)
__version__ = get_version(VERSION) | Bumped version number to <I>a3. | charettes_django-mutant | train | py |
b6b10c0532bffe1445c8fdc6b818538a419a5656 | diff --git a/gluish/task.py b/gluish/task.py
index <HASH>..<HASH> 100644
--- a/gluish/task.py
+++ b/gluish/task.py
@@ -38,6 +38,8 @@ class BaseTask(luigi.Task):
def closest(self):
""" Return the closest date for a given date.
Defaults to the same date. """
+ if not hasattr(self, 'date'):
+... | raise error if closest is invoked on a class with no date | miku_gluish | train | py |
a311477d4a7723e09dd87a381d76cfbc7b82b2a4 | diff --git a/src/Framework/Kernel.php b/src/Framework/Kernel.php
index <HASH>..<HASH> 100644
--- a/src/Framework/Kernel.php
+++ b/src/Framework/Kernel.php
@@ -82,7 +82,6 @@ class Kernel implements \Venta\Contracts\Kernel
/*
* Binding basic singletons - container and kernel objects
*/
- ... | Remove container sharing from Kernel constructor. | venta_framework | train | php |
5a6a6e0c3faec4dc1cf499008c5b036c82002ca3 | diff --git a/core/src/main/java/org/eobjects/analyzer/util/SchemaNavigator.java b/core/src/main/java/org/eobjects/analyzer/util/SchemaNavigator.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/eobjects/analyzer/util/SchemaNavigator.java
+++ b/core/src/main/java/org/eobjects/analyzer/util/SchemaNavigator.ja... | Added refresh option to schema navigator | datacleaner_AnalyzerBeans | train | java |
ec616c542db4311f8ebf71cb1ff0b4a669674430 | diff --git a/src/js/DataTables/EditDialogColumn.js b/src/js/DataTables/EditDialogColumn.js
index <HASH>..<HASH> 100644
--- a/src/js/DataTables/EditDialogColumn.js
+++ b/src/js/DataTables/EditDialogColumn.js
@@ -6,7 +6,7 @@ import classnames from 'classnames';
import { FlatButton } from '../Buttons';
import TableColum... | Updated Edit dialog column to cancel on escape keypress | mlaursen_react-md | train | js |
b71724220ffec97bc2ddd1d79f4252959437f6e8 | diff --git a/config/src/main/java/org/wildfly/extension/camel/config/WildFlyCamelConfigPlugin.java b/config/src/main/java/org/wildfly/extension/camel/config/WildFlyCamelConfigPlugin.java
index <HASH>..<HASH> 100644
--- a/config/src/main/java/org/wildfly/extension/camel/config/WildFlyCamelConfigPlugin.java
+++ b/config/... | [resolves #<I>] Add support for urn:jboss:domain:<I> | wildfly-extras_wildfly-camel | train | java |
df10edec01b36c1f3308b515e77199e2357e6c49 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -75,7 +75,7 @@ module.exports = React.createClass({
var a = Math.floor(parseFloat(value));
this.props.onChange(extend(this.state.color, {a: a / 100}));
this.setState({
- color: extend(this.state.colo... | Store alpha internally as float between 0 and 1
Previously, alpha was stored as an integer between 0 and <I>, when
non-alpha values changes, the alpha value was emitted as that integer
instead of the float value. | mapbox_react-colorpickr | train | js |
3c1f64ec612f93361773bb2b5f10028a0da6f1a1 | diff --git a/guacamole/src/main/webapp/app/settings/services/preferenceService.js b/guacamole/src/main/webapp/app/settings/services/preferenceService.js
index <HASH>..<HASH> 100644
--- a/guacamole/src/main/webapp/app/settings/services/preferenceService.js
+++ b/guacamole/src/main/webapp/app/settings/services/preference... | GUACAMOLE-<I>: Update timezone format comments in AngularJS component. | glyptodon_guacamole-client | train | js |
08cd509453bbe8930a78b9b027d255468a1a440d | diff --git a/lib/Doctrine/ODM/PHPCR/Document/File.php b/lib/Doctrine/ODM/PHPCR/Document/File.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ODM/PHPCR/Document/File.php
+++ b/lib/Doctrine/ODM/PHPCR/Document/File.php
@@ -113,7 +113,7 @@ class File extends AbstractFile
*
* @return Resource
*/
- pu... | Update lib/Doctrine/ODM/PHPCR/Document/File.php
[upd] revert public method getContent to private one | doctrine_phpcr-odm | train | php |
edd11afe9e6b3de24dda5adfe8b1ac4192d9a553 | diff --git a/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferServiceCallableFactory.java b/java-bigquerydatatransfer/google-cloud-bigquerydatatransfer/src/main/java/com/google/cloud/bigquery/datatransfer/v1/stub/GrpcDataTransferSer... | Regenerate gapic clients, add IoT and Web Security Scanner clients (#<I>)
Also remove beta packages for dlp, as they are removed from googleapis. IoT packages were moved from `cloudiot` to just `iot`.
Also regenerate clients with @BetaApi annotation for LRO-specific code. | googleapis_google-cloud-java | train | java |
b0beff0362a53fd1af3677d638006c3066e3382c | diff --git a/com/linuxense/javadbf/DBFBase.java b/com/linuxense/javadbf/DBFBase.java
index <HASH>..<HASH> 100644
--- a/com/linuxense/javadbf/DBFBase.java
+++ b/com/linuxense/javadbf/DBFBase.java
@@ -1,5 +1,5 @@
/*
- $Id: DBFBase.java,v 1.2 2004-03-31 10:39:32 anil Exp $
+ $Id: DBFBase.java,v 1.3 2004-03-31 15:59:40 an... | Added a few javadoc comments. | albfernandez_javadbf | train | java |
81fa9af7497626fdad5d78f6afb7f54b4a39652e | diff --git a/lib/response.js b/lib/response.js
index <HASH>..<HASH> 100644
--- a/lib/response.js
+++ b/lib/response.js
@@ -71,7 +71,7 @@ class Response {
* @param {string} type - MIME type of the response data
*/
type(type) {
- this.header('Content-Type', type);
+ this.header('content-typ... | refactor: Use lowercase key in content-type helper method | godmodelabs_flora | train | js |
f0646022277d02d312040f2a4518fd228aaf455c | diff --git a/Kwf/Assets/Package/TestPackage.php b/Kwf/Assets/Package/TestPackage.php
index <HASH>..<HASH> 100644
--- a/Kwf/Assets/Package/TestPackage.php
+++ b/Kwf/Assets/Package/TestPackage.php
@@ -24,6 +24,7 @@ class Kwf_Assets_Package_TestPackage extends Kwf_Assets_Package
$providers[] = new Kwf_Assets_Prov... | fix dependencies for tests, they also require the error handler dependency | koala-framework_koala-framework | train | php |
a145e11495c72c5bafd4d35b114ad988500110ee | diff --git a/core/codegen/vdm2jml/src/test/java/org/overture/vdm2jml/tests/JmlGenTestBase.java b/core/codegen/vdm2jml/src/test/java/org/overture/vdm2jml/tests/JmlGenTestBase.java
index <HASH>..<HASH> 100644
--- a/core/codegen/vdm2jml/src/test/java/org/overture/vdm2jml/tests/JmlGenTestBase.java
+++ b/core/codegen/vdm2jm... | JML generator output tests do not need to generate the trace | overturetool_overture | train | java |
cf69afe8f9e8151141e6040e9d0212b00edcbef1 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,8 +17,11 @@ setup(name='ouimeaux',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
+ dependency_links = [
+ 'https://github.c... | Add gevent <I> as a dependency | iancmcc_ouimeaux | train | py |
788b8fac87c662fc1e271d9e192cf3a11e18b672 | diff --git a/lib/Property.php b/lib/Property.php
index <HASH>..<HASH> 100644
--- a/lib/Property.php
+++ b/lib/Property.php
@@ -382,10 +382,13 @@ abstract class Property extends Node {
'value' => $parameters
];
- $properties['value'][] = [
- 'name' => strtolower($this->g... | Support XML serialization of multi-valued property. | sabre-io_vobject | train | php |
e16e2603f2a0d9319a7f1879b7507838f44dfcb9 | diff --git a/etrago/snaphot_clustering_app.py b/etrago/snaphot_clustering_app.py
index <HASH>..<HASH> 100644
--- a/etrago/snaphot_clustering_app.py
+++ b/etrago/snaphot_clustering_app.py
@@ -189,18 +189,17 @@ network = import_pq_sets(session=session,
start_h=start_h,
... | Add line to code to make store extendable | openego_eTraGo | train | py |
0d1c0d8fcb463d4753157bf7fe0793ca39f82620 | diff --git a/lib/podio/middleware/oauth2.rb b/lib/podio/middleware/oauth2.rb
index <HASH>..<HASH> 100644
--- a/lib/podio/middleware/oauth2.rb
+++ b/lib/podio/middleware/oauth2.rb
@@ -5,17 +5,18 @@ module Podio
class OAuth2 < Faraday::Middleware
def call(env)
podio_client = env[:request][:client]
+ ... | use original env when retrying requests | podio_podio-rb | train | rb |
1fb05639a2f92c92d7fbff3cba3e69929156bdfa | diff --git a/pipeline/storage.py b/pipeline/storage.py
index <HASH>..<HASH> 100644
--- a/pipeline/storage.py
+++ b/pipeline/storage.py
@@ -99,22 +99,6 @@ class BaseFinderStorage(PipelineStorage):
except OSError:
pass
- def match_location(self, name, path, prefix=None):
- ... | remove unusued match_location | jazzband_django-pipeline | train | py |
630fa33a7e119d26e24816d07435f3b6bf90e1a3 | diff --git a/includes/general.php b/includes/general.php
index <HASH>..<HASH> 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -1110,6 +1110,8 @@ function pods_shortcode_run( $tags, $content = null ) {
}//end if
$pagination = false;
+
+ // Only handle pagination on non-singular shortcodes where ite... | Apply suggestions from code review (PHP comment) | pods-framework_pods | train | php |
f5fa4c7dc9e7e9fc85b714a50a7d9499e5f34cda | diff --git a/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/ternWorkerCore.js b/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/ternWorkerCore.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.javascript/web/javascript/plugins/ternWorkerCore.js
+++ b/bundles/or... | Bug <I> - [tern] Ensure new 'docFormat' flag is being passed to Tern | eclipse_orion.client | train | js |
3bfef0e36c5b820ac1ebe61327f8b502c3915579 | diff --git a/core/src/main/java/hudson/model/Computer.java b/core/src/main/java/hudson/model/Computer.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/hudson/model/Computer.java
+++ b/core/src/main/java/hudson/model/Computer.java
@@ -578,7 +578,7 @@ public /*transient*/ abstract class Computer extends Actionab... | reject IPv6 names. Revisit later as IPv6 should work in theory --- it's just that my limited experiment revealed that it doesn't seem to be working
git-svn-id: <URL> | jenkinsci_jenkins | train | java |
4efb319141b52c08a181050eb74ff52eec1f3671 | diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/abstract_controller/base.rb
+++ b/actionpack/lib/abstract_controller/base.rb
@@ -78,7 +78,10 @@ module AbstractController
# Except for public instance method... | Two fewer array allocations on action_methods
Instead of creating new arrays for `uniq` and `map` we can instead modify the array in place. | rails_rails | train | rb |
3ff9c904cddfa990bf889cc1878347a5d1b102db | diff --git a/src/controls/movement-controls.js b/src/controls/movement-controls.js
index <HASH>..<HASH> 100644
--- a/src/controls/movement-controls.js
+++ b/src/controls/movement-controls.js
@@ -51,11 +51,11 @@ module.exports = AFRAME.registerComponent('movement-controls', {
update: function (prevData) {
const ... | check for nav system (fixes #<I>) | donmccurdy_aframe-extras | train | js |
88686e759edcf5d89bfa62fc41c45176749e9386 | diff --git a/lib/jekyll/convertible.rb b/lib/jekyll/convertible.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll/convertible.rb
+++ b/lib/jekyll/convertible.rb
@@ -13,6 +13,7 @@ require 'set'
# self.ext=
# self.output=
# self.name
+# self.path
module Jekyll
module Convertible
# Returns the contents a... | Add `path` to required methods
The error messages in this module call `#path`, but the module does not require the `path` method to be implemented. This change documents that classes which include `Convertible` must define `path`.
See #<I> for discussion. | jekyll_jekyll | train | rb |
8b8608d726956ea6e7dc9ce1d6ca0419aba6bee9 | diff --git a/ryu/lib/packet/llc.py b/ryu/lib/packet/llc.py
index <HASH>..<HASH> 100644
--- a/ryu/lib/packet/llc.py
+++ b/ryu/lib/packet/llc.py
@@ -124,6 +124,8 @@ class llc(packet_base.PacketBase):
_CTR_TYPES = {}
_CTR_PACK_STR = '!2xB'
+ _MIN_LEN = _PACK_LEN
+
@staticmethod
def register_contro... | packet lib: provide llc._MIN_LEN | osrg_ryu | train | py |
c2e44c38dd9f6ee5e658c2eadf6809d25187c099 | diff --git a/lib/node_modules/@stdlib/plot/plot/lib/factory.js b/lib/node_modules/@stdlib/plot/plot/lib/factory.js
index <HASH>..<HASH> 100644
--- a/lib/node_modules/@stdlib/plot/plot/lib/factory.js
+++ b/lib/node_modules/@stdlib/plot/plot/lib/factory.js
@@ -14,6 +14,7 @@ var Plot = require( './plot.js' );
*
* @param... | Add JSDoc throws annotations | stdlib-js_stdlib | train | js |
687f08cf7fa9159ce08e7eccc8a151f2af07c386 | diff --git a/google-cloud-debugger/lib/google/cloud/debugger/breakpoint/variable.rb b/google-cloud-debugger/lib/google/cloud/debugger/breakpoint/variable.rb
index <HASH>..<HASH> 100644
--- a/google-cloud-debugger/lib/google/cloud/debugger/breakpoint/variable.rb
+++ b/google-cloud-debugger/lib/google/cloud/debugger/brea... | Update with dazuma's comment | googleapis_google-cloud-ruby | train | rb |
582075e965a7df985aede0e088928c486fe9ce06 | diff --git a/jquery/jquery.js b/jquery/jquery.js
index <HASH>..<HASH> 100644
--- a/jquery/jquery.js
+++ b/jquery/jquery.js
@@ -577,7 +577,7 @@ $.Select = function( t, context ) {
};
$.tag = function(a,b){
- return a && typeof a.getElementsByTagName != "undefined" ?
+ return a && a.getElementsByTagName ?
a.getEle... | Added Mike Alsup's style/cssText fix and made a quick typeof change. | jquery_jquery | train | js |
b50ec5d947ae754df547bfc5325991de9b6061eb | diff --git a/library/Helper/Post.php b/library/Helper/Post.php
index <HASH>..<HASH> 100644
--- a/library/Helper/Post.php
+++ b/library/Helper/Post.php
@@ -116,7 +116,12 @@ class Post
'btn-theme-fifth',
//Gutenberg columns
- 'wp-block-columns'
+ ... | hotfix: Make align work as intended | helsingborg-stad_Municipio | train | php |
f5377c622ed1df826d263ee80ab207779ed32d26 | diff --git a/fs/fstesting/caching.go b/fs/fstesting/caching.go
index <HASH>..<HASH> 100644
--- a/fs/fstesting/caching.go
+++ b/fs/fstesting/caching.go
@@ -83,10 +83,6 @@ func (t *cachingTest) EmptyBucket() {
ExpectThat(entries, ElementsAre())
}
-func (t *cachingTest) InteractWithNewFile() {
- AssertTrue(false, "TO... | Removed extraneous tests. | jacobsa_timeutil | train | go |
170eb52cc44fcfa227da4007080046492635471a | diff --git a/salt/modules/lxc.py b/salt/modules/lxc.py
index <HASH>..<HASH> 100644
--- a/salt/modules/lxc.py
+++ b/salt/modules/lxc.py
@@ -3192,9 +3192,8 @@ def bootstrap(name,
rstr = __salt__['test.rand_str']()
configdir = '/tmp/.c_{0}'.format(rstr)
- if run(name,
- ... | Fix use of undefined cmd when install of boostrap script fails
See PR #<I>. | saltstack_salt | train | py |
29da7dbf38348d1b9068d6a24a922b8810354f55 | diff --git a/state/settings.go b/state/settings.go
index <HASH>..<HASH> 100644
--- a/state/settings.go
+++ b/state/settings.go
@@ -48,6 +48,33 @@ func (m settingsMap) GetBSON() (interface{}, error) {
return escapedMap, nil
}
+// SetingsGroup models a list of Settings that can all be atomically written to
+// the b... | Add StateGroup type for atomically persisting a list of Settings | juju_juju | train | go |
17f37cc254489674168ae7e775aca2cbd85c4d5b | diff --git a/lnwallet/wallet.go b/lnwallet/wallet.go
index <HASH>..<HASH> 100644
--- a/lnwallet/wallet.go
+++ b/lnwallet/wallet.go
@@ -259,6 +259,7 @@ func (l *LightningWallet) Stop() error {
}
l.wallet.Stop()
+ l.rpc.Shutdown()
close(l.quit)
l.wg.Wait() | lnwallet: shutdown rpc connection during stoppage | lightningnetwork_lnd | train | go |
83bce816197df63839a1c9f6fc8a3bef29f1b638 | diff --git a/hamster/widgets/activityentry.py b/hamster/widgets/activityentry.py
index <HASH>..<HASH> 100644
--- a/hamster/widgets/activityentry.py
+++ b/hamster/widgets/activityentry.py
@@ -91,6 +91,7 @@ class ActivityEntry(gtk.Entry):
self.connect("button-press-event", self._on_button_press_event)
s... | turns out that we care for focus out after all - to hide the popup | projecthamster_hamster | train | py |
452d946e8a8dd3f3d479e9aea3f5650878d14e07 | diff --git a/lib/sidetiq.rb b/lib/sidetiq.rb
index <HASH>..<HASH> 100644
--- a/lib/sidetiq.rb
+++ b/lib/sidetiq.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+
# stdlib
require 'monitor'
require 'ostruct'
@@ -21,6 +23,13 @@ require 'sidetiq/version'
# The Sidetiq namespace.
module Sidetiq
class << self
+ # Public: F... | Delegate table flipping to Sidekiq. | endofunky_sidetiq | train | rb |
359f57c1f74a36c73fef767e32393486f78dd704 | diff --git a/app/src/components/menu/menu.js b/app/src/components/menu/menu.js
index <HASH>..<HASH> 100644
--- a/app/src/components/menu/menu.js
+++ b/app/src/components/menu/menu.js
@@ -26,9 +26,6 @@ function createMenu({
clearAppData,
disableDevTools,
}) {
- if (Menu.getApplicationMenu()) {
- return;
- }
... | app: fix: nativefier application menu support on Electron <I> (#<I>) | jiahaog_nativefier | train | js |
15b966993bae02c61c9411c92646a6f7216a0ff5 | diff --git a/tests/frontend/org/voltdb/regressionsuites/TestFixedSQLSuite.java b/tests/frontend/org/voltdb/regressionsuites/TestFixedSQLSuite.java
index <HASH>..<HASH> 100644
--- a/tests/frontend/org/voltdb/regressionsuites/TestFixedSQLSuite.java
+++ b/tests/frontend/org/voltdb/regressionsuites/TestFixedSQLSuite.java
@... | Fix invalid (newly added) test assertion. | VoltDB_voltdb | train | java |
59f0fbb4f59e2d5971cf77ddf20357dee36ca699 | diff --git a/moa/src/main/java/moa/gui/BatchCmd.java b/moa/src/main/java/moa/gui/BatchCmd.java
index <HASH>..<HASH> 100644
--- a/moa/src/main/java/moa/gui/BatchCmd.java
+++ b/moa/src/main/java/moa/gui/BatchCmd.java
@@ -262,7 +262,7 @@ public class BatchCmd implements ClusterEventListener{
out.write(v + delimiter);... | fix in exportCSV to write events to result | Waikato_moa | train | java |
7fc3d0e2b4820d2795f367b2f8e3d9e645bcfd15 | diff --git a/lib/Thelia/Core/Template/Smarty/SmartyParser.php b/lib/Thelia/Core/Template/Smarty/SmartyParser.php
index <HASH>..<HASH> 100755
--- a/lib/Thelia/Core/Template/Smarty/SmartyParser.php
+++ b/lib/Thelia/Core/Template/Smarty/SmartyParser.php
@@ -102,7 +102,7 @@ class SmartyParser extends Smarty implements Pars... | Working
- Allow to parse array and objects in Smarty Template | thelia_core | train | php |
68c1be048a691e10c58a097a0a86686c8ff75179 | diff --git a/fusetesting/readdir.go b/fusetesting/readdir.go
index <HASH>..<HASH> 100644
--- a/fusetesting/readdir.go
+++ b/fusetesting/readdir.go
@@ -41,6 +41,14 @@ func ReadDirPicky(dirname string) (entries []os.FileInfo, err error) {
return
}
+ // Don't forget to close it later.
+ defer func() {
+ closeErr :... | Don't forget to close the directory. | jacobsa_fuse | train | go |
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.