hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
92ca3cfd79a59ddd1a6b7681be7c4701c04074c7 | diff --git a/pynetgear/__main__.py b/pynetgear/__main__.py
index <HASH>..<HASH> 100644
--- a/pynetgear/__main__.py
+++ b/pynetgear/__main__.py
@@ -10,15 +10,20 @@ from pynetgear import Netgear, BLOCK, ALLOW
def make_formatter(format_name):
"""Returns a callable that outputs the data. Defaults to print."""
- ... | Add pretty json output and default to it | MatMaul_pynetgear | train |
dd8ecd0ca06443ae7ab157f0d38ae7c5498bf85a | diff --git a/src/Files/Finder.php b/src/Files/Finder.php
index <HASH>..<HASH> 100755
--- a/src/Files/Finder.php
+++ b/src/Files/Finder.php
@@ -123,7 +123,7 @@ class Finder {
$copy_to = DIR_ASSETS . ltrim($real_file_path, '/');
if (file_exists($copy_from) && !file_exists($copy_to)) {
... | Symlink file instead of copy for cms assets used in front | devp-eu_tmcms-core | train |
5b948f08830c6af520a4f327eaa419cf72f73985 | diff --git a/lib/ListCommand.py b/lib/ListCommand.py
index <HASH>..<HASH> 100644
--- a/lib/ListCommand.py
+++ b/lib/ListCommand.py
@@ -14,6 +14,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+import getopt
+
import Co... | Add option to supply a custom sort string to the list command. | bram85_topydo | train |
1bd57bd86f22a5570806299b68bbad37e9282415 | diff --git a/src/frontend/assets/AppAsset.php b/src/frontend/assets/AppAsset.php
index <HASH>..<HASH> 100644
--- a/src/frontend/assets/AppAsset.php
+++ b/src/frontend/assets/AppAsset.php
@@ -20,5 +20,9 @@ class AppAsset extends AssetBundle
'yii\bootstrap\BootstrapAsset',
'yii\bootstrap\BootstrapPlugin... | Added ResizableColumnsAsset to AppAsset | hiqdev_hipanel-core | train |
0325356150c4629b750f4a7d2c32bce3d74b6336 | diff --git a/openquake/commands/plot_sites.py b/openquake/commands/plot_sites.py
index <HASH>..<HASH> 100644
--- a/openquake/commands/plot_sites.py
+++ b/openquake/commands/plot_sites.py
@@ -29,7 +29,7 @@ def plot_sites(calc_id):
ax = fig.add_subplot(111)
ax.grid(True)
tiles = make_tiles(sitecol, oq.site... | Fixed several engine tests
Former-commit-id: <I>c<I>ff<I>cd<I>edd<I>fea4ca<I>ec8b9 | gem_oq-engine | train |
ba3cd45c367d256b3f1e5017f7079a1f7d8a68c0 | diff --git a/simulator/src/main/java/com/hazelcast/simulator/coordinator/TestCaseRunner.java b/simulator/src/main/java/com/hazelcast/simulator/coordinator/TestCaseRunner.java
index <HASH>..<HASH> 100644
--- a/simulator/src/main/java/com/hazelcast/simulator/coordinator/TestCaseRunner.java
+++ b/simulator/src/main/java/c... | Added missing test case to TestCaseRunnerTest. | hazelcast_hazelcast-simulator | train |
de949161f461de7482c6e366cc40bc85d081ac5d | diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -722,6 +722,20 @@ class FileClient(object):
ret.append(self.cache_file('salt://{0}'.format(fn_), env))
return ret
+ def cache_local_file(self, path, env='base'):
+ ... | Added function to cache a local file on the minion
Having a copy can be handy to store state in between highstate
invocations or while making edits to local files. | saltstack_salt | train |
0e34efb45cd6cf3e67e7bb24b868248407c42881 | diff --git a/zinnia/context_templates.py b/zinnia/context_templates.py
index <HASH>..<HASH> 100644
--- a/zinnia/context_templates.py
+++ b/zinnia/context_templates.py
@@ -4,22 +4,7 @@ from django.template.defaultfilters import slugify
from zinnia.settings import ENTRY_LOOP_TEMPLATES
-def get_loop_position(context)... | Simplify the context positional API | Fantomas42_django-blog-zinnia | train |
a0121fa907168e2fbd22bc89ee1084bd74e96fb4 | diff --git a/openpnm/network/CubicTemplate.py b/openpnm/network/CubicTemplate.py
index <HASH>..<HASH> 100644
--- a/openpnm/network/CubicTemplate.py
+++ b/openpnm/network/CubicTemplate.py
@@ -1,5 +1,4 @@
import numpy as np
-import scipy as sp
from openpnm.network import Cubic
from openpnm import topotools
from openp... | Enhance CubicTemplate to not call find_surface_pores (takes ages to run) + add "internal_surface" label, indicating "surface" pores that are not on the exterior boundary of the network. | PMEAL_OpenPNM | train |
44b859d35b5337a5e48c2f0dfd3dfd9ff55590ab | diff --git a/edeposit/amqp/pikadaemon.py b/edeposit/amqp/pikadaemon.py
index <HASH>..<HASH> 100755
--- a/edeposit/amqp/pikadaemon.py
+++ b/edeposit/amqp/pikadaemon.py
@@ -4,6 +4,13 @@
# Interpreter version: python 2.7
#
#= Imports ====================================================================
+"""
+Generic AMQ... | Added and improved docstrings in PikaDaemon methods. | edeposit_edeposit.amqp | train |
06e62f23681d1e1437cb20ee94f9f185a7f78659 | diff --git a/karma.conf.js b/karma.conf.js
index <HASH>..<HASH> 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -4,8 +4,6 @@ module.exports = function(config) {
basePath: '',
frameworks: ['browserify', 'jasmine'],
files: [
- 'node_modules/angular-mocks/angular-mocks.js',
- 'bower_componen... | these are no longer needed here, setup can import them | monomelodies_monad | train |
80f990b993cd2447a1b0958ce19236b48a45bdb2 | diff --git a/public/js/runner/proxy-console.js b/public/js/runner/proxy-console.js
index <HASH>..<HASH> 100644
--- a/public/js/runner/proxy-console.js
+++ b/public/js/runner/proxy-console.js
@@ -13,7 +13,7 @@ var proxyConsole = (function () {
/**
* Stringify all of the console objects from an array for proxying
... | Fixed detatched console.logging | jsbin_jsbin | train |
e9770f9432e12258ef01ee675182f04eb105822c | diff --git a/sqlauth/__init__.py b/sqlauth/__init__.py
index <HASH>..<HASH> 100644
--- a/sqlauth/__init__.py
+++ b/sqlauth/__init__.py
@@ -16,4 +16,4 @@
##
###############################################################################
-__version__ = "0.1.179"
+__version__ = "0.1.180"
diff --git a/sqlauth/scripts/s... | sync with pypi version: <I> | lgfausak_sqlauth | train |
f4bc43c4779e8dbca3978832e7b3b64cf03e536b | diff --git a/flare.gemspec b/flare.gemspec
index <HASH>..<HASH> 100644
--- a/flare.gemspec
+++ b/flare.gemspec
@@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = %q{flare}
- s.version = "1.0.2"
+ s.version = "1.2.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required... | Adding support for document attributes such as boosting | michaeldwan_flare | train |
4e6a55fa6c68e39d384a3a4cc56e128d61d62e6a | diff --git a/tests/ClientEndpointTest.php b/tests/ClientEndpointTest.php
index <HASH>..<HASH> 100644
--- a/tests/ClientEndpointTest.php
+++ b/tests/ClientEndpointTest.php
@@ -15,8 +15,8 @@ class ClientEndpointTest extends ClientTestCase
public function setUp(): void
{
$this->baseConfig = [
- ... | PHP-<I> changed env variable from const | cardinity_cardinity-sdk-php | train |
1607cd25acc34678a6e8f67e79d459f58296e2bc | diff --git a/colorama/ansitowin32.py b/colorama/ansitowin32.py
index <HASH>..<HASH> 100644
--- a/colorama/ansitowin32.py
+++ b/colorama/ansitowin32.py
@@ -39,6 +39,9 @@ class StreamWrapper(object):
return getattr(self.__wrapped, name)
def __enter__(self, *args, **kwargs):
+ # special method looku... | added reference explaining why contextlib magic methods are required in wrapper | tartley_colorama | train |
c74439da25c0f0267caa9f62e2b2a19132a7246c | diff --git a/dpath/util.py b/dpath/util.py
index <HASH>..<HASH> 100644
--- a/dpath/util.py
+++ b/dpath/util.py
@@ -179,8 +179,18 @@ def merge(dst, src, separator="/", afilter=None, flags=MERGE_ADDITIVE, _path="")
of MutableMapping, continue with recursive merge even if they
are not the exact same ... | Add exclusivity check on MERGE_TYPESAFE and MERGE_LOOSEDICT | akesterson_dpath-python | train |
3c9d616816649508a717ee53727758d625697036 | diff --git a/commands/deploy.js b/commands/deploy.js
index <HASH>..<HASH> 100644
--- a/commands/deploy.js
+++ b/commands/deploy.js
@@ -145,8 +145,8 @@ module.exports = function (remote, id, opts) {
uploading(data.percentage, data.transferred, data.speed)
})
+ var first = true
deploy.on('bu... | fix syncing test on deploy | mafintosh_hms | train |
b21ff13dfe830871f017019b16ee2eae078dabfa | diff --git a/lib/sidekiq/batch.rb b/lib/sidekiq/batch.rb
index <HASH>..<HASH> 100644
--- a/lib/sidekiq/batch.rb
+++ b/lib/sidekiq/batch.rb
@@ -10,7 +10,7 @@ module Sidekiq
class Batch
class NoBlockGivenError < StandardError; end
- BID_EXPIRE_TTL = 108_000
+ BID_EXPIRE_TTL = 2_592_000
attr_reader ... | Bump BID EXPIRE TTL to <I> days | breamware_sidekiq-batch | train |
f10848533434cc98d1ef32a1f923a56a7b9c1a7f | diff --git a/src/visualizers/widgets/HFSMViz/HFSMVizWidget.js b/src/visualizers/widgets/HFSMViz/HFSMVizWidget.js
index <HASH>..<HASH> 100644
--- a/src/visualizers/widgets/HFSMViz/HFSMVizWidget.js
+++ b/src/visualizers/widgets/HFSMViz/HFSMVizWidget.js
@@ -805,6 +805,14 @@ define([
var self = this;
var hidden... | updated to show stateDiagram SVG as the background for nodes whose children are hidden in the HFSMViz. closes #<I> | finger563_webgme-hfsm | train |
f9637616ed31db573c4abaa2dc0f4ea3b463854b | diff --git a/src/extensions/renderer/canvas/drawing-elements.js b/src/extensions/renderer/canvas/drawing-elements.js
index <HASH>..<HASH> 100644
--- a/src/extensions/renderer/canvas/drawing-elements.js
+++ b/src/extensions/renderer/canvas/drawing-elements.js
@@ -54,7 +54,6 @@ CRp.drawCachedElements = function( context,... | fixes safari from not rendering layers #<I>
safari seems to benefit even more than other browsers (about 3x more than chrome and firefox) | cytoscape_cytoscape.js | train |
21d3cd848a63f3239bedb1608ab73438988300d6 | diff --git a/src/Common/Traits/GetCountCommon.php b/src/Common/Traits/GetCountCommon.php
index <HASH>..<HASH> 100644
--- a/src/Common/Traits/GetCountCommon.php
+++ b/src/Common/Traits/GetCountCommon.php
@@ -716,15 +716,19 @@ trait GetCountCommon
} elseif (is_array($aData['sort'])) {
- $m... | Simplifying sort parsing + support for escaping the sort key | nails_common | train |
b23e8d36642b005340b443f78c33d4d65d284781 | diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php
index <HASH>..<HASH> 100644
--- a/src/danog/MadelineProto/MTProto.php
+++ b/src/danog/MadelineProto/MTProto.php
@@ -357,7 +357,12 @@ Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB
'allow_threading' => false, // Should I us... | pwr requests (#<I>)
* on/off switcher for pwrtelegram peer info requests
* Fix PWRTelgram requets if we have no info about peer | danog_MadelineProto | train |
4cde971916f410582caf97b3f5551e0b5fa8de13 | diff --git a/java/runtime/src/main/java/org/ray/runtime/AbstractRayRuntime.java b/java/runtime/src/main/java/org/ray/runtime/AbstractRayRuntime.java
index <HASH>..<HASH> 100644
--- a/java/runtime/src/main/java/org/ray/runtime/AbstractRayRuntime.java
+++ b/java/runtime/src/main/java/org/ray/runtime/AbstractRayRuntime.ja... | [Java] Print the log message slowly. (#<I>) | ray-project_ray | train |
d01aad374cf3e6a254c6d4d9358599d53262ffa7 | diff --git a/lib/jzip/engine/support/notifier.rb b/lib/jzip/engine/support/notifier.rb
index <HASH>..<HASH> 100644
--- a/lib/jzip/engine/support/notifier.rb
+++ b/lib/jzip/engine/support/notifier.rb
@@ -6,7 +6,7 @@ module Jzip
def notify(message)
string = wrap(message)
- Rails.env == "tes... | Use Rails.logger.info for now. | archan937_jzip | train |
41e383e4528c72e4ed6cf19f95dff533b8003159 | diff --git a/lib/rubocop/cop/generator.rb b/lib/rubocop/cop/generator.rb
index <HASH>..<HASH> 100644
--- a/lib/rubocop/cop/generator.rb
+++ b/lib/rubocop/cop/generator.rb
@@ -101,6 +101,8 @@ module RuboCop
Files created:
- #{source_path}
- #{spec_path}
+ File modified:
+ ... | Indicate file modified by `rake new_cop` | rubocop-hq_rubocop | train |
2778c6881d6774b860e28f8a637d85f38e6f4f9a | diff --git a/spec/e2e/marshal_spec.rb b/spec/e2e/marshal_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/e2e/marshal_spec.rb
+++ b/spec/e2e/marshal_spec.rb
@@ -11,6 +11,9 @@ describe Neo4j::Shared::Marshal do
let(:node) { Child.create(foo: 'bar') }
it 'marshals correctly' do
+ # I don't know if java obj... | I don't know if java objects can be marshaled, ignoring for now... | neo4jrb_neo4j | train |
e66cae66a1ae87e75628febeceadacf41336b032 | diff --git a/benchexec/tools/cpachecker.py b/benchexec/tools/cpachecker.py
index <HASH>..<HASH> 100644
--- a/benchexec/tools/cpachecker.py
+++ b/benchexec/tools/cpachecker.py
@@ -130,10 +130,12 @@ class Tool(benchexec.tools.template.BaseTool):
status = 'OUT OF MEMORY'
elif 'SIGSEGV' in lin... | Improve output parsing for CPAchecker's tool info:
do not mistakenly detect exceptions if only the word "Exception" is in
some line (this may happen if a method with "Exception" as part of its
name logs something). | sosy-lab_benchexec | train |
4224860a8f7db09bc1e434543e79e94db5b8955b | diff --git a/src/config/hisite.php b/src/config/hisite.php
index <HASH>..<HASH> 100644
--- a/src/config/hisite.php
+++ b/src/config/hisite.php
@@ -19,6 +19,7 @@ return [
"@backuping" => "/hosting/backuping",
"@service" => "/hosting/service",
"@ip" => "/hosting/ip",
+ "@request" => "/ho... | Added new alias @request | hiqdev_hipanel-module-hosting | train |
b68e61557b2bf5ab6b8c21682ade596186d70df7 | diff --git a/internetarchive/cli/ia_metadata.py b/internetarchive/cli/ia_metadata.py
index <HASH>..<HASH> 100644
--- a/internetarchive/cli/ia_metadata.py
+++ b/internetarchive/cli/ia_metadata.py
@@ -81,7 +81,6 @@ def modify_metadata(item: item.Item, metadata: Mapping, args: Mapping) -> Respon
sys.exit(1)
... | Remove the use of typing.cast() | jjjake_internetarchive | train |
839c6f4abd2ddc607bb7a171b45a956a7ee15dc2 | diff --git a/pandas/core/frame.py b/pandas/core/frame.py
index <HASH>..<HASH> 100644
--- a/pandas/core/frame.py
+++ b/pandas/core/frame.py
@@ -1116,36 +1116,45 @@ class DataFrame(NDFrame):
if buf is None: # pragma: no cover
buf = sys.stdout
- print >> buf, str(type(self))
- print ... | BUG: more encoding / unicode hacks related to #<I> | pandas-dev_pandas | train |
1801f725a4a7dbd374c0734bdbc749db3c460d8a | diff --git a/click_shell/core.py b/click_shell/core.py
index <HASH>..<HASH> 100644
--- a/click_shell/core.py
+++ b/click_shell/core.py
@@ -96,7 +96,7 @@ def get_complete(command):
args = args[1:]
# Then pass them on to the get_choices method that click uses for completion
- return list(get_ch... | Fix broken autocompletion with click <I>
Since pallets/click@6c<I>b get_choices returns a tuple of Arg/Opt-name and description.
This breaks autocomplete of readline.
This commit reverts this behaviour if get_choices returns a tuple. | clarkperkins_click-shell | train |
190ef981f8a32c495cb545bf8c8d162a2bb3af18 | diff --git a/inc/modules/export/xhtml/class-xhtml11.php b/inc/modules/export/xhtml/class-xhtml11.php
index <HASH>..<HASH> 100644
--- a/inc/modules/export/xhtml/class-xhtml11.php
+++ b/inc/modules/export/xhtml/class-xhtml11.php
@@ -1312,6 +1312,7 @@ class Xhtml11 extends ExportGenerator {
$part_index = 1;
$chapter... | Add new class to identify 2-level TOC | pressbooks_pressbooks | train |
33ff6a6f870fcaad6e073da9e94bf41bd51bc12e | diff --git a/src/main/java/com/couchbase/lite/support/CouchbaseLiteHttpClientFactory.java b/src/main/java/com/couchbase/lite/support/CouchbaseLiteHttpClientFactory.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/couchbase/lite/support/CouchbaseLiteHttpClientFactory.java
+++ b/src/main/java/com/couchbase/lite/s... | Issue #<I> - increase setSoTimeout to 5 minutes to allow larger attachments to upload successfully.
<URL> | couchbase_couchbase-lite-java-core | train |
4e823027b7dfbaac0a90b977b1fb50c6782cb283 | diff --git a/pyblish_qml/control.py b/pyblish_qml/control.py
index <HASH>..<HASH> 100644
--- a/pyblish_qml/control.py
+++ b/pyblish_qml/control.py
@@ -486,13 +486,13 @@ class Controller(QtCore.QObject):
for item in model.items:
if item.itemType == "instance" and sectionLabel == item.family:
- ... | Pass hidestate to model instead of assuming inversed state. | pyblish_pyblish-qml | train |
a73ceb9aea73bb28a1570936d90e62b74638d8a2 | diff --git a/redisson/src/main/java/org/redisson/RedissonLocalCachedMap.java b/redisson/src/main/java/org/redisson/RedissonLocalCachedMap.java
index <HASH>..<HASH> 100644
--- a/redisson/src/main/java/org/redisson/RedissonLocalCachedMap.java
+++ b/redisson/src/main/java/org/redisson/RedissonLocalCachedMap.java
@@ -151,1... | Fixed - NPE in RedissonLocalCachedMap during init with ReconnectionStrategy.LOAD param. #<I> | redisson_redisson | train |
fac02b58bc34bc941cd34c28b884bfe74a9e3ce5 | diff --git a/lib/devise.rb b/lib/devise.rb
index <HASH>..<HASH> 100644
--- a/lib/devise.rb
+++ b/lib/devise.rb
@@ -382,10 +382,13 @@ module Devise
# Include helpers in the given scope to AC and AV.
def self.include_helpers(scope)
- Rails.application.routes.url_helpers.send :include, scope::UrlHelpers
-
... | Another attempt to fix the misterious loading helpers bug. | plataformatec_devise | train |
1d3ce0b9a96847ae2d24fdb11465c92d72b6bf40 | diff --git a/src/Leevel/Database/Ddd/Select.php b/src/Leevel/Database/Ddd/Select.php
index <HASH>..<HASH> 100644
--- a/src/Leevel/Database/Ddd/Select.php
+++ b/src/Leevel/Database/Ddd/Select.php
@@ -564,7 +564,7 @@ class Select
$relation = $this->getRelation($name);
$relation->preLoadCondition($entity... | perf(database): improves ddd select performance | hunzhiwange_framework | train |
40e69f6cd6175a308da02279189a1a1a2c2c86e8 | diff --git a/pkg/deploy/controller/imagechange/controller.go b/pkg/deploy/controller/imagechange/controller.go
index <HASH>..<HASH> 100644
--- a/pkg/deploy/controller/imagechange/controller.go
+++ b/pkg/deploy/controller/imagechange/controller.go
@@ -5,6 +5,7 @@ import (
"github.com/golang/glog"
+ utilruntime "k8... | Avoid mutating the cached deployment config in image change controller
Will ensure we handle retries correctly. | openshift_origin | train |
c83c5b7d7cd895bfa5d6c57f5cba279701034480 | diff --git a/codec/src/main/java/io/netty/handler/codec/compression/JdkZlibDecoder.java b/codec/src/main/java/io/netty/handler/codec/compression/JdkZlibDecoder.java
index <HASH>..<HASH> 100644
--- a/codec/src/main/java/io/netty/handler/codec/compression/JdkZlibDecoder.java
+++ b/codec/src/main/java/io/netty/handler/cod... | JdkZlibDecoder may corrupt data when GZIP footer is fragmented (#<I>)
Motivation:
Due a bug in the statemachine we produced an decoding error when the GZIP footer was fragmented in some cases
Modifications:
- Fix statemachine
- Add testcase
Result:
Correctly decode GZIP in all cases | netty_netty | train |
c76410ba3a91ffe0e28204f0b462855573f9ec43 | diff --git a/OpenStreetMapViewer/src/main/java/org/osmdroid/samplefragments/tileproviders/MapsforgeTileProviderSample.java b/OpenStreetMapViewer/src/main/java/org/osmdroid/samplefragments/tileproviders/MapsforgeTileProviderSample.java
index <HASH>..<HASH> 100644
--- a/OpenStreetMapViewer/src/main/java/org/osmdroid/samp... | attempting to reenable forge ci tests | osmdroid_osmdroid | train |
bc9d718ea1e84b45e7d79cd1c3818cacc927bc82 | diff --git a/mousetrap.js b/mousetrap.js
index <HASH>..<HASH> 100644
--- a/mousetrap.js
+++ b/mousetrap.js
@@ -412,10 +412,10 @@
* @param {Event} e
* @returns void
*/
- function _fireCallback(callback, e, combo) {
+ function _fireCallback(callback, e, combo, sequence) {
// if this eve... | Pass sequence through to stopCallback. Fixes #<I>
This means we can tell if the combination is part of a sequence and
what sequence it is part of. | ccampbell_mousetrap | train |
0318dc341a132bc5b1e8e1a82575b0f41f225d74 | diff --git a/mapstructure_test.go b/mapstructure_test.go
index <HASH>..<HASH> 100644
--- a/mapstructure_test.go
+++ b/mapstructure_test.go
@@ -1513,6 +1513,7 @@ func TestDecodeTable(t *testing.T) {
"Vextra": "vextra",
"Vdata": []byte("data"),
"VjsonInt": 0,
+ "VjsonUint": uint(0),
... | resolve tests for json uint | mitchellh_mapstructure | train |
e3a04b0c303c8d05f6c9386429648e86cc933b37 | diff --git a/common/src/test/java/org/cloudfoundry/identity/uaa/oauth/approval/JdbcApprovalStoreTests.java b/common/src/test/java/org/cloudfoundry/identity/uaa/oauth/approval/JdbcApprovalStoreTests.java
index <HASH>..<HASH> 100644
--- a/common/src/test/java/org/cloudfoundry/identity/uaa/oauth/approval/JdbcApprovalStore... | Ignore these tests for now, they are causing problems | cloudfoundry_uaa | train |
5dc8ed065bc399f4b46c8c81f13f077f46aedada | diff --git a/clock.py b/clock.py
index <HASH>..<HASH> 100644
--- a/clock.py
+++ b/clock.py
@@ -6,10 +6,10 @@ import shapes
def main():
- size = int(min( graphics.console.WIDTH,
- graphics.console.WIDTH ) /3)
-
- screen = graphics.Canvas(size=(size, size), border=True)#, color=chr(rando... | Fixed some bugs to do with horizontal centering with a border. | olls_graphics | train |
eb2fc3b2ae7756cbc8f2600ae552fcd98260752c | diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/http/ReactorNettyClient.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/http/ReactorNettyClient.java
index <HASH>..<HASH> 100644
--- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/htt... | Fixed re-wrapping of ByteBuf when sending request body to reactor netty (#<I>) | Azure_azure-sdk-for-java | train |
875d4631fdf906226f5a1d52efba16439d45576d | diff --git a/middle.src.js b/middle.src.js
index <HASH>..<HASH> 100644
--- a/middle.src.js
+++ b/middle.src.js
@@ -24,7 +24,7 @@ function Middle(cb, ctx, init){
}
Middle.prototype.run = function () {
- new Runner(this._stack, this.callback, arguments);
+ return new Runner(this._stack, this.callback, arguments... | Middle can be used as method returning non primitive value, but only if you dont use middlewares :/ will solve this by MiddlePromise plugin | luckylooke_middle | train |
f9ed6a6a9d9e15064f06300e5a4cbe6f519067f6 | diff --git a/lib/core/util/data.rb b/lib/core/util/data.rb
index <HASH>..<HASH> 100644
--- a/lib/core/util/data.rb
+++ b/lib/core/util/data.rb
@@ -534,6 +534,8 @@ class Data
result = default
if data
case data
+ when TrueClass, FalseClass
+ result = data ? :true : :false
when Symbol
... | Fixing issue with symbolization of true and false values in the data utility class. | coralnexus_nucleon | train |
1f5c7f91863c7f3b8aeca3e09e5705230d8e512e | diff --git a/components/common/src/main/java/org/openengsb/core/common/xlink/XLinkUtils.java b/components/common/src/main/java/org/openengsb/core/common/xlink/XLinkUtils.java
index <HASH>..<HASH> 100644
--- a/components/common/src/main/java/org/openengsb/core/common/xlink/XLinkUtils.java
+++ b/components/common/src/mai... | [OPENENGSB-<I>] made DateFormat in Utils public
(cherry picked from commit <I>e<I>d2cfe<I>c<I>eae<I>a6aa<I>e<I>a) | openengsb_openengsb | train |
3ee1f3f8d78a15e7830d5200fe7d03edb7bccb43 | diff --git a/lib/ticket_evolution/core/collection.rb b/lib/ticket_evolution/core/collection.rb
index <HASH>..<HASH> 100644
--- a/lib/ticket_evolution/core/collection.rb
+++ b/lib/ticket_evolution/core/collection.rb
@@ -1,6 +1,6 @@
module TicketEvolution
class Collection
- attr_accessor :total_entries, :per_page,... | Proxy response code of collection API requests | ticketevolution_ticketevolution-ruby | train |
a5eedcf50a435444683340ed39e0e350fc9f28ef | diff --git a/src/GitHub_Updater/Base.php b/src/GitHub_Updater/Base.php
index <HASH>..<HASH> 100644
--- a/src/GitHub_Updater/Base.php
+++ b/src/GitHub_Updater/Base.php
@@ -568,27 +568,28 @@ class Base {
* @return array
*/
protected function get_updating_repos() {
- $updates = array();
- $request ... | $_REQUEST to $_GET as I think the error was
using esc_attr() | afragen_github-updater | train |
a0b4856f0c46a09ff80d0673b6ec4469238709ac | diff --git a/php/source/rosette/api/NameMatchingParameters.php b/php/source/rosette/api/NameMatchingParameters.php
index <HASH>..<HASH> 100644
--- a/php/source/rosette/api/NameMatchingParameters.php
+++ b/php/source/rosette/api/NameMatchingParameters.php
@@ -25,8 +25,8 @@ class NameMatchingParameters extends RosettePar... | Minor change to comment block to adhere to standards | rosette-api_java | train |
0273a043cec23c22ab88efe734e5507958a2ebaa | diff --git a/lib/nuggets/util/ansicolor2css.rb b/lib/nuggets/util/ansicolor2css.rb
index <HASH>..<HASH> 100644
--- a/lib/nuggets/util/ansicolor2css.rb
+++ b/lib/nuggets/util/ansicolor2css.rb
@@ -32,32 +32,57 @@ module Util
extend self
ATTRIBUTES = {
- '0' => nil, # clear
-... | lib/nuggets/util/ansicolor2css.rb: Added and updated attributes.
Some implementations are suboptimal, though... | blackwinter_nuggets | train |
3a844a379191239a108e489d4961f2dd46452272 | diff --git a/reformulation-core/src/main/java/it/unibz/krdb/obda/owlrefplatform/core/QuestConnection.java b/reformulation-core/src/main/java/it/unibz/krdb/obda/owlrefplatform/core/QuestConnection.java
index <HASH>..<HASH> 100644
--- a/reformulation-core/src/main/java/it/unibz/krdb/obda/owlrefplatform/core/QuestConnecti... | Fixed a HUGE bug introduced by MARIANO which COMPLETELY and
UNRECOVERABLY broke the system for multiple client query execution | ontop_ontop | train |
97c20ac7e93721c58dad098977beeb839bf267e8 | diff --git a/lib/fidgit/elements/label.rb b/lib/fidgit/elements/label.rb
index <HASH>..<HASH> 100644
--- a/lib/fidgit/elements/label.rb
+++ b/lib/fidgit/elements/label.rb
@@ -56,19 +56,20 @@ module Fidgit
def layout
if @icon
if @text.empty?
- rect.width = [@icon.width + padding_left + padd... | Corrected width of a label that contains both icon and text. | gosu_fidgit | train |
a82fefb301f98ff03316d41049694b73d7368e16 | diff --git a/src/escpos/constants.py b/src/escpos/constants.py
index <HASH>..<HASH> 100644
--- a/src/escpos/constants.py
+++ b/src/escpos/constants.py
@@ -47,6 +47,7 @@ HW_RESET = ESC + b'\x3f\x0a\x00' # Reset printer hardware
# Cash Drawer (ESC p <pin> <on time: 2*ms> <off time: 2*ms>)
_CASH_DRAWER = lambda m, ... | Add support for custom cash drawer kick sequence | python-escpos_python-escpos | train |
2bc240ae7417864b28a6ce336c035b9028cbf595 | diff --git a/pymatgen/io/gaussian.py b/pymatgen/io/gaussian.py
index <HASH>..<HASH> 100644
--- a/pymatgen/io/gaussian.py
+++ b/pymatgen/io/gaussian.py
@@ -502,7 +502,14 @@ class GaussianOutput(object):
.. attribute:: structures
- All structures from the calculation.
+ All structures from the calc... | Fix an issue if nosymm is used because in this case there is no standard orientation geometry in the output | materialsproject_pymatgen | train |
203b9a59d2be1622241c2e0eaa949a42dc0f99d8 | diff --git a/asv_bench/benchmarks/utils/data_shapes.py b/asv_bench/benchmarks/utils/data_shapes.py
index <HASH>..<HASH> 100644
--- a/asv_bench/benchmarks/utils/data_shapes.py
+++ b/asv_bench/benchmarks/utils/data_shapes.py
@@ -47,10 +47,10 @@ UNARY_OP_DATA_SIZE = {
}
SERIES_DATA_SIZE = {
"big": [
- (100_0... | FIX-#<I>: change type of series shape (#<I>) | modin-project_modin | train |
0f330564dc905695d8ba7dfa36082ee9bc267a34 | diff --git a/lib/dpl/provider/firebase.rb b/lib/dpl/provider/firebase.rb
index <HASH>..<HASH> 100644
--- a/lib/dpl/provider/firebase.rb
+++ b/lib/dpl/provider/firebase.rb
@@ -18,7 +18,7 @@ module DPL
def push_app
command = "firebase deploy --non-interactive"
command << " --project #{options[:pr... | Fix handling of message with spaces in Firebase provider | travis-ci_dpl | train |
d994b3ba22cd32fc2e751cc01f0c754c3b99ab17 | diff --git a/lib/engine.go b/lib/engine.go
index <HASH>..<HASH> 100644
--- a/lib/engine.go
+++ b/lib/engine.go
@@ -102,13 +102,28 @@ func NewEngine(r Runner, o Options) (*Engine, error) {
func (e *Engine) Run(ctx context.Context) error {
go e.runCollection(ctx)
+ lastTick := time.Time{}
+ ticker := time.NewTicker(... | [refactor/feat] Working time tracking in the Engine | loadimpact_k6 | train |
3d2c476cd4fccac7e1fa88462864b36ee5e9d6ca | diff --git a/rbd/rbd.go b/rbd/rbd.go
index <HASH>..<HASH> 100644
--- a/rbd/rbd.go
+++ b/rbd/rbd.go
@@ -160,13 +160,13 @@ func Create(ioctx *rados.IOContext, name string, size uint64, order int,
case 1:
return Create2(ioctx, name, size, args[0], order)
case 0:
- c_order := C.int(order)
- c_name := C.CString(nam... | rbd: naming conventions: fixes in Create, Create2, Create3 functions
Fix up variable names that don't meet Go standards. | ceph_go-ceph | train |
3b0a9f5f2204c909214841a632d8b520164167d3 | diff --git a/bin/scrape.js b/bin/scrape.js
index <HASH>..<HASH> 100644
--- a/bin/scrape.js
+++ b/bin/scrape.js
@@ -16,7 +16,9 @@ var getAirportAirlines = function(destinationsRaw) {
var airportName = cleanUrl(destination.airport.url);
if (result[airportName] !== undefined) {
- result[airportName]... | Airport Airlines is working, no duplicates | cristobal-io_aviation-json | train |
cdbcbe6c72fa3b78cee14d2cb5d9adf214b9c75d | diff --git a/examples/advanced.py b/examples/advanced.py
index <HASH>..<HASH> 100644
--- a/examples/advanced.py
+++ b/examples/advanced.py
@@ -33,11 +33,13 @@ class Config(object):
def job1(a, b):
print(str(a) + ' ' + str(b))
-app = Flask(__name__)
-app.config.from_object(Config())
-scheduler = APScheduler()
... | Add main check to avoid reloading the example file | viniciuschiele_flask-apscheduler | train |
f83bc49eeabd2009834f8b91f61611493b27fbac | diff --git a/admin_enhancer/__init__.py b/admin_enhancer/__init__.py
index <HASH>..<HASH> 100644
--- a/admin_enhancer/__init__.py
+++ b/admin_enhancer/__init__.py
@@ -1,2 +1 @@
-
-__version__ = (0, 1, 1)
\ No newline at end of file
+__version__ = (0, 1, 2) | Bumped version number to <I> | charettes_django-admin-enhancer | train |
d0bf004af1d9a27f7061c9cb8209b6597254dad6 | diff --git a/presto-tests/src/main/java/com/facebook/presto/tests/AbstractTestQueries.java b/presto-tests/src/main/java/com/facebook/presto/tests/AbstractTestQueries.java
index <HASH>..<HASH> 100644
--- a/presto-tests/src/main/java/com/facebook/presto/tests/AbstractTestQueries.java
+++ b/presto-tests/src/main/java/com/... | Rewrite the very slow test for join
This test took 4 minutes to run because it cross joins two tables, now it takes 1 second. | prestodb_presto | train |
728d69a7102fc174d4d7ef16eaf527e2601f0c69 | diff --git a/gtk_mock/mock.go b/gtk_mock/mock.go
index <HASH>..<HASH> 100644
--- a/gtk_mock/mock.go
+++ b/gtk_mock/mock.go
@@ -55,6 +55,10 @@ func (*Mock) CheckMenuItemNewWithMnemonic(label string) (gtki.CheckMenuItem, err
return nil, nil
}
+func (*Mock) CheckVersion(major, minor, micro uint) error {
+ return nil
... | Add support for getting GTK version information | coyim_gotk3adapter | train |
fa3dbe23b3210e9db5cd38b5d430393eea4324de | diff --git a/lib/toto.rb b/lib/toto.rb
index <HASH>..<HASH> 100644
--- a/lib/toto.rb
+++ b/lib/toto.rb
@@ -249,7 +249,7 @@ module Toto
sum = if self[:body] =~ config[:delim]
self[:body].split(config[:delim]).first
else
- self[:body].match(/(.{1,#{length || config[:length]}}.*?)(\n|\Z)/m).t... | support both :length and :max for summary length | cloudhead_toto | train |
84683734d88a4071c2302ea6869899402460ada6 | diff --git a/packages/aws-lambda/test/integration_test/test.js b/packages/aws-lambda/test/integration_test/test.js
index <HASH>..<HASH> 100644
--- a/packages/aws-lambda/test/integration_test/test.js
+++ b/packages/aws-lambda/test/integration_test/test.js
@@ -1030,6 +1030,34 @@ function registerTests(handlerDefinitionPa... | Added tests; added more dynamodb events | instana_nodejs-sensor | train |
f7a14e0180ce95ff970e3b13ea2e1da84e811f65 | diff --git a/Gelatin/generator/Dummy.py b/Gelatin/generator/Dummy.py
index <HASH>..<HASH> 100644
--- a/Gelatin/generator/Dummy.py
+++ b/Gelatin/generator/Dummy.py
@@ -34,6 +34,9 @@ class Dummy(Builder):
def add(self, path, data=None, replace=False):
pass
+ def add_attribute(self, path, name, value):
... | fix: dummy output generator did not support attributes | knipknap_Gelatin | train |
2abd8f2c42c180479ff01f3802161eef1cbf3797 | diff --git a/lib/middleware.js b/lib/middleware.js
index <HASH>..<HASH> 100644
--- a/lib/middleware.js
+++ b/lib/middleware.js
@@ -25,8 +25,13 @@ function authenticate(harvest) {
req.session = {
user: user
};
+ db.tokens.touch(token, function(err) {
+ if(err) retur... | Added token.touch() to make the session survive | shinuza_captain-core | train |
7ce754fbed0ddea90566951c31e8e71925a27441 | diff --git a/face/geomajas-face-pure-gwt/client-impl/src/main/java/org/geomajas/puregwt/client/service/CommandServiceImpl.java b/face/geomajas-face-pure-gwt/client-impl/src/main/java/org/geomajas/puregwt/client/service/CommandServiceImpl.java
index <HASH>..<HASH> 100644
--- a/face/geomajas-face-pure-gwt/client-impl/src... | PURE-<I>: Authentication token implementation added | geomajas_geomajas-project-server | train |
2b973945eb795fc6faba64b5be246f814c203b8a | diff --git a/spec/integration_spec.rb b/spec/integration_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/integration_spec.rb
+++ b/spec/integration_spec.rb
@@ -436,7 +436,7 @@ RSpec.describe Flipper do
context 'for enabled float percentage of time' do
before do
- # ensure percentage of time returns ... | Update spec text to match spec | jnunemaker_flipper | train |
01a41783cb2d4fd55d01e11fe698dc12aa9367a0 | diff --git a/modeltranslation/static/modeltranslation/js/tabbed_translation_fields.js b/modeltranslation/static/modeltranslation/js/tabbed_translation_fields.js
index <HASH>..<HASH> 100644
--- a/modeltranslation/static/modeltranslation/js/tabbed_translation_fields.js
+++ b/modeltranslation/static/modeltranslation/js/ta... | docs: Fix simple typo, splitable -> splittable
There is a small typo in modeltranslation/static/modeltranslation/js/tabbed_translation_fields.js, modeltranslation/utils.py.
Should read `splittable` rather than `splitable`. | deschler_django-modeltranslation | train |
921d87304f1582d4de341ca8b1259595c0ab8ef9 | diff --git a/pyrogram/sync.py b/pyrogram/sync.py
index <HASH>..<HASH> 100644
--- a/pyrogram/sync.py
+++ b/pyrogram/sync.py
@@ -30,8 +30,23 @@ def async_to_sync(obj, name):
function = getattr(obj, name)
main_loop = asyncio.get_event_loop()
- async def consume_generator(coroutine):
- return types.Li... | Do not consume async gens, turn them to gens instead | pyrogram_pyrogram | train |
f04f5d319bd9ef74adfd459409d0ee31433f2ecd | diff --git a/src/selectivity-multiple.js b/src/selectivity-multiple.js
index <HASH>..<HASH> 100644
--- a/src/selectivity-multiple.js
+++ b/src/selectivity-multiple.js
@@ -112,7 +112,8 @@ var callSuper = Selectivity.inherits(MultipleSelectivity, {
'keydown .selectivity-multiple-input': '_keyHeld',
'key... | Single-select displays open state | arendjr_selectivity | train |
fb2c9ea4b032779a8b4c55f235e215c422be0b87 | diff --git a/bosh-director/lib/bosh/director/deployment_plan/links_resolver.rb b/bosh-director/lib/bosh/director/deployment_plan/links_resolver.rb
index <HASH>..<HASH> 100644
--- a/bosh-director/lib/bosh/director/deployment_plan/links_resolver.rb
+++ b/bosh-director/lib/bosh/director/deployment_plan/links_resolver.rb
@... | Use current deployment if deployment is not specified | cloudfoundry_bosh | train |
bc3585cc682d85a3a3318f8b1ff1533b050e24c8 | diff --git a/examples/webpack/webpack.config.js b/examples/webpack/webpack.config.js
index <HASH>..<HASH> 100644
--- a/examples/webpack/webpack.config.js
+++ b/examples/webpack/webpack.config.js
@@ -20,9 +20,12 @@ module.exports = {
},
plugins: [
new PerspectivePlugin({
+ wasmLoaderOptions... | update example to use wasmLoaderOptions as well | finos_perspective | train |
9ff75267f15373d39110801300016d3eac4f042e | diff --git a/ella/photos/models.py b/ella/photos/models.py
index <HASH>..<HASH> 100644
--- a/ella/photos/models.py
+++ b/ella/photos/models.py
@@ -166,7 +166,7 @@ class Photo(models.Model):
# rename image by slug
imageType = detect_img_type(self.image.path)
if imageType is not None:
- ... | image name encoded to utf-8 befor moving on FS | ella_ella | train |
145f2a2456efe0d0016da42157eb21a5cd1c615a | diff --git a/js/ChannelList.js b/js/ChannelList.js
index <HASH>..<HASH> 100644
--- a/js/ChannelList.js
+++ b/js/ChannelList.js
@@ -64,11 +64,17 @@
}
textElem = document.createElement('span');
- textElem.appendChild(document.createTextNode(text));
- textElem.onclick = fu... | Made clickable things in widgets more apparent | nodeGame_ultimatum-game | train |
1aee8c7e57b37e9cc5e3bc96d6e0bae90ce8d69f | diff --git a/grade/export/txt/grade_export_txt.php b/grade/export/txt/grade_export_txt.php
index <HASH>..<HASH> 100755
--- a/grade/export/txt/grade_export_txt.php
+++ b/grade/export/txt/grade_export_txt.php
@@ -65,9 +65,15 @@ class grade_export_txt extends grade_export {
}
/// Print header to force ... | MDL-<I> fixed https issue in IE | moodle_moodle | train |
c1eb213da28cd031fb0d8148d79152dedece5031 | diff --git a/programs/histplot.py b/programs/histplot.py
index <HASH>..<HASH> 100755
--- a/programs/histplot.py
+++ b/programs/histplot.py
@@ -24,6 +24,7 @@ def main():
-sav save figure and quit
-F output file name, default is hist.fmt
-N don't normalize
+ -twin plot both normalized and un... | modified: ../programs/histplot.py => added -twin option | PmagPy_PmagPy | train |
3ccbc479da5812d91fa09befe80279ec3cd1ee1f | diff --git a/src/Symfony/Component/Filesystem/Filesystem.php b/src/Symfony/Component/Filesystem/Filesystem.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/Filesystem/Filesystem.php
+++ b/src/Symfony/Component/Filesystem/Filesystem.php
@@ -276,6 +276,13 @@ class Filesystem
}
if (true !== ... | [Filesystem] added workaround in Filesystem::rename for PHP bug | symfony_symfony | train |
304a70a9644b311d58b4e4ea1a1683c55966d205 | diff --git a/lib/sockets/sock.js b/lib/sockets/sock.js
index <HASH>..<HASH> 100644
--- a/lib/sockets/sock.js
+++ b/lib/sockets/sock.js
@@ -293,7 +293,7 @@ Socket.prototype.connect = function(port, host, fn){
sock.setNoDelay();
this.type = 'client';
port = port;
- host = host || '127.0.0.1';
+ host = host || ... | change Socket#connect() to use inaddr_any as well | orangemi_axon | train |
679ca992b72ebf26f13e66601d3ff54ea3a70bf5 | diff --git a/src/StreamWrappers/Http.php b/src/StreamWrappers/Http.php
index <HASH>..<HASH> 100644
--- a/src/StreamWrappers/Http.php
+++ b/src/StreamWrappers/Http.php
@@ -117,7 +117,14 @@ class Http implements \ArrayAccess, \Countable
}
else if ( $this->resourceType === self::RESOURCE_TYPE_SOCKET )
{
- \sock... | Fix errors thrown from socket shutdown on some systems. | b01_interception | train |
5b4dbb8857817af68ab591bd5ca31e5936fdb760 | diff --git a/src/Statement.php b/src/Statement.php
index <HASH>..<HASH> 100644
--- a/src/Statement.php
+++ b/src/Statement.php
@@ -176,7 +176,7 @@ class Statement extends \PDOStatement implements \IteratorAggregate
}
}
}
- } catch (\PDOException $e)
+ } c... | Fixed typo on one of the latest pull requests.
I need to *always* run the tests even with a small and simple pull
request! That one was missing a '{' and made some things exploded. | taq_pdooci | train |
539ae49f6223794230226b1bbf76ba85fc31c1d8 | diff --git a/src/Symfony/Bundle/AsseticBundle/Tests/Command/DumpCommandTest.php b/src/Symfony/Bundle/AsseticBundle/Tests/Command/DumpCommandTest.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Bundle/AsseticBundle/Tests/Command/DumpCommandTest.php
+++ b/src/Symfony/Bundle/AsseticBundle/Tests/Command/DumpCommandTest.p... | [AsseticBundle] added a test of dumping in debug mode | symfony_symfony | train |
ef8ccc188c5f20f566a9defe186690796ec6e874 | diff --git a/lib/rango/version.rb b/lib/rango/version.rb
index <HASH>..<HASH> 100644
--- a/lib/rango/version.rb
+++ b/lib/rango/version.rb
@@ -3,5 +3,5 @@
# NOTE: Do not edit this file manually, this
# file is regenerated by task rake version:increase
module Rango
- VERSION ||= "0.1.1.3"
+ VERSION ||= "0.2"
end | Increased version to <I> | botanicus_rango | train |
9f6cb80def5627bb263603e9e214e177d92c6af2 | diff --git a/credstash.py b/credstash.py
index <HASH>..<HASH> 100755
--- a/credstash.py
+++ b/credstash.py
@@ -188,7 +188,7 @@ def value_or_filename(string):
def csv_dump(dictionary):
csvfile = StringIO()
- csvwriter = csv.writer(csvfile)
+ csvwriter = csv.writer(csvfile, lineterminator=os.linesep)
f... | Resolves #<I>: Adds os-specific newline characters
I'm not sure how to test this in a cross-platform manner. Is it possible
to change which operating system a python script thinks it's running in? | fugue_credstash | train |
43b34ef478940afaf6ee46c9764364b8cb869e9f | diff --git a/src/BaseGateway.php b/src/BaseGateway.php
index <HASH>..<HASH> 100644
--- a/src/BaseGateway.php
+++ b/src/BaseGateway.php
@@ -223,6 +223,14 @@ abstract class BaseGateway extends Component implements GatewayInterface
}
/**
+ * An array store all request commands supported in gateway [[reques... | Add cache for process method `requestCommands`. | vuongxuongminh_yii2-gateway-clients | train |
6fda63bdf9b4f8360f8c07809948e8c7670bc647 | diff --git a/mailyak.go b/mailyak.go
index <HASH>..<HASH> 100644
--- a/mailyak.go
+++ b/mailyak.go
@@ -33,6 +33,9 @@ type MailYak struct {
date string
}
+// Email Date timestamp format
+const mailDateFormat = time.RFC1123Z
+
// New returns an instance of MailYak using host as the SMTP server, and
// au... | Update 'Date' timestamp before sending email (#<I>)
As discussed in
<URL> leads to stale timestamps.
With this patch, the timestamp is automatically updated in Send() and
MimeBuf() methods. It also adds a testcase for this scenario. | domodwyer_mailyak | train |
94af02c173c851d9c94edf91145b22daa57898d0 | diff --git a/score-facade/src/main/java/com/hp/oo/internal/sdk/execution/ExecutionConstants.java b/score-facade/src/main/java/com/hp/oo/internal/sdk/execution/ExecutionConstants.java
index <HASH>..<HASH> 100644
--- a/score-facade/src/main/java/com/hp/oo/internal/sdk/execution/ExecutionConstants.java
+++ b/score-facade/... | Adding execution constant for non-required inputs behavior. | CloudSlang_score | train |
1a32f0e24e5919ca55399bc99d470427ca5b9421 | diff --git a/sacred/initialize.py b/sacred/initialize.py
index <HASH>..<HASH> 100755
--- a/sacred/initialize.py
+++ b/sacred/initialize.py
@@ -154,7 +154,8 @@ class Scaffold(object):
for cfunc in self._captured_functions:
cfunc.logger = self.logger.getChild(cfunc.__name__)
- cfunc.con... | consider nonexisting prefixes to be empty dicts instead of None
fixes #<I> | IDSIA_sacred | train |
3035c483b151fc94607074617ec27080de6d3a70 | diff --git a/utils.py b/utils.py
index <HASH>..<HASH> 100644
--- a/utils.py
+++ b/utils.py
@@ -53,7 +53,7 @@ def create_objects(path_to_file):
def get_workflow_definition(name):
- from invenio.bibworkflow_load_workflows import workflows
+ from invenio.modules.workflows.loader import workflows
if name in... | workflows: fix broken import
NOTE: beware, patch amended by Tibor to use new file names | inveniosoftware-contrib_invenio-workflows | train |
a2ba01bbf455f966fc8621bd0bfc1ceddf588cd5 | diff --git a/shinken/modules/dummy_broker.py b/shinken/modules/dummy_broker.py
index <HASH>..<HASH> 100644
--- a/shinken/modules/dummy_broker.py
+++ b/shinken/modules/dummy_broker.py
@@ -37,7 +37,7 @@ properties = {
# called by the plugin manager to get a broker
def get_instance(mod_conf):
print "Get a Dummy bro... | fix : the dummy_broker module was not calling a valid __init__. | Alignak-monitoring_alignak | train |
0ef3043448705152376eac8ab7c32f5381babc1a | diff --git a/insights/specs/sos_archive.py b/insights/specs/sos_archive.py
index <HASH>..<HASH> 100644
--- a/insights/specs/sos_archive.py
+++ b/insights/specs/sos_archive.py
@@ -33,6 +33,8 @@ class SosSpecs(Specs):
ethtool_i = glob_file("sos_commands/networking/ethtool_-i_*")
ethtool_k = glob_file("sos_comma... | Add foreman_production_log spec to sos_archive.py (#<I>) | RedHatInsights_insights-core | train |
ff6e3aca5ad5cac1062eef47b9727c45161a3e38 | diff --git a/publicsuffix/publicsuffix_test.go b/publicsuffix/publicsuffix_test.go
index <HASH>..<HASH> 100644
--- a/publicsuffix/publicsuffix_test.go
+++ b/publicsuffix/publicsuffix_test.go
@@ -162,7 +162,7 @@ func TestNewListFromFile(t *testing.T) {
}
func TestListAddRule(t *testing.T) {
- list := &List{}
+ list ... | Replace direct use of &List{} with NewList()
NewList performs all the necessary setup. In the future, NewList may not
be a simple &List{} but it may require to setup the internal structure. | weppos_publicsuffix-go | train |
22f0d97fb7f39cb654fe46d3fc3c7dc60a06b2a1 | diff --git a/filer/tests/models.py b/filer/tests/models.py
index <HASH>..<HASH> 100644
--- a/filer/tests/models.py
+++ b/filer/tests/models.py
@@ -150,8 +150,7 @@ class FilerApiTests(TestCase):
self.assertEqual(len(image.icons), len(filer_settings.FILER_ADMIN_ICON_SIZES))
def test_deleting_files(self):
... | Actually reorder unstable pseudo test cases in the combination test case | divio_django-filer | train |
c5032ce896fb43744635a2a83a5c996edcd5271f | diff --git a/papermill/iorw.py b/papermill/iorw.py
index <HASH>..<HASH> 100644
--- a/papermill/iorw.py
+++ b/papermill/iorw.py
@@ -59,7 +59,7 @@ class PapermillIO(object):
class HttpHandler(object):
@classmethod
def read(cls, path):
- return requests.get(path).text
+ return requests.get(path, h... | Added Accept: application/json header to iorw.HttpHandler.read | nteract_papermill | train |
ef964473425a41fb8ab8e2cc56fe20b82eb6b131 | diff --git a/lib/health-data-standards/import/green_c32/section_importer.rb b/lib/health-data-standards/import/green_c32/section_importer.rb
index <HASH>..<HASH> 100644
--- a/lib/health-data-standards/import/green_c32/section_importer.rb
+++ b/lib/health-data-standards/import/green_c32/section_importer.rb
@@ -71,7 +71,... | Making gc<I> importer convert times to utc | projecttacoma_cqm-parsers | train |
eec1ca6e27ecc6e67aafc371de37cf2d27fb68d0 | diff --git a/socketio/__init__.py b/socketio/__init__.py
index <HASH>..<HASH> 100644
--- a/socketio/__init__.py
+++ b/socketio/__init__.py
@@ -1,4 +1,4 @@
-__version__ = (0, 3, 1)
+__version__ = (0, 3, 5)
import logging
import gevent | bumped to the same version we have in setup.py | abourget_gevent-socketio | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.